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.001247/0.001247, allocations: 97.36 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002206/0.002206, allocations: 179.6 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.321/2.321, allocations: 223.2 MB / 240.5 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.068/1.068, allocations: 113.7 MB / 405.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004237/0.0004237, allocations: 8 kB / 493 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2756, allocations: 77.12 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 1.037/1.313, allocations: 147.1 MB / 0.7004 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02806/1.341, allocations: 10.74 MB / 0.7109 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002573/1.343, allocations: 27.81 kB / 0.7109 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002144/1.346, allocations: 282.3 kB / 0.7112 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007266/1.353, allocations: 0.8129 MB / 0.712 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.009777/1.363, allocations: 1.238 MB / 0.7132 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005567/1.368, allocations: 1.435 MB / 0.7146 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004275/1.373, allocations: 1.201 MB / 0.7158 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005743/1.379, allocations: 1.121 MB / 0.7169 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002154/1.381, allocations: 0.5559 MB / 0.7174 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004076/1.381, allocations: 44 kB / 0.7174 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00387/1.385, allocations: 0.7372 MB / 0.7182 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000636/1.386, allocations: 326.8 kB / 0.7185 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008315/1.387, allocations: 304.8 kB / 0.7188 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004385/1.391, allocations: 1.853 MB / 0.7206 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/1.391, allocations: 0 / 0.7206 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.048e-06/1.391, allocations: 0 / 0.7206 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.188e-05/1.391, allocations: 0 / 0.7206 GB, free: 2.316 MB / 0.5294 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.005391/1.397, allocations: 1.679 MB / 0.7222 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 7.089e-05/1.397, allocations: 15.97 kB / 0.7222 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000471/1.397, allocations: 202.7 kB / 0.7224 GB, free: 360 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004193/1.401, allocations: 413.8 kB / 0.7228 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003287/1.405, allocations: 0.9535 MB / 0.7237 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001457/1.405, allocations: 110.7 kB / 0.7238 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002951/1.405, allocations: 136 kB / 0.724 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004299/1.409, allocations: 1.493 MB / 0.7254 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.39e-05/1.41, allocations: 7.719 kB / 0.7254 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002156/1.41, allocations: 64 kB / 0.7255 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.901e-05/1.41, allocations: 32 kB / 0.7255 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004307/1.414, allocations: 1.583 MB / 0.7271 GB, free: 11.45 MB / 0.545 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.01287/1.427, allocations: 5.087 MB / 0.732 GB, free: 6.094 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003998/1.431, allocations: 1.4 MB / 0.7334 GB, free: 4.652 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008136/1.432, allocations: 263.1 kB / 0.7337 GB, free: 4.359 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001813/1.434, allocations: 0.688 MB / 0.7343 GB, free: 3.656 MB / 0.545 GB Notification: Performance of pre-optimization done (n=107): time 4.508e-06/1.434, allocations: 0 / 0.7343 GB, free: 3.656 MB / 0.545 GB Notification: Performance of matching and sorting (n=107): time 0.00641/1.44, allocations: 1.665 MB / 0.736 GB, free: 1.965 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000224/1.441, allocations: 200.9 kB / 0.7362 GB, free: 1.723 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002155/1.443, allocations: 0.8805 MB / 0.737 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002783/1.443, allocations: 41.7 kB / 0.7371 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001084/1.444, allocations: 0.6052 MB / 0.7376 GB, free: 164 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007279/1.445, allocations: 347.1 kB / 0.738 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.187e-05/1.445, allocations: 23.94 kB / 0.738 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002617/1.445, allocations: 341.9 kB / 0.7383 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/1.447, allocations: 377.8 kB / 0.7387 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/1.448, allocations: 0.5593 MB / 0.7392 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/1.449, allocations: 442.8 kB / 0.7397 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/1.449, allocations: 0 / 0.7397 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004253/1.454, allocations: 1.18 MB / 0.7408 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.515e-05/1.454, allocations: 9.5 kB / 0.7408 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/1.454, allocations: 4 kB / 0.7408 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008638/1.455, allocations: 89.11 kB / 0.7409 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001681/1.456, allocations: 247.7 kB / 0.7411 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003225/1.46, allocations: 1.559 MB / 0.7427 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002125/1.462, allocations: 157.8 kB / 0.7428 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001804/1.462, allocations: 43.97 kB / 0.7429 GB, free: 10.6 MB / 0.5606 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001306/1.463, allocations: 346.2 kB / 0.7432 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004952/1.464, allocations: 126.5 kB / 0.7433 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004849/1.469, allocations: 1.433 MB / 0.7447 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.529e-05/1.469, allocations: 12 kB / 0.7447 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/1.469, allocations: 4 kB / 0.7447 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.199e-05/1.469, allocations: 7.969 kB / 0.7447 GB, free: 8.664 MB / 0.5606 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.008554/1.477, allocations: 2.914 MB / 0.7476 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.537e-05/1.477, allocations: 0 / 0.7476 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001613/1.479, allocations: 223.7 kB / 0.7478 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005832/1.48, allocations: 88.91 kB / 0.7479 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.678e-05/1.48, allocations: 31.97 kB / 0.7479 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002624/1.482, allocations: 1.583 MB / 0.7495 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.482, allocations: 0 / 0.7495 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003874/1.486, allocations: 1.406 MB / 0.7508 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0012/1.488, allocations: 371.1 kB / 0.7512 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002034/1.488, allocations: 31.92 kB / 0.7512 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/1.489, allocations: 119.5 kB / 0.7513 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000233/1.489, allocations: 88.88 kB / 0.7514 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/1.489, allocations: 55.95 kB / 0.7515 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001045/1.49, allocations: 0.6072 MB / 0.7521 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/1.49, allocations: 4 kB / 0.7521 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001665/1.492, allocations: 470.8 kB / 0.7525 GB, free: 388 kB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005538/1.498, allocations: 2.824 MB / 0.7553 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003022/1.501, allocations: 1.109 MB / 0.7563 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.4e-05/1.501, allocations: 4 kB / 0.7564 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00191/1.503, allocations: 0.6916 MB / 0.757 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00292/1.506, allocations: 456.6 kB / 0.7575 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03154/1.537, allocations: 9.497 MB / 0.7667 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00133/1.539, allocations: 1.236 MB / 0.7679 GB, free: 340 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002961/1.542, allocations: 381.9 kB / 0.7683 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001317/1.543, allocations: 0.5617 MB / 0.7689 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of SimCode: time 1.543e-06/1.543, allocations: 0 / 0.7689 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1248/1.668, allocations: 33.13 MB / 0.8012 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004182/1.668, allocations: 266.3 kB / 0.8015 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.115/6.783, allocations: 4 kB / 0.8015 GB, free: 14.4 MB / 0.6231 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) Environment - environmentSimulation: