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.0007454/0.0007453, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007515/0.0007516, allocations: 172.3 kB / 16.58 MB, free: 6.852 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.175/1.175, allocations: 223.3 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5999/0.5999, allocations: 113.7 MB / 405.4 MB, free: 4.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002731/0.0002731, allocations: 10.09 kB / 493.2 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1262, allocations: 77.12 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside): time 0.3788/0.505, allocations: 159.9 MB / 0.713 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01146/0.5165, allocations: 10.07 MB / 0.7229 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008999/0.5174, allocations: 27.81 kB / 0.7229 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009039/0.5183, allocations: 289.9 kB / 0.7232 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002275/0.5206, allocations: 0.8562 MB / 0.724 GB, free: 15.72 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002964/0.5236, allocations: 1.247 MB / 0.7252 GB, free: 14.48 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002237/0.5259, allocations: 2.287 MB / 0.7275 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001485/0.5274, allocations: 1.039 MB / 0.7285 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00174/0.5291, allocations: 0.9532 MB / 0.7294 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009077/0.53, allocations: 0.6416 MB / 0.73 GB, free: 9.535 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001855/0.5302, allocations: 44 kB / 0.7301 GB, free: 9.492 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001708/0.5319, allocations: 0.8929 MB / 0.7309 GB, free: 8.598 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003262/0.5323, allocations: 314.8 kB / 0.7312 GB, free: 8.289 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003142/0.5326, allocations: 277 kB / 0.7315 GB, free: 8.012 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001741/0.5343, allocations: 1.769 MB / 0.7332 GB, free: 6.238 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.5344, allocations: 0 / 0.7332 GB, free: 6.238 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.032e-06/0.5344, allocations: 0 / 0.7332 GB, free: 6.238 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.028e-05/0.5344, allocations: 0 / 0.7332 GB, free: 6.238 MB / 0.545 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.002724/0.5371, allocations: 1.6 MB / 0.7348 GB, free: 4.582 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.5372, allocations: 8.031 kB / 0.7348 GB, free: 4.574 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002815/0.5375, allocations: 181.4 kB / 0.735 GB, free: 4.387 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001913/0.5394, allocations: 373.7 kB / 0.7353 GB, free: 4.02 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/0.5409, allocations: 0.9064 MB / 0.7362 GB, free: 3.066 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.117e-05/0.541, allocations: 86.33 kB / 0.7363 GB, free: 2.98 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.5411, allocations: 115.9 kB / 0.7364 GB, free: 2.867 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/0.5432, allocations: 1.303 MB / 0.7377 GB, free: 1.5 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.5432, allocations: 0 / 0.7377 GB, free: 1.5 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.5433, allocations: 48 kB / 0.7377 GB, free: 1.453 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.5434, allocations: 31.95 kB / 0.7378 GB, free: 1.422 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002168/0.5455, allocations: 1.457 MB / 0.7392 GB, free: 15.96 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 preOpt removeSimpleEquations (simulation): time 0.005446/0.551, allocations: 3.9 MB / 0.743 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001948/0.5529, allocations: 1.204 MB / 0.7442 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007193/0.5537, allocations: 462.4 kB / 0.7446 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006453/0.5543, allocations: 441.3 kB / 0.745 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/0.5554, allocations: 0.6489 MB / 0.7457 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=106): time 2.696e-06/0.5554, allocations: 4 kB / 0.7457 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of matching and sorting (n=106): time 0.003404/0.5588, allocations: 1.618 MB / 0.7472 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.035e-05/0.5589, allocations: 188.9 kB / 0.7474 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.5599, allocations: 0.8789 MB / 0.7483 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.891e-05/0.56, allocations: 45.7 kB / 0.7483 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003433/0.5604, allocations: 0.516 MB / 0.7488 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002402/0.5606, allocations: 347 kB / 0.7492 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.877e-05/0.5607, allocations: 20 kB / 0.7492 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.881e-05/0.5608, allocations: 345.9 kB / 0.7495 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006273/0.5614, allocations: 361.8 kB / 0.7499 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000736/0.5622, allocations: 0.501 MB / 0.7504 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007031/0.5629, allocations: 422.9 kB / 0.7508 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.5629, allocations: 0 / 0.7508 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002039/0.5649, allocations: 1.118 MB / 0.7518 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.5649, allocations: 4 kB / 0.7518 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.565, allocations: 11.92 kB / 0.7519 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004863/0.5655, allocations: 84.86 kB / 0.7519 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008662/0.5663, allocations: 227.7 kB / 0.7522 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001644/0.568, allocations: 1.532 MB / 0.7537 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007878/0.5688, allocations: 139 kB / 0.7538 GB, free: 444 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.077e-05/0.5689, allocations: 39.98 kB / 0.7538 GB, free: 404 kB / 0.5606 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 ($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 (120): * Single equations (assignments): 119 * 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.0004519/0.5693, allocations: 326.2 kB / 0.7541 GB, free: 68 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.5695, allocations: 115 kB / 0.7542 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002676/0.5722, allocations: 1.533 MB / 0.7557 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/0.5722, allocations: 12 kB / 0.7558 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/0.5722, allocations: 0 / 0.7558 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.5722, allocations: 3.984 kB / 0.7558 GB, free: 14.38 MB / 0.5762 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.004029/0.5763, allocations: 2.849 MB / 0.7585 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.5763, allocations: 192 / 0.7585 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007975/0.5771, allocations: 207.7 kB / 0.7587 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004137/0.5775, allocations: 88.77 kB / 0.7588 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.156e-05/0.5776, allocations: 35.97 kB / 0.7589 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001471/0.5791, allocations: 1.556 MB / 0.7604 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5791, allocations: 4 kB / 0.7604 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002893/0.582, allocations: 1.864 MB / 0.7622 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004701/0.5825, allocations: 367.2 kB / 0.7626 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001639/0.5827, allocations: 24.06 kB / 0.7626 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008064/0.5835, allocations: 107.9 kB / 0.7627 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.5836, allocations: 88.81 kB / 0.7628 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.403e-05/0.5837, allocations: 47.97 kB / 0.7628 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007518/0.5845, allocations: 0.6222 MB / 0.7634 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/0.5845, allocations: 0 / 0.7634 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001048/0.5855, allocations: 443 kB / 0.7638 GB, free: 5.785 MB / 0.5762 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 (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.004397/0.5899, allocations: 3.018 MB / 0.7668 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001844/0.5918, allocations: 1.062 MB / 0.7678 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.5918, allocations: 0 / 0.7678 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009966/0.5928, allocations: 0.6645 MB / 0.7685 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001837/0.5947, allocations: 487.4 kB / 0.7689 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/0.607, allocations: 7.436 MB / 0.7762 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000756/0.6078, allocations: 1.154 MB / 0.7773 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001255/0.6091, allocations: 369.7 kB / 0.7777 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006854/0.6098, allocations: 0.5227 MB / 0.7782 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of SimCode: time 1.773e-06/0.6098, allocations: 0 / 0.7782 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04827/0.6581, allocations: 32.41 MB / 0.8098 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/0.6583, allocations: 235.9 kB / 0.8101 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.327/2.985, allocations: 0 / 0.8101 GB, free: 6.734 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/linux/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) Environment - environmentSimulation: