Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 103.7 kB / 16.27 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 184.4 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7528/0.7528, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 59.89 kB / 0.4912 GB, free: 7.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3221, allocations: 77.93 MB / 0.5673 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside): time 0.2141/0.5363, allocations: 176.5 MB / 0.7396 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3194/0.8558, allocations: 10.89 MB / 0.7503 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009357/0.8567, allocations: 30.34 kB / 0.7503 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009339/0.8577, allocations: 421 kB / 0.7507 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002357/0.8601, allocations: 1.094 MB / 0.7518 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003554/0.8637, allocations: 1.7 MB / 0.7534 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002423/0.8661, allocations: 2.374 MB / 0.7558 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001994/0.8681, allocations: 1.403 MB / 0.7571 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003232/0.8714, allocations: 1.256 MB / 0.7584 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/0.8724, allocations: 0.8105 MB / 0.7591 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002808/0.8727, allocations: 154.6 kB / 0.7593 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003397/0.8761, allocations: 1.381 MB / 0.7606 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005959/0.8767, allocations: 454.2 kB / 0.7611 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009025/0.8776, allocations: 0.7838 MB / 0.7618 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003572/0.8812, allocations: 2.537 MB / 0.7643 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.8812, allocations: 0 / 0.7643 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8812, allocations: 0.9062 kB / 0.7643 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.239e-05/0.8812, allocations: 0.9688 kB / 0.7643 GB, free: 1.461 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.00317/0.8844, allocations: 1.89 MB / 0.7662 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.8845, allocations: 12.81 kB / 0.7662 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001707/0.8846, allocations: 178.9 kB / 0.7664 GB, free: 16.47 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002068/0.8867, allocations: 352.1 kB / 0.7667 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.888, allocations: 0.9504 MB / 0.7676 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.236e-05/0.8881, allocations: 86.77 kB / 0.7677 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/0.8883, allocations: 119.4 kB / 0.7678 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002075/0.8904, allocations: 1.299 MB / 0.7691 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.8904, allocations: 5.125 kB / 0.7691 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.8905, allocations: 51.59 kB / 0.7691 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.789e-05/0.8905, allocations: 27.31 kB / 0.7692 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002396/0.8929, allocations: 1.447 MB / 0.7706 GB, free: 15.84 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005337/0.8983, allocations: 4.067 MB / 0.7745 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00194/0.9002, allocations: 1.213 MB / 0.7757 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006765/0.9009, allocations: 453.7 kB / 0.7762 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007076/0.9017, allocations: 428.9 kB / 0.7766 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009835/0.9027, allocations: 0.6613 MB / 0.7772 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=106): time 2.535e-06/0.9027, allocations: 1.031 kB / 0.7772 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of matching and sorting (n=106): time 0.003745/0.9064, allocations: 1.603 MB / 0.7788 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.9065, allocations: 199 kB / 0.779 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009925/0.9075, allocations: 0.8816 MB / 0.7798 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.428e-05/0.9076, allocations: 50.8 kB / 0.7799 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003614/0.908, allocations: 0.5152 MB / 0.7804 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000258/0.9083, allocations: 348.1 kB / 0.7807 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002783/0.9086, allocations: 191.2 kB / 0.7809 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.9087, allocations: 346.8 kB / 0.7812 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006333/0.9093, allocations: 362.4 kB / 0.7816 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007905/0.9101, allocations: 0.5 MB / 0.7821 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001438/0.9116, allocations: 0.8448 MB / 0.7829 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.9116, allocations: 0 / 0.7829 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002326/0.9139, allocations: 1.123 MB / 0.784 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/0.914, allocations: 4.844 kB / 0.784 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.914, allocations: 6.844 kB / 0.784 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005748/0.9146, allocations: 88.91 kB / 0.7841 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008907/0.9155, allocations: 226.8 kB / 0.7843 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002016/0.9175, allocations: 1.655 MB / 0.7859 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009017/0.9184, allocations: 125.1 kB / 0.786 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.934e-05/0.9185, allocations: 40.2 kB / 0.7861 GB, free: 10.64 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004245/0.9189, allocations: 323.5 kB / 0.7864 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002009/0.9191, allocations: 115.6 kB / 0.7865 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002795/0.922, allocations: 1.511 MB / 0.788 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.922, allocations: 11.94 kB / 0.788 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.922, allocations: 0 / 0.788 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.922, allocations: 10.61 kB / 0.788 GB, free: 10.31 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004307/0.9263, allocations: 2.842 MB / 0.7908 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.9264, allocations: 2.781 kB / 0.7908 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008381/0.9272, allocations: 198.1 kB / 0.791 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004389/0.9277, allocations: 85.88 kB / 0.791 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.137e-05/0.9277, allocations: 34.86 kB / 0.7911 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001874/0.9296, allocations: 1.667 MB / 0.7927 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.9296, allocations: 4.906 kB / 0.7927 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003425/0.9331, allocations: 1.859 MB / 0.7945 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005835/0.9337, allocations: 348.6 kB / 0.7949 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/0.9339, allocations: 28.75 kB / 0.7949 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000888/0.9347, allocations: 74.91 kB / 0.795 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.9349, allocations: 93.06 kB / 0.795 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.387e-05/0.935, allocations: 48.94 kB / 0.7951 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008517/0.9359, allocations: 0.6283 MB / 0.7957 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9359, allocations: 2.719 kB / 0.7957 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001201/0.9371, allocations: 456.5 kB / 0.7961 GB, free: 7.695 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00578/0.9429, allocations: 3.016 MB / 0.7991 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003199/0.9461, allocations: 1.339 MB / 0.8004 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.9461, allocations: 2.031 kB / 0.8004 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001237/0.9474, allocations: 0.6628 MB / 0.801 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/0.9498, allocations: 0.5152 MB / 0.8015 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01426/0.964, allocations: 9.303 MB / 0.8106 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009681/0.965, allocations: 1.163 MB / 0.8118 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001502/0.9665, allocations: 362.2 kB / 0.8121 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007075/0.9673, allocations: 0.535 MB / 0.8126 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of SimCode: time 1.343e-06/0.9673, allocations: 0 / 0.8126 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06511/1.032, allocations: 32.85 MB / 0.8447 GB, free: 3.941 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.75, allocations: 6.281 kB / 0.8447 GB, free: 3.938 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside.pipe 2>&1)