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.001583/0.001583, allocations: 107.3 kB / 16.4 MB, free: 6.508 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.001597/0.001597, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7658/0.7658, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 65.81 kB / 0.5572 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.174, allocations: 76.18 MB / 0.6316 GB, free: 4.902 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside): time 0.5668/0.7407, allocations: 176.5 MB / 0.8039 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01297/0.7538, allocations: 10.9 MB / 0.8146 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001797/0.7556, allocations: 31.91 kB / 0.8146 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001464/0.7571, allocations: 415.5 kB / 0.815 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003927/0.7611, allocations: 1.092 MB / 0.8161 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004697/0.7658, allocations: 1.712 MB / 0.8178 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003408/0.7692, allocations: 2.385 MB / 0.8201 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002161/0.7714, allocations: 1.399 MB / 0.8214 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004085/0.7755, allocations: 1.288 MB / 0.8227 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001592/0.7771, allocations: 0.8036 MB / 0.8235 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002833/0.7774, allocations: 154 kB / 0.8236 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003038/0.7804, allocations: 1.418 MB / 0.825 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005206/0.781, allocations: 449.5 kB / 0.8255 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001046/0.782, allocations: 0.7869 MB / 0.8262 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003954/0.786, allocations: 2.588 MB / 0.8287 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.786, allocations: 6.125 kB / 0.8288 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.794e-06/0.786, allocations: 0 / 0.8288 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.379e-05/0.7861, allocations: 0 / 0.8288 GB, free: 2.262 MB / 0.5919 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.003313/0.7894, allocations: 1.875 MB / 0.8306 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.7894, allocations: 14.67 kB / 0.8306 GB, free: 0.8398 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002017/0.7897, allocations: 181 kB / 0.8308 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002024/0.7917, allocations: 354.2 kB / 0.8311 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001608/0.7933, allocations: 0.9855 MB / 0.8321 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.715e-05/0.7934, allocations: 94.23 kB / 0.8322 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.7935, allocations: 117.8 kB / 0.8323 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002063/0.7956, allocations: 1.294 MB / 0.8335 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.7956, allocations: 0 / 0.8335 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.7958, allocations: 56.8 kB / 0.8336 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.7958, allocations: 27.5 kB / 0.8336 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002186/0.798, allocations: 1.452 MB / 0.835 GB, free: 14.13 MB / 0.6075 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.006055/0.804, allocations: 4.026 MB / 0.839 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0021/0.8062, allocations: 1.219 MB / 0.8402 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007293/0.8069, allocations: 450.1 kB / 0.8406 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007401/0.8077, allocations: 427.1 kB / 0.841 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001101/0.8088, allocations: 0.6585 MB / 0.8416 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=106): time 2.815e-06/0.8088, allocations: 0 / 0.8416 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of matching and sorting (n=106): time 0.004095/0.8129, allocations: 1.604 MB / 0.8432 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.813, allocations: 200.8 kB / 0.8434 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.8142, allocations: 0.8789 MB / 0.8443 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.8143, allocations: 45.7 kB / 0.8443 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004446/0.8148, allocations: 0.516 MB / 0.8448 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003249/0.8151, allocations: 357.8 kB / 0.8451 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003125/0.8155, allocations: 194.5 kB / 0.8453 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.8156, allocations: 345.9 kB / 0.8457 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007014/0.8163, allocations: 365.7 kB / 0.846 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008648/0.8172, allocations: 0.501 MB / 0.8465 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001595/0.8188, allocations: 0.8407 MB / 0.8473 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.8188, allocations: 0 / 0.8473 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002612/0.8214, allocations: 1.122 MB / 0.8484 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.8215, allocations: 8 kB / 0.8484 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.8215, allocations: 3.984 kB / 0.8484 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005899/0.8221, allocations: 80.88 kB / 0.8485 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009516/0.823, allocations: 223.7 kB / 0.8487 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002197/0.8252, allocations: 1.642 MB / 0.8503 GB, free: 480 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.8263, allocations: 122.9 kB / 0.8504 GB, free: 356 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.8265, allocations: 47.97 kB / 0.8505 GB, free: 308 kB / 0.6075 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.0007476/0.8272, allocations: 317.7 kB / 0.8508 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000344/0.8276, allocations: 122.5 kB / 0.8509 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003273/0.8308, allocations: 1.506 MB / 0.8524 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.8309, allocations: 12 kB / 0.8524 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.8309, allocations: 0 / 0.8524 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.8309, allocations: 3.984 kB / 0.8524 GB, free: 14.32 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 postOpt removeSimpleEquations (simulation): time 0.005926/0.8368, allocations: 2.849 MB / 0.8552 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/0.8369, allocations: 0 / 0.8552 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009301/0.8378, allocations: 203.7 kB / 0.8554 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000475/0.8383, allocations: 80.97 kB / 0.8554 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/0.8384, allocations: 35.97 kB / 0.8555 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002069/0.8405, allocations: 1.67 MB / 0.8571 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/0.8405, allocations: 4 kB / 0.8571 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003673/0.8442, allocations: 1.862 MB / 0.8589 GB, free: 7.352 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007482/0.8449, allocations: 347.2 kB / 0.8593 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002729/0.8452, allocations: 27.94 kB / 0.8593 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009859/0.8462, allocations: 78.83 kB / 0.8594 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001969/0.8464, allocations: 100.7 kB / 0.8595 GB, free: 6.793 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/0.8465, allocations: 47.97 kB / 0.8595 GB, free: 6.746 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001028/0.8476, allocations: 0.6261 MB / 0.8601 GB, free: 6.109 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8476, allocations: 4 kB / 0.8601 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001353/0.8489, allocations: 451.1 kB / 0.8605 GB, free: 5.664 MB / 0.6231 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.005465/0.8544, allocations: 3.006 MB / 0.8635 GB, free: 2.824 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002361/0.8568, allocations: 1.07 MB / 0.8645 GB, free: 1.738 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.8568, allocations: 4.312 kB / 0.8645 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001255/0.8581, allocations: 0.6563 MB / 0.8652 GB, free: 1.07 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002812/0.8609, allocations: 0.5308 MB / 0.8657 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01695/0.8779, allocations: 8.77 MB / 0.8743 GB, free: 7.602 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001323/0.8793, allocations: 1.162 MB / 0.8754 GB, free: 6.41 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001706/0.881, allocations: 369.7 kB / 0.8757 GB, free: 6.047 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008735/0.8819, allocations: 0.5305 MB / 0.8763 GB, free: 5.516 MB / 0.6387 GB Notification: Performance of SimCode: time 1.162e-06/0.8819, allocations: 0 / 0.8763 GB, free: 5.516 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07607/0.958, allocations: 33.75 MB / 0.9092 GB, free: 4.125 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/14.26, allocations: 10 kB / 0.9092 GB, free: 4.117 MB / 0.67 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)