Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.MassFlowSource_WeatherData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData",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.001842/0.001842, allocations: 109.2 kB / 16.41 MB, free: 6.461 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.002097/0.002097, allocations: 193.3 kB / 17.34 MB, free: 5.715 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8183/0.8183, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 64.78 kB / 0.5735 GB, free: 27.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1287, allocations: 78.87 MB / 0.6505 GB, free: 3.602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.472/0.6007, allocations: 176.8 MB / 0.8232 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01698/0.6177, allocations: 12.83 MB / 0.8357 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.619, allocations: 31.72 kB / 0.8358 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001303/0.6203, allocations: 471.1 kB / 0.8362 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002968/0.6233, allocations: 1.024 MB / 0.8372 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004438/0.6277, allocations: 1.861 MB / 0.839 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003062/0.6308, allocations: 2.537 MB / 0.8415 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0021/0.6329, allocations: 1.597 MB / 0.8431 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004043/0.637, allocations: 1.554 MB / 0.8446 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001082/0.6381, allocations: 0.8691 MB / 0.8454 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001934/0.6383, allocations: 170.2 kB / 0.8456 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002533/0.6408, allocations: 1.429 MB / 0.847 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004446/0.6413, allocations: 494.2 kB / 0.8475 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000837/0.6421, allocations: 0.8841 MB / 0.8483 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003398/0.6455, allocations: 2.811 MB / 0.8511 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.6455, allocations: 0 / 0.8511 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6456, allocations: 2.688 kB / 0.8511 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.938e-05/0.6456, allocations: 0 / 0.8511 GB, free: 4.941 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.003374/0.649, allocations: 2.086 MB / 0.8531 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.649, allocations: 11.44 kB / 0.8531 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002532/0.6493, allocations: 201.8 kB / 0.8533 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002566/0.6518, allocations: 420.1 kB / 0.8537 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/0.6534, allocations: 1.032 MB / 0.8547 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-05/0.6535, allocations: 102.7 kB / 0.8548 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001853/0.6537, allocations: 135.9 kB / 0.8549 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00271/0.6564, allocations: 1.517 MB / 0.8564 GB, free: 240 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.184e-05/0.6565, allocations: 3.938 kB / 0.8564 GB, free: 236 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001384/0.6566, allocations: 60 kB / 0.8565 GB, free: 176 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.027e-05/0.6567, allocations: 36 kB / 0.8565 GB, free: 140 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002963/0.6596, allocations: 1.587 MB / 0.8581 GB, free: 14.54 MB / 0.6231 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.008261/0.6679, allocations: 5.416 MB / 0.8634 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002944/0.6709, allocations: 1.527 MB / 0.8648 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009501/0.6718, allocations: 480.1 kB / 0.8653 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000826/0.6727, allocations: 429.3 kB / 0.8657 GB, free: 6.211 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00144/0.6741, allocations: 0.688 MB / 0.8664 GB, free: 5.504 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=107): time 2.916e-06/0.6741, allocations: 0 / 0.8664 GB, free: 5.504 MB / 0.6231 GB Notification: Performance of matching and sorting (n=107): time 0.004762/0.6789, allocations: 1.669 MB / 0.868 GB, free: 3.809 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/0.6791, allocations: 196.9 kB / 0.8682 GB, free: 3.574 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.6804, allocations: 0.8883 MB / 0.8691 GB, free: 2.664 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001092/0.6805, allocations: 49.7 kB / 0.8691 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005756/0.6811, allocations: 0.6103 MB / 0.8697 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003448/0.6814, allocations: 368.8 kB / 0.8701 GB, free: 1.629 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003463/0.6818, allocations: 198.5 kB / 0.8703 GB, free: 1.43 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.6819, allocations: 345.9 kB / 0.8706 GB, free: 1.086 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008428/0.6828, allocations: 377.8 kB / 0.8709 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.6839, allocations: 0.5593 MB / 0.8715 GB, free: 92 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00191/0.6858, allocations: 0.9332 MB / 0.8724 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.6858, allocations: 3.938 kB / 0.8724 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002897/0.6887, allocations: 1.197 MB / 0.8736 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.6887, allocations: 8.031 kB / 0.8736 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.6887, allocations: 4 kB / 0.8736 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006839/0.6894, allocations: 92.7 kB / 0.8737 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.6906, allocations: 243.6 kB / 0.8739 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/0.6929, allocations: 1.652 MB / 0.8755 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.6939, allocations: 131.2 kB / 0.8756 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.333e-05/0.694, allocations: 43.97 kB / 0.8757 GB, free: 11.6 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (123): * Single equations (assignments): 122 * 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.0006319/0.6947, allocations: 345.5 kB / 0.876 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002471/0.6949, allocations: 127.2 kB / 0.8761 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003419/0.6984, allocations: 1.429 MB / 0.8775 GB, free: 9.684 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/0.6984, allocations: 12 kB / 0.8775 GB, free: 9.672 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.6984, allocations: 3.938 kB / 0.8776 GB, free: 9.668 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.6984, allocations: 3.984 kB / 0.8776 GB, free: 9.664 MB / 0.6387 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.005151/0.7036, allocations: 2.884 MB / 0.8804 GB, free: 6.695 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.7036, allocations: 0 / 0.8804 GB, free: 6.695 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.7047, allocations: 223.6 kB / 0.8806 GB, free: 6.477 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004937/0.7052, allocations: 76.78 kB / 0.8807 GB, free: 6.398 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.183e-05/0.7053, allocations: 31.97 kB / 0.8807 GB, free: 6.367 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002162/0.7074, allocations: 1.67 MB / 0.8823 GB, free: 4.551 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/0.7074, allocations: 8.016 kB / 0.8823 GB, free: 4.543 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002991/0.7104, allocations: 1.319 MB / 0.8836 GB, free: 3.207 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005879/0.711, allocations: 367.8 kB / 0.884 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001832/0.7112, allocations: 47.75 kB / 0.884 GB, free: 2.781 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009565/0.7122, allocations: 72.86 kB / 0.8841 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/0.7124, allocations: 84.88 kB / 0.8842 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/0.7125, allocations: 47.97 kB / 0.8842 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009416/0.7135, allocations: 0.6267 MB / 0.8848 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7135, allocations: 0 / 0.8848 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001278/0.7148, allocations: 494.8 kB / 0.8853 GB, free: 1.461 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (118): * Single equations (assignments): 112 * 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.005372/0.7201, allocations: 2.484 MB / 0.8877 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002513/0.7227, allocations: 1.121 MB / 0.8888 GB, free: 14 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.7227, allocations: 0 / 0.8888 GB, free: 14 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001382/0.7241, allocations: 0.6798 MB / 0.8895 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002333/0.7264, allocations: 0.5354 MB / 0.89 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01568/0.7421, allocations: 8.93 MB / 0.8987 GB, free: 3.664 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009668/0.7431, allocations: 1.213 MB / 0.8999 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001345/0.7445, allocations: 382 kB / 0.9003 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009149/0.7454, allocations: 0.5773 MB / 0.9008 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of SimCode: time 5.31e-07/0.7454, allocations: 3.938 kB / 0.9008 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07616/0.8216, allocations: 33.98 MB / 0.934 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.05/14.87, allocations: 10.47 kB / 0.934 GB, free: 15.88 MB / 0.7012 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)