Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.000766/0.000766, 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.000883/0.000883, allocations: 170.3 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.8332/0.8332, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.001448/0.001448, allocations: 240.2 kB / 259.4 MB, free: 13.01 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.6573/0.6573, allocations: 138.4 MB / 454.3 MB, free: 29.97 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.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 3.938 kB / 0.6463 GB, free: 1.844 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/2.145e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.84 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.3449/0.3449, allocations: 146.2 MB / 0.7891 GB, free: 8.773 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008192/0.3531, allocations: 7.523 MB / 0.7964 GB, free: 1.227 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006099/0.3537, allocations: 51.62 kB / 0.7965 GB, free: 1.176 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008795/0.3546, allocations: 400.8 kB / 0.7969 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001993/0.3566, allocations: 1.409 MB / 0.7982 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.358, allocations: 1.209 MB / 0.7994 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00147/0.3594, allocations: 2.462 MB / 0.8018 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00078/0.3602, allocations: 0.9641 MB / 0.8028 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009903/0.3612, allocations: 1.196 MB / 0.8039 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007673/0.362, allocations: 0.6512 MB / 0.8046 GB, free: 8.867 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.3621, allocations: 156.7 kB / 0.8047 GB, free: 8.715 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009257/0.363, allocations: 1.033 MB / 0.8057 GB, free: 7.68 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002365/0.3633, allocations: 458.4 kB / 0.8062 GB, free: 7.23 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000315/0.3636, allocations: 0.5299 MB / 0.8067 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001687/0.3653, allocations: 2.551 MB / 0.8092 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3653, allocations: 0 / 0.8092 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3653, allocations: 0 / 0.8092 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.3653, allocations: 4.656 kB / 0.8092 GB, free: 4.137 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.001865/0.3671, allocations: 1.87 MB / 0.811 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.3672, allocations: 9.938 kB / 0.811 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001408/0.3673, allocations: 168.9 kB / 0.8112 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00113/0.3684, allocations: 380.2 kB / 0.8115 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.3695, allocations: 0.9551 MB / 0.8125 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.325e-05/0.3695, allocations: 82.2 kB / 0.8126 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-05/0.3696, allocations: 115.8 kB / 0.8127 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.3709, allocations: 1.523 MB / 0.8142 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.3709, allocations: 0 / 0.8142 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.386e-05/0.371, allocations: 48 kB / 0.8142 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.659e-05/0.371, allocations: 38.12 kB / 0.8142 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.3723, allocations: 1.269 MB / 0.8155 GB, free: 13.45 MB / 0.6511 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.002999/0.3753, allocations: 2.905 MB / 0.8183 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.3763, allocations: 0.9489 MB / 0.8192 GB, free: 9.523 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003869/0.3767, allocations: 360.6 kB / 0.8196 GB, free: 9.168 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.463e-05/0.3768, allocations: 24.98 kB / 0.8196 GB, free: 9.145 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006452/0.3774, allocations: 0.7921 MB / 0.8204 GB, free: 8.285 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=102): time 2.014e-06/0.3774, allocations: 0 / 0.8204 GB, free: 8.285 MB / 0.6511 GB Notification: Performance of matching and sorting (n=102): time 0.001934/0.3793, allocations: 1.375 MB / 0.8217 GB, free: 6.902 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.3794, allocations: 196.9 kB / 0.8219 GB, free: 6.664 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00066/0.3801, allocations: 0.8664 MB / 0.8228 GB, free: 5.773 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.908e-05/0.3801, allocations: 49.7 kB / 0.8228 GB, free: 5.719 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002664/0.3804, allocations: 0.5363 MB / 0.8233 GB, free: 5.176 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/0.3805, allocations: 349 kB / 0.8237 GB, free: 4.832 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/0.3807, allocations: 186.5 kB / 0.8238 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.138e-05/0.3808, allocations: 341.9 kB / 0.8242 GB, free: 4.305 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003626/0.3812, allocations: 317.8 kB / 0.8245 GB, free: 3.996 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006107/0.3818, allocations: 0.5861 MB / 0.825 GB, free: 3.332 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008067/0.3826, allocations: 0.7775 MB / 0.8258 GB, free: 2.527 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.3826, allocations: 4 kB / 0.8258 GB, free: 2.523 MB / 0.6511 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001224/0.3838, allocations: 1.029 MB / 0.8268 GB, free: 1.484 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3838, allocations: 5.25 kB / 0.8268 GB, free: 1.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.3838, allocations: 4.625 kB / 0.8268 GB, free: 1.477 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002798/0.3841, allocations: 87.02 kB / 0.8269 GB, free: 1.391 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003997/0.3845, allocations: 211.7 kB / 0.8271 GB, free: 1.184 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.3857, allocations: 1.53 MB / 0.8286 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003974/0.3861, allocations: 107.4 kB / 0.8287 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.441e-05/0.3861, allocations: 46.66 kB / 0.8287 GB, free: 15.38 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (116): * Single equations (assignments): 115 * 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.0002918/0.3864, allocations: 318.2 kB / 0.829 GB, free: 15.06 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.3865, allocations: 119.2 kB / 0.8292 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/0.388, allocations: 1.253 MB / 0.8304 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.388, allocations: 12 kB / 0.8304 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.388, allocations: 0 / 0.8304 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.388, allocations: 3.984 kB / 0.8304 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008225/0.3888, allocations: 0.9717 MB / 0.8313 GB, free: 12.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.3888, allocations: 0 / 0.8313 GB, free: 12.66 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005748/0.3894, allocations: 207.7 kB / 0.8315 GB, free: 12.46 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000198/0.3896, allocations: 76.72 kB / 0.8316 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.3897, allocations: 35.97 kB / 0.8317 GB, free: 12.34 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009801/0.3906, allocations: 1.542 MB / 0.8332 GB, free: 10.69 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3906, allocations: 4 kB / 0.8332 GB, free: 10.69 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/0.3924, allocations: 1.578 MB / 0.8347 GB, free: 9.086 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003061/0.3927, allocations: 258.9 kB / 0.8349 GB, free: 8.832 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.185e-05/0.3927, allocations: 23.94 kB / 0.835 GB, free: 8.809 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003675/0.3931, allocations: 71.92 kB / 0.835 GB, free: 8.738 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.3932, allocations: 84.77 kB / 0.8351 GB, free: 8.656 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.484e-05/0.3933, allocations: 44.22 kB / 0.8352 GB, free: 8.613 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004744/0.3937, allocations: 0.6022 MB / 0.8358 GB, free: 8 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3e-08/0.3937, allocations: 0 / 0.8358 GB, free: 8 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0005811/0.3943, allocations: 439 kB / 0.8362 GB, free: 7.57 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 107 * 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.003/0.3973, allocations: 2.695 MB / 0.8388 GB, free: 5.105 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001077/0.3984, allocations: 0.9365 MB / 0.8397 GB, free: 4.156 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3984, allocations: 4 kB / 0.8397 GB, free: 4.152 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000565/0.399, allocations: 0.5671 MB / 0.8403 GB, free: 3.57 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009608/0.3999, allocations: 492.3 kB / 0.8407 GB, free: 3.121 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007802/0.4077, allocations: 8.235 MB / 0.8488 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.4081, allocations: 0.5676 MB / 0.8493 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00054/0.4086, allocations: 333.2 kB / 0.8497 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004548/0.4091, allocations: 0.5198 MB / 0.8502 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of SimCode: time 4.61e-07/0.4091, allocations: 0 / 0.8502 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04538/0.4544, allocations: 32.38 MB / 0.8818 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.457/8.911, allocations: 11.19 kB / 0.8818 GB, free: 9.352 MB / 0.7136 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.csv --start-time 0 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse3.fmu > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.641121728345752] Failed to read output from testmodel.py, exit status != 0: 9.062916729599237 9.070486839 8.703549688 Calling exit ...