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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 97.91 kB / 20.48 MB, free: 1.363 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 218.3 kB / 23.78 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.428/1.428, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9105/0.9105, allocations: 150 MB / 464 MB, free: 10.26 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 62.47 kB / 0.642 GB, free: 9.957 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1793, allocations: 89.17 MB / 0.729 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside): time 0.5372/0.7165, allocations: 155.7 MB / 0.8811 GB, free: 9.309 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0157/0.7322, allocations: 10.3 MB / 0.8911 GB, free: 14.99 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001096/0.7333, allocations: 47.62 kB / 0.8912 GB, free: 14.94 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00131/0.7346, allocations: 420.7 kB / 0.8916 GB, free: 14.53 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003429/0.738, allocations: 1.127 MB / 0.8927 GB, free: 13.4 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004225/0.7422, allocations: 1.758 MB / 0.8944 GB, free: 11.65 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002984/0.7452, allocations: 2.408 MB / 0.8967 GB, free: 9.238 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001662/0.7469, allocations: 1.129 MB / 0.8978 GB, free: 8.066 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003606/0.7505, allocations: 1.484 MB / 0.8993 GB, free: 6.602 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.7515, allocations: 0.8247 MB / 0.9001 GB, free: 5.773 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002346/0.7518, allocations: 160 kB / 0.9002 GB, free: 5.617 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002483/0.7542, allocations: 1.294 MB / 0.9015 GB, free: 4.32 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004531/0.7547, allocations: 462.6 kB / 0.902 GB, free: 3.867 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007075/0.7554, allocations: 0.661 MB / 0.9026 GB, free: 3.203 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003917/0.7593, allocations: 2.616 MB / 0.9051 GB, free: 0.5781 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.7593, allocations: 4 kB / 0.9052 GB, free: 0.5742 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.844e-06/0.7593, allocations: 0 / 0.9052 GB, free: 0.5742 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.733e-05/0.7594, allocations: 0 / 0.9052 GB, free: 0.5742 MB / 0.67 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.00373/0.7631, allocations: 1.884 MB / 0.907 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.7631, allocations: 12.03 kB / 0.907 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.914e-05/0.7632, allocations: 30.33 kB / 0.907 GB, free: 14.6 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002158/0.7634, allocations: 185.3 kB / 0.9072 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002705/0.7661, allocations: 398.7 kB / 0.9076 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/0.7678, allocations: 0.924 MB / 0.9085 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.221e-05/0.7679, allocations: 94.31 kB / 0.9086 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/0.7681, allocations: 116 kB / 0.9087 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0025/0.7706, allocations: 1.674 MB / 0.9103 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.7706, allocations: 0 / 0.9103 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/0.7707, allocations: 51.98 kB / 0.9104 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.046e-05/0.7707, allocations: 28 kB / 0.9104 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002445/0.7732, allocations: 1.453 MB / 0.9118 GB, free: 9.488 MB / 0.6856 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.006003/0.7792, allocations: 3.15 MB / 0.9149 GB, free: 6.27 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002209/0.7814, allocations: 1.072 MB / 0.9159 GB, free: 5.184 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007802/0.7822, allocations: 424.5 kB / 0.9164 GB, free: 4.77 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006339/0.7828, allocations: 112.9 kB / 0.9165 GB, free: 4.66 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001402/0.7842, allocations: 0.8823 MB / 0.9173 GB, free: 3.707 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=106): time 3.637e-06/0.7842, allocations: 0 / 0.9173 GB, free: 3.707 MB / 0.6856 GB Notification: Performance of matching and sorting (n=106): time 0.004368/0.7886, allocations: 1.543 MB / 0.9188 GB, free: 2.156 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/0.7887, allocations: 196.9 kB / 0.919 GB, free: 1.918 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/0.7902, allocations: 0.9074 MB / 0.9199 GB, free: 0.9883 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.7903, allocations: 49.7 kB / 0.9199 GB, free: 0.9336 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005025/0.7908, allocations: 0.5285 MB / 0.9205 GB, free: 408 kB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003523/0.7911, allocations: 376.8 kB / 0.9208 GB, free: 28 kB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003811/0.7915, allocations: 190.6 kB / 0.921 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.7917, allocations: 349.9 kB / 0.9213 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007216/0.7924, allocations: 357.8 kB / 0.9217 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009724/0.7934, allocations: 0.6728 MB / 0.9223 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/0.795, allocations: 0.8523 MB / 0.9232 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.795, allocations: 0 / 0.9232 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002724/0.7977, allocations: 1.118 MB / 0.9243 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.7977, allocations: 7.984 kB / 0.9243 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.7977, allocations: 4 kB / 0.9243 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006366/0.7984, allocations: 88.75 kB / 0.9244 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.7994, allocations: 223.7 kB / 0.9246 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/0.8016, allocations: 1.528 MB / 0.9261 GB, free: 10.42 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.8026, allocations: 127.2 kB / 0.9262 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.697e-05/0.8027, allocations: 44.05 kB / 0.9262 GB, free: 10.25 MB / 0.7012 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.0006733/0.8034, allocations: 323.5 kB / 0.9265 GB, free: 9.926 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002749/0.8037, allocations: 123.2 kB / 0.9267 GB, free: 9.805 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003176/0.8069, allocations: 1.515 MB / 0.9281 GB, free: 8.27 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.8069, allocations: 16 kB / 0.9281 GB, free: 8.254 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.8069, allocations: 3.938 kB / 0.9282 GB, free: 8.25 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.8069, allocations: 3.984 kB / 0.9282 GB, free: 8.246 MB / 0.7012 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.004895/0.8118, allocations: 2.514 MB / 0.9306 GB, free: 5.664 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.8118, allocations: 0 / 0.9306 GB, free: 5.664 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009197/0.8127, allocations: 207.9 kB / 0.9308 GB, free: 5.461 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004345/0.8131, allocations: 68.8 kB / 0.9309 GB, free: 5.391 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.168e-05/0.8132, allocations: 35.97 kB / 0.9309 GB, free: 5.355 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002004/0.8152, allocations: 1.575 MB / 0.9324 GB, free: 3.66 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.8152, allocations: 3.984 kB / 0.9324 GB, free: 3.656 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003648/0.8189, allocations: 1.874 MB / 0.9343 GB, free: 1.742 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006851/0.8196, allocations: 274.8 kB / 0.9345 GB, free: 1.473 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/0.8198, allocations: 27.95 kB / 0.9346 GB, free: 1.445 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000912/0.8207, allocations: 75.92 kB / 0.9346 GB, free: 1.371 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000213/0.8209, allocations: 108.6 kB / 0.9347 GB, free: 1.266 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.821, allocations: 47.97 kB / 0.9348 GB, free: 1.219 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009722/0.822, allocations: 0.6462 MB / 0.9354 GB, free: 0.5625 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9.1e-08/0.822, allocations: 0 / 0.9354 GB, free: 0.5625 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001326/0.8233, allocations: 462.9 kB / 0.9359 GB, free: 112 kB / 0.7012 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.006462/0.8297, allocations: 3.064 MB / 0.9389 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002406/0.8321, allocations: 1.023 MB / 0.9399 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/0.8322, allocations: 0 / 0.9399 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001271/0.8334, allocations: 0.6255 MB / 0.9405 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002437/0.8359, allocations: 0.5136 MB / 0.941 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01702/0.8529, allocations: 8.895 MB / 0.9497 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008053/0.8537, allocations: 0.5676 MB / 0.9502 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00153/0.8552, allocations: 369.9 kB / 0.9506 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009357/0.8562, allocations: 0.5344 MB / 0.9511 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of SimCode: time 1.242e-06/0.8562, allocations: 0 / 0.9511 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1044/0.9605, allocations: 35.97 MB / 0.9862 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.1/16.06, allocations: 10.31 kB / 0.9862 GB, free: 13.02 MB / 0.7637 GB " [Timeout remaining time 644] (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 --stepSize=12614.4 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.142513270955533] Failed to read output from testmodel.py, exit status != 0: 16.351755711017177 16.367265131 15.604827582 Calling exit ...