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.001291/0.001291, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001478/0.001478, allocations: 214.3 kB / 22.99 MB, free: 4.977 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.404/1.404, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.9383/0.9383, allocations: 149.9 MB / 463 MB, free: 10.33 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="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"}) [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.002197/0.002197, allocations: 70.88 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1714, allocations: 89.17 MB / 0.7282 GB, free: 1.035 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside): time 0.5421/0.7135, allocations: 155.8 MB / 0.8803 GB, free: 9.422 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01588/0.7294, allocations: 10.32 MB / 0.8904 GB, free: 15.08 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.7306, allocations: 43.62 kB / 0.8904 GB, free: 15.04 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.7321, allocations: 416.7 kB / 0.8908 GB, free: 14.62 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003445/0.7355, allocations: 1.128 MB / 0.8919 GB, free: 13.5 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004418/0.7399, allocations: 1.752 MB / 0.8936 GB, free: 11.75 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00323/0.7432, allocations: 2.392 MB / 0.896 GB, free: 9.352 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002095/0.7453, allocations: 1.106 MB / 0.897 GB, free: 8.203 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004108/0.7494, allocations: 1.484 MB / 0.8985 GB, free: 6.742 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001453/0.7508, allocations: 0.7583 MB / 0.8992 GB, free: 5.98 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004709/0.7513, allocations: 160 kB / 0.8994 GB, free: 5.824 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002985/0.7543, allocations: 1.271 MB / 0.9006 GB, free: 4.551 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006666/0.7549, allocations: 470.5 kB / 0.9011 GB, free: 4.09 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001265/0.7562, allocations: 0.6493 MB / 0.9017 GB, free: 3.438 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006134/0.7623, allocations: 2.62 MB / 0.9043 GB, free: 0.8086 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.7624, allocations: 3.938 kB / 0.9043 GB, free: 0.8047 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.794e-06/0.7624, allocations: 0 / 0.9043 GB, free: 0.8047 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.784e-05/0.7624, allocations: 0 / 0.9043 GB, free: 0.8047 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.005141/0.7676, allocations: 1.891 MB / 0.9061 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.7676, allocations: 8.031 kB / 0.9061 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003824/0.768, allocations: 185.3 kB / 0.9063 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002835/0.7708, allocations: 398.7 kB / 0.9067 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002315/0.7732, allocations: 0.9279 MB / 0.9076 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.7733, allocations: 86.33 kB / 0.9077 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002562/0.7735, allocations: 120 kB / 0.9078 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00285/0.7764, allocations: 1.671 MB / 0.9094 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/0.7764, allocations: 0 / 0.9094 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001288/0.7765, allocations: 48 kB / 0.9095 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.518e-05/0.7766, allocations: 35.98 kB / 0.9095 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002666/0.7792, allocations: 1.402 MB / 0.9109 GB, free: 9.797 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.006286/0.7855, allocations: 3.153 MB / 0.9139 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002204/0.7877, allocations: 1.075 MB / 0.915 GB, free: 5.484 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000767/0.7885, allocations: 416.8 kB / 0.9154 GB, free: 5.078 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005898/0.7891, allocations: 116.9 kB / 0.9155 GB, free: 4.965 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001326/0.7904, allocations: 0.885 MB / 0.9164 GB, free: 4.012 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=106): time 3.246e-06/0.7904, allocations: 0 / 0.9164 GB, free: 4.012 MB / 0.6856 GB Notification: Performance of matching and sorting (n=106): time 0.004255/0.7947, allocations: 1.543 MB / 0.9179 GB, free: 2.461 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.7948, allocations: 192.9 kB / 0.9181 GB, free: 2.227 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/0.7961, allocations: 0.9112 MB / 0.9189 GB, free: 1.293 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.668e-05/0.7962, allocations: 49.7 kB / 0.919 GB, free: 1.238 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004951/0.7967, allocations: 0.5247 MB / 0.9195 GB, free: 0.707 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003405/0.797, allocations: 368.8 kB / 0.9199 GB, free: 352 kB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003148/0.7973, allocations: 198.5 kB / 0.92 GB, free: 148 kB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.7975, allocations: 341.9 kB / 0.9204 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000759/0.7983, allocations: 365.8 kB / 0.9207 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009779/0.7993, allocations: 0.6767 MB / 0.9214 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001591/0.8009, allocations: 0.8407 MB / 0.9222 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.8009, allocations: 0 / 0.9222 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002535/0.8034, allocations: 1.122 MB / 0.9233 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.8034, allocations: 8 kB / 0.9233 GB, free: 12.69 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.8034, allocations: 0 / 0.9233 GB, free: 12.69 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005854/0.804, allocations: 92.8 kB / 0.9234 GB, free: 12.6 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009351/0.8049, allocations: 227.5 kB / 0.9236 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002161/0.8071, allocations: 1.528 MB / 0.9251 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009035/0.808, allocations: 131.2 kB / 0.9252 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.881e-05/0.8081, allocations: 39.98 kB / 0.9253 GB, free: 10.56 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.0006147/0.8087, allocations: 321.5 kB / 0.9256 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002927/0.809, allocations: 127.2 kB / 0.9257 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003279/0.8123, allocations: 1.515 MB / 0.9272 GB, free: 8.574 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/0.8123, allocations: 12 kB / 0.9272 GB, free: 8.562 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.8123, allocations: 3.938 kB / 0.9272 GB, free: 8.559 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.8123, allocations: 3.984 kB / 0.9272 GB, free: 8.555 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.005366/0.8177, allocations: 2.522 MB / 0.9297 GB, free: 5.961 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.8177, allocations: 4 kB / 0.9297 GB, free: 5.957 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009158/0.8186, allocations: 199.7 kB / 0.9299 GB, free: 5.762 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004633/0.8191, allocations: 80.89 kB / 0.9299 GB, free: 5.68 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.87e-05/0.8192, allocations: 35.97 kB / 0.93 GB, free: 5.645 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002102/0.8213, allocations: 1.559 MB / 0.9315 GB, free: 3.969 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/0.8213, allocations: 4 kB / 0.9315 GB, free: 3.965 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003963/0.8252, allocations: 1.87 MB / 0.9333 GB, free: 2.059 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008784/0.8261, allocations: 278.8 kB / 0.9336 GB, free: 1.785 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003534/0.8265, allocations: 28 kB / 0.9336 GB, free: 1.758 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.8276, allocations: 75.92 kB / 0.9337 GB, free: 1.684 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002286/0.8278, allocations: 96.7 kB / 0.9338 GB, free: 1.59 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/0.8279, allocations: 47.97 kB / 0.9338 GB, free: 1.543 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001327/0.8293, allocations: 0.6423 MB / 0.9344 GB, free: 0.8906 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8293, allocations: 4 kB / 0.9344 GB, free: 0.8867 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001562/0.8308, allocations: 462.9 kB / 0.9349 GB, free: 444 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.006601/0.8374, allocations: 3.062 MB / 0.9379 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002429/0.8399, allocations: 1.022 MB / 0.9389 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.8399, allocations: 0 / 0.9389 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001297/0.8412, allocations: 0.6335 MB / 0.9395 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002719/0.8439, allocations: 0.5315 MB / 0.94 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01707/0.8609, allocations: 8.878 MB / 0.9487 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008328/0.8618, allocations: 0.5754 MB / 0.9492 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001407/0.8632, allocations: 373.8 kB / 0.9496 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009115/0.8641, allocations: 0.5383 MB / 0.9501 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of SimCode: time 1.052e-06/0.8641, allocations: 0 / 0.9501 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0862/0.9503, allocations: 36.17 MB / 0.9855 GB, free: 13.07 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.59, allocations: 17.95 kB / 0.9855 GB, free: 13.06 MB / 0.7637 GB " [Timeout remaining time 645] (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: 18.97495343722403] Failed to read output from testmodel.py, exit status != 0: 14.818627532105893 14.834498713 14.068895383 Calling exit ...