Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0007966/0.0007966, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001234/0.001234, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8877/0.8877, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001602/0.001602, allocations: 237.9 kB / 259.4 MB, free: 13.03 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6978/0.6978, allocations: 138.4 MB / 454.3 MB, free: 30.03 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Sources.Examples.Outside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.6463 GB, free: 1.898 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.919e-05, allocations: 6.281 kB / 0.6463 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside): time 0.4069/0.4069, allocations: 155.7 MB / 0.7983 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01179/0.4187, allocations: 10.28 MB / 0.8084 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001526/0.4202, allocations: 43.62 kB / 0.8084 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.4213, allocations: 436.5 kB / 0.8088 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002702/0.424, allocations: 1.157 MB / 0.81 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003318/0.4274, allocations: 1.777 MB / 0.8117 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00256/0.4299, allocations: 2.444 MB / 0.8141 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001964/0.4319, allocations: 1.104 MB / 0.8152 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003137/0.435, allocations: 1.693 MB / 0.8168 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006478/0.4357, allocations: 0.6738 MB / 0.8175 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.4358, allocations: 156 kB / 0.8176 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002035/0.4379, allocations: 1.29 MB / 0.8189 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0003128/0.4382, allocations: 478.5 kB / 0.8193 GB, free: 9.82 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0005171/0.4387, allocations: 0.5423 MB / 0.8199 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003298/0.442, allocations: 2.757 MB / 0.8226 GB, free: 6.512 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.442, allocations: 0 / 0.8226 GB, free: 6.512 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.014e-06/0.442, allocations: 0 / 0.8226 GB, free: 6.512 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.251e-05/0.442, allocations: 4 kB / 0.8226 GB, free: 6.508 MB / 0.6511 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.002498/0.4445, allocations: 1.879 MB / 0.8244 GB, free: 4.586 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.4446, allocations: 13.92 kB / 0.8244 GB, free: 4.574 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001514/0.4447, allocations: 181.2 kB / 0.8246 GB, free: 4.391 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/0.4461, allocations: 402.6 kB / 0.825 GB, free: 3.996 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.4474, allocations: 0.9279 MB / 0.8259 GB, free: 3.035 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.277e-05/0.4475, allocations: 94.27 kB / 0.826 GB, free: 2.941 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.4476, allocations: 112 kB / 0.8261 GB, free: 2.832 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.4492, allocations: 1.679 MB / 0.8277 GB, free: 0.9961 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.4492, allocations: 3.938 kB / 0.8277 GB, free: 0.9922 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.862e-05/0.4493, allocations: 52 kB / 0.8278 GB, free: 0.9414 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.426e-05/0.4493, allocations: 32 kB / 0.8278 GB, free: 0.9102 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001862/0.4512, allocations: 1.398 MB / 0.8292 GB, free: 15.5 MB / 0.6667 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.003841/0.4551, allocations: 3.156 MB / 0.8322 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.4564, allocations: 1.071 MB / 0.8333 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004707/0.4569, allocations: 420 kB / 0.8337 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003309/0.4572, allocations: 112.9 kB / 0.8338 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008475/0.4581, allocations: 0.8841 MB / 0.8347 GB, free: 9.734 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=106): time 3.347e-06/0.4581, allocations: 0 / 0.8347 GB, free: 9.734 MB / 0.6667 GB Notification: Performance of matching and sorting (n=106): time 0.002769/0.4608, allocations: 1.543 MB / 0.8362 GB, free: 8.188 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.891e-05/0.4609, allocations: 192.9 kB / 0.8363 GB, free: 7.953 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000893/0.4618, allocations: 0.9112 MB / 0.8372 GB, free: 7.02 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.727e-05/0.4619, allocations: 49.69 kB / 0.8373 GB, free: 6.965 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003065/0.4622, allocations: 0.5363 MB / 0.8378 GB, free: 6.422 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002057/0.4624, allocations: 360.9 kB / 0.8381 GB, free: 6.066 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/0.4626, allocations: 186.6 kB / 0.8383 GB, free: 5.879 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.074e-05/0.4627, allocations: 349.9 kB / 0.8387 GB, free: 5.531 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004476/0.4631, allocations: 361.8 kB / 0.839 GB, free: 5.18 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005882/0.4637, allocations: 0.6767 MB / 0.8397 GB, free: 4.422 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009776/0.4647, allocations: 0.8445 MB / 0.8405 GB, free: 3.562 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.4647, allocations: 4 kB / 0.8405 GB, free: 3.559 MB / 0.6667 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001512/0.4662, allocations: 1.122 MB / 0.8416 GB, free: 2.422 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.4662, allocations: 4 kB / 0.8416 GB, free: 2.418 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.4662, allocations: 0 / 0.8416 GB, free: 2.418 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003099/0.4665, allocations: 92.8 kB / 0.8417 GB, free: 2.324 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005027/0.467, allocations: 219.7 kB / 0.8419 GB, free: 2.109 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001657/0.4687, allocations: 1.533 MB / 0.8434 GB, free: 468 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005955/0.4693, allocations: 131.2 kB / 0.8435 GB, free: 336 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.431e-05/0.4694, allocations: 39.97 kB / 0.8436 GB, free: 296 kB / 0.6667 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.0005238/0.4699, allocations: 327 kB / 0.8439 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/0.47, allocations: 131.1 kB / 0.844 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00184/0.4719, allocations: 1.502 MB / 0.8455 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.4719, allocations: 12 kB / 0.8455 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.4719, allocations: 0 / 0.8455 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.4719, allocations: 7.969 kB / 0.8455 GB, free: 14.3 MB / 0.6823 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.003058/0.475, allocations: 2.535 MB / 0.848 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.475, allocations: 0 / 0.848 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004666/0.4754, allocations: 199.7 kB / 0.8481 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002165/0.4757, allocations: 72.78 kB / 0.8482 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.892e-05/0.4757, allocations: 32.02 kB / 0.8482 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001403/0.4771, allocations: 1.58 MB / 0.8498 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.4771, allocations: 3.828 kB / 0.8498 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0022/0.4793, allocations: 1.87 MB / 0.8516 GB, free: 7.785 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004365/0.4797, allocations: 270.8 kB / 0.8519 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.4799, allocations: 31.92 kB / 0.8519 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004457/0.4803, allocations: 76.48 kB / 0.852 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.4804, allocations: 88.84 kB / 0.8521 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.948e-05/0.4805, allocations: 51.95 kB / 0.8521 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006277/0.4811, allocations: 0.6423 MB / 0.8527 GB, free: 6.625 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8e-08/0.4811, allocations: 0 / 0.8527 GB, free: 6.625 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009137/0.482, allocations: 466.9 kB / 0.8532 GB, free: 6.168 MB / 0.6823 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.003543/0.4856, allocations: 3.068 MB / 0.8562 GB, free: 3.301 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001757/0.4873, allocations: 1.034 MB / 0.8572 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.4873, allocations: 0 / 0.8572 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007117/0.488, allocations: 0.6256 MB / 0.8578 GB, free: 1.617 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/0.4894, allocations: 0.5324 MB / 0.8583 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/0.4998, allocations: 8.85 MB / 0.867 GB, free: 8.066 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004493/0.5003, allocations: 0.5754 MB / 0.8675 GB, free: 7.461 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009401/0.5012, allocations: 373.8 kB / 0.8679 GB, free: 7.094 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00056/0.5018, allocations: 0.5354 MB / 0.8684 GB, free: 6.559 MB / 0.698 GB Notification: Performance of SimCode: time 1.403e-06/0.5018, allocations: 0 / 0.8684 GB, free: 6.559 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05012/0.5519, allocations: 36.27 MB / 0.9038 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.484/9.036, allocations: 0 / 0.9038 GB, free: 2.844 MB / 0.7292 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.045026524923742] Failed to read output from testmodel.py, exit status != 0: 9.198615528643131 9.207840982 8.763755904 Calling exit ...