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.000771/0.000771, allocations: 80.53 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007985/0.0007985, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.889/0.889, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.5785/0.5785, allocations: 114 MB / 373.9 MB, free: 8.688 MB / 346.7 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: Performance of FrontEnd - loaded program: time 2.825e-06/2.825e-06, allocations: 4 kB / 0.5542 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.824e-05/2.106e-05, allocations: 4.797 kB / 0.5542 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside): time 0.4199/0.4199, allocations: 155.7 MB / 0.7062 GB, free: 41.7 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.009475/0.4294, allocations: 10.28 MB / 0.7162 GB, free: 41.49 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009262/0.4303, allocations: 43.73 kB / 0.7163 GB, free: 41.49 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0009242/0.4312, allocations: 428.8 kB / 0.7167 GB, free: 41.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002358/0.4336, allocations: 1.148 MB / 0.7178 GB, free: 41.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002909/0.4365, allocations: 1.796 MB / 0.7196 GB, free: 41.37 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001677/0.4382, allocations: 2.442 MB / 0.7219 GB, free: 40.91 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008578/0.439, allocations: 1.058 MB / 0.723 GB, free: 40.79 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002325/0.4414, allocations: 1.846 MB / 0.7248 GB, free: 40.63 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004782/0.4418, allocations: 0.6703 MB / 0.7254 GB, free: 40.56 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001408/0.442, allocations: 165.2 kB / 0.7256 GB, free: 40.56 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001727/0.4437, allocations: 1.284 MB / 0.7269 GB, free: 40.47 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003186/0.444, allocations: 489.5 kB / 0.7273 GB, free: 40.4 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005692/0.4446, allocations: 0.5533 MB / 0.7279 GB, free: 40.33 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002274/0.4469, allocations: 2.79 MB / 0.7306 GB, free: 40.07 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4469, allocations: 4.312 kB / 0.7306 GB, free: 40.07 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.764e-06/0.4469, allocations: 1.469 kB / 0.7306 GB, free: 40.07 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.539e-05/0.4469, allocations: 3.938 kB / 0.7306 GB, free: 40.07 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.00209/0.449, allocations: 1.888 MB / 0.7324 GB, free: 39.12 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.449, allocations: 9.438 kB / 0.7324 GB, free: 39.12 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001744/0.4492, allocations: 188.8 kB / 0.7326 GB, free: 39.07 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001426/0.4506, allocations: 406.2 kB / 0.733 GB, free: 38.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.4518, allocations: 0.9333 MB / 0.7339 GB, free: 38.68 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.552e-05/0.4518, allocations: 96.39 kB / 0.734 GB, free: 38.68 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.452, allocations: 121.3 kB / 0.7341 GB, free: 38.68 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/0.4538, allocations: 1.698 MB / 0.7358 GB, free: 38.04 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.4539, allocations: 0 / 0.7358 GB, free: 38.04 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.454, allocations: 51.73 kB / 0.7358 GB, free: 38.04 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.777e-05/0.454, allocations: 28.84 kB / 0.7359 GB, free: 38.04 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/0.4559, allocations: 1.413 MB / 0.7372 GB, free: 38.02 MB / 0.6355 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.003946/0.4599, allocations: 3.193 MB / 0.7404 GB, free: 36.56 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/0.4614, allocations: 1.118 MB / 0.7415 GB, free: 36.14 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005329/0.4619, allocations: 437.1 kB / 0.7419 GB, free: 35.98 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000343/0.4623, allocations: 116.5 kB / 0.742 GB, free: 35.97 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008554/0.4631, allocations: 0.9053 MB / 0.7429 GB, free: 35.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=114): time 2.315e-06/0.4631, allocations: 0 / 0.7429 GB, free: 35.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=114): time 0.002632/0.4658, allocations: 1.586 MB / 0.7444 GB, free: 34.87 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.673e-05/0.4658, allocations: 202.3 kB / 0.7446 GB, free: 34.64 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009256/0.4668, allocations: 0.9054 MB / 0.7455 GB, free: 34.26 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.046e-05/0.4668, allocations: 56.47 kB / 0.7455 GB, free: 34.21 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002902/0.4671, allocations: 0.5275 MB / 0.7461 GB, free: 33.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/0.4673, allocations: 382.4 kB / 0.7464 GB, free: 33.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002475/0.4676, allocations: 217.7 kB / 0.7466 GB, free: 33.4 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.428e-05/0.4676, allocations: 349.3 kB / 0.747 GB, free: 33.08 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005258/0.4682, allocations: 391.6 kB / 0.7473 GB, free: 32.95 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006476/0.4688, allocations: 0.7063 MB / 0.748 GB, free: 32.46 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.4699, allocations: 0.8923 MB / 0.7489 GB, free: 32.06 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.4699, allocations: 1.125 kB / 0.7489 GB, free: 32.06 MB / 0.6355 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00163/0.4715, allocations: 1.199 MB / 0.7501 GB, free: 31.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.4716, allocations: 6.562 kB / 0.7501 GB, free: 31.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.4716, allocations: 1.844 kB / 0.7501 GB, free: 31.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003319/0.4719, allocations: 86.67 kB / 0.7502 GB, free: 31.58 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005556/0.4725, allocations: 228.8 kB / 0.7504 GB, free: 31.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/0.4736, allocations: 1.539 MB / 0.7519 GB, free: 30.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005143/0.4741, allocations: 132.8 kB / 0.752 GB, free: 30.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.735e-05/0.4742, allocations: 42.45 kB / 0.7521 GB, free: 30.09 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 25 (weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (133): * Single equations (assignments): 132 * 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.0003518/0.4745, allocations: 335.5 kB / 0.7524 GB, free: 29.87 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.4747, allocations: 133.2 kB / 0.7525 GB, free: 29.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001849/0.4765, allocations: 1.537 MB / 0.754 GB, free: 29.21 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.4765, allocations: 14.89 kB / 0.754 GB, free: 29.21 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.624e-06/0.4765, allocations: 1.5 kB / 0.754 GB, free: 29.21 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/0.4766, allocations: 7.141 kB / 0.754 GB, free: 29.21 MB / 0.6355 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.002979/0.4795, allocations: 2.663 MB / 0.7566 GB, free: 27.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.4795, allocations: 1.062 kB / 0.7566 GB, free: 27.99 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004842/0.48, allocations: 204.6 kB / 0.7568 GB, free: 27.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002105/0.4802, allocations: 76.56 kB / 0.7569 GB, free: 27.97 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.962e-05/0.4803, allocations: 33.06 kB / 0.7569 GB, free: 27.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008521/0.4811, allocations: 1.567 MB / 0.7585 GB, free: 26.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4811, allocations: 5.547 kB / 0.7585 GB, free: 26.54 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/0.4832, allocations: 1.912 MB / 0.7603 GB, free: 25.68 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003407/0.4835, allocations: 277.5 kB / 0.7606 GB, free: 25.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.4836, allocations: 28.81 kB / 0.7606 GB, free: 25.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004394/0.4841, allocations: 77.25 kB / 0.7607 GB, free: 25.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.4842, allocations: 90.22 kB / 0.7608 GB, free: 25.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.13e-05/0.4842, allocations: 52.25 kB / 0.7608 GB, free: 25.47 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005203/0.4848, allocations: 0.6442 MB / 0.7615 GB, free: 25.19 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4848, allocations: 1.031 kB / 0.7615 GB, free: 25.19 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008464/0.4856, allocations: 475.5 kB / 0.7619 GB, free: 25.07 MB / 0.6355 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: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.003144/0.4888, allocations: 3.103 MB / 0.7649 GB, free: 23.57 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001312/0.4901, allocations: 1.081 MB / 0.766 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4901, allocations: 0 / 0.766 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006642/0.4907, allocations: 0.6398 MB / 0.7666 GB, free: 22.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.492, allocations: 0.5205 MB / 0.7671 GB, free: 22.76 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0086/0.5006, allocations: 9.08 MB / 0.776 GB, free: 18.4 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.501, allocations: 0.5773 MB / 0.7766 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008124/0.5018, allocations: 372.9 kB / 0.7769 GB, free: 18.15 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004609/0.5022, allocations: 0.5377 MB / 0.7774 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of SimCode: time 1.052e-06/0.5022, allocations: 0 / 0.7774 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04569/0.5479, allocations: 36.58 MB / 0.8132 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.822/9.37, allocations: 10.88 kB / 0.8132 GB, free: 14.89 MB / 0.6511 GB " [Timeout remaining time 650] (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: 12.353404804132879] Failed to read output from testmodel.py, exit status != 0: 9.533251905813813 9.546633892000001 9.097176635 Calling exit ...