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.0009638/0.0009638, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009982/0.0009982, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.906/0.906, allocations: 177.1 MB / 202.8 MB, free: 5.719 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.001375/0.001375, allocations: 233 kB / 259.4 MB, free: 13 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.6855/0.6855, allocations: 138.4 MB / 454.3 MB, free: 30.07 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.653e-06/1.653e-06, allocations: 0 / 0.6463 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.62e-05/1.785e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside): time 0.386/0.386, allocations: 155.7 MB / 0.7983 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01092/0.3969, allocations: 10.29 MB / 0.8084 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007793/0.3977, allocations: 39.69 kB / 0.8084 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008814/0.3986, allocations: 428.5 kB / 0.8088 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002191/0.4008, allocations: 1.156 MB / 0.8099 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002933/0.4037, allocations: 1.791 MB / 0.8117 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001938/0.4056, allocations: 2.444 MB / 0.8141 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.4067, allocations: 1.1 MB / 0.8152 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002256/0.4089, allocations: 1.689 MB / 0.8168 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005828/0.4095, allocations: 0.671 MB / 0.8175 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.4097, allocations: 160 kB / 0.8176 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001757/0.4114, allocations: 1.286 MB / 0.8189 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0004213/0.4118, allocations: 478.5 kB / 0.8193 GB, free: 9.805 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0003869/0.4122, allocations: 0.5461 MB / 0.8199 GB, free: 9.258 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002295/0.4145, allocations: 2.753 MB / 0.8225 GB, free: 6.496 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.4145, allocations: 0 / 0.8225 GB, free: 6.496 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4145, allocations: 0 / 0.8225 GB, free: 6.496 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.488e-05/0.4145, allocations: 0 / 0.8225 GB, free: 6.496 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.001969/0.4165, allocations: 1.883 MB / 0.8244 GB, free: 4.57 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.4165, allocations: 9.938 kB / 0.8244 GB, free: 4.562 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000147/0.4167, allocations: 177.2 kB / 0.8246 GB, free: 4.383 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001324/0.418, allocations: 406.6 kB / 0.825 GB, free: 3.984 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.4191, allocations: 0.9279 MB / 0.8259 GB, free: 3.023 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.595e-05/0.4191, allocations: 98.25 kB / 0.826 GB, free: 2.926 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.4192, allocations: 116 kB / 0.8261 GB, free: 2.812 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.4208, allocations: 1.679 MB / 0.8277 GB, free: 0.9766 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.4208, allocations: 0 / 0.8277 GB, free: 0.9766 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.422e-05/0.4209, allocations: 55.98 kB / 0.8278 GB, free: 0.9219 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.4209, allocations: 28 kB / 0.8278 GB, free: 0.8945 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/0.4224, allocations: 1.402 MB / 0.8292 GB, free: 15.48 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.003688/0.4261, allocations: 3.149 MB / 0.8322 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/0.4277, allocations: 1.079 MB / 0.8333 GB, free: 11.19 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004639/0.4281, allocations: 420.3 kB / 0.8337 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003053/0.4284, allocations: 112.9 kB / 0.8338 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007956/0.4292, allocations: 0.884 MB / 0.8347 GB, free: 9.715 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=106): time 2.354e-06/0.4292, allocations: 0 / 0.8347 GB, free: 9.715 MB / 0.6667 GB Notification: Performance of matching and sorting (n=106): time 0.002354/0.4316, allocations: 1.543 MB / 0.8362 GB, free: 8.168 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.964e-05/0.4317, allocations: 196.9 kB / 0.8363 GB, free: 7.93 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007645/0.4324, allocations: 0.9073 MB / 0.8372 GB, free: 7 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.017e-05/0.4325, allocations: 45.7 kB / 0.8373 GB, free: 6.949 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002814/0.4328, allocations: 0.5285 MB / 0.8378 GB, free: 6.414 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001858/0.433, allocations: 372.8 kB / 0.8381 GB, free: 6.047 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.4331, allocations: 190.6 kB / 0.8383 GB, free: 5.855 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.161e-05/0.4332, allocations: 341.9 kB / 0.8387 GB, free: 5.516 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004468/0.4337, allocations: 365.8 kB / 0.839 GB, free: 5.16 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005865/0.4343, allocations: 0.6728 MB / 0.8397 GB, free: 4.406 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.4354, allocations: 0.8407 MB / 0.8405 GB, free: 3.551 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.4354, allocations: 0 / 0.8405 GB, free: 3.551 MB / 0.6667 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001467/0.4369, allocations: 1.134 MB / 0.8416 GB, free: 2.402 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4369, allocations: 8 kB / 0.8416 GB, free: 2.395 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.4369, allocations: 0 / 0.8416 GB, free: 2.395 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003121/0.4372, allocations: 84.88 kB / 0.8417 GB, free: 2.309 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004755/0.4377, allocations: 223.7 kB / 0.8419 GB, free: 2.09 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/0.4391, allocations: 1.534 MB / 0.8434 GB, free: 448 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004664/0.4396, allocations: 133.8 kB / 0.8435 GB, free: 316 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.561e-05/0.4396, allocations: 40.05 kB / 0.8436 GB, free: 276 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.0003982/0.44, allocations: 326.9 kB / 0.8439 GB, free: 15.94 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.4402, allocations: 131.1 kB / 0.844 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/0.4421, allocations: 1.498 MB / 0.8455 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.4421, allocations: 16 kB / 0.8455 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.4421, allocations: 0 / 0.8455 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.4421, allocations: 3.984 kB / 0.8455 GB, free: 14.29 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.003043/0.4452, allocations: 2.527 MB / 0.8479 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.4452, allocations: 4 kB / 0.8479 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004413/0.4456, allocations: 203.9 kB / 0.8481 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002014/0.4458, allocations: 72.8 kB / 0.8482 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.832e-05/0.4459, allocations: 35.91 kB / 0.8482 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001055/0.4469, allocations: 1.572 MB / 0.8498 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4469, allocations: 4 kB / 0.8498 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/0.449, allocations: 1.867 MB / 0.8516 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003584/0.4494, allocations: 278.8 kB / 0.8519 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-05/0.4495, allocations: 31.94 kB / 0.8519 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004338/0.4499, allocations: 72.48 kB / 0.852 GB, free: 7.402 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.45, allocations: 92.77 kB / 0.8521 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-05/0.4501, allocations: 51.97 kB / 0.8521 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005726/0.4507, allocations: 0.6462 MB / 0.8527 GB, free: 6.605 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5e-08/0.4507, allocations: 0 / 0.8527 GB, free: 6.605 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009032/0.4516, allocations: 466.9 kB / 0.8532 GB, free: 6.148 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.003921/0.4555, allocations: 3.066 MB / 0.8562 GB, free: 3.289 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0013/0.4568, allocations: 1.03 MB / 0.8572 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.4568, allocations: 3.938 kB / 0.8572 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006714/0.4575, allocations: 0.6294 MB / 0.8578 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.4587, allocations: 0.5328 MB / 0.8583 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009341/0.468, allocations: 8.849 MB / 0.867 GB, free: 8.047 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.4684, allocations: 0.5793 MB / 0.8675 GB, free: 7.438 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007937/0.4692, allocations: 361.9 kB / 0.8679 GB, free: 7.082 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006792/0.4699, allocations: 0.5471 MB / 0.8684 GB, free: 6.535 MB / 0.698 GB Notification: Performance of SimCode: time 1.082e-06/0.4699, allocations: 0 / 0.8684 GB, free: 6.535 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04577/0.5157, allocations: 36.27 MB / 0.9038 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.714/9.23, allocations: 0 / 0.9038 GB, free: 2.828 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=50 --tolerance=1e-06 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: 12.311816232278943] Failed to read output from testmodel.py, exit status != 0: 9.391215945594013 9.399990947 8.983442318 Calling exit ...