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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 105.9 kB / 16.45 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 196.6 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002637/0.002637, allocations: 283.9 kB / 303 MB, free: 9.5 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.234/1.234, allocations: 180.9 MB / 0.5261 GB, free: 14.64 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002739/0.002739, allocations: 99.64 kB / 0.7248 GB, free: 40.14 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.183, allocations: 94.16 MB / 0.8167 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.2059/0.389, allocations: 166.6 MB / 0.9794 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01412/0.4031, allocations: 7.853 MB / 0.9871 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001516/0.4046, allocations: 27.88 kB / 0.9871 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001505/0.4061, allocations: 420.9 kB / 0.9875 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00415/0.4103, allocations: 1.346 MB / 0.9888 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003468/0.4137, allocations: 1.184 MB / 0.99 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00388/0.4176, allocations: 2.348 MB / 0.9923 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001932/0.4195, allocations: 0.98 MB / 0.9932 GB, free: 28 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001807/0.4213, allocations: 0.8329 MB / 0.994 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002025/0.4234, allocations: 0.8091 MB / 0.9948 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0004992/0.4239, allocations: 152 kB / 0.995 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002949/0.4268, allocations: 1.158 MB / 0.9961 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0006619/0.4275, allocations: 438.6 kB / 0.9965 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001488/0.429, allocations: 0.7774 MB / 0.9973 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.005352/0.4343, allocations: 2.428 MB / 0.9996 GB, free: 9.422 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.4343, allocations: 4 kB / 0.9996 GB, free: 9.418 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.903e-06/0.4343, allocations: 0 / 0.9996 GB, free: 9.418 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.783e-05/0.4344, allocations: 0 / 0.9996 GB, free: 9.418 MB / 0.7481 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.004962/0.4394, allocations: 1.934 MB / 1.002 GB, free: 7.422 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.4394, allocations: 8.031 kB / 1.002 GB, free: 7.414 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003431/0.4398, allocations: 168.9 kB / 1.002 GB, free: 7.238 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00224/0.442, allocations: 342.7 kB / 1.002 GB, free: 6.902 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002514/0.4445, allocations: 1.027 MB / 1.003 GB, free: 5.832 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.4446, allocations: 78.2 kB / 1.003 GB, free: 5.754 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002699/0.4449, allocations: 112 kB / 1.003 GB, free: 5.645 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002394/0.4473, allocations: 1.176 MB / 1.004 GB, free: 4.398 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.836e-05/0.4473, allocations: 4 kB / 1.004 GB, free: 4.395 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/0.4474, allocations: 44 kB / 1.004 GB, free: 4.352 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.087e-05/0.4475, allocations: 42.06 kB / 1.004 GB, free: 4.309 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00244/0.4499, allocations: 1.308 MB / 1.006 GB, free: 2.992 MB / 0.7481 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.3855/0.8355, allocations: 3.812 MB / 1.009 GB, free: 189.9 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/0.8373, allocations: 0.9312 MB / 1.01 GB, free: 189.9 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005893/0.8379, allocations: 368.9 kB / 1.011 GB, free: 189.9 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 7.835e-05/0.8379, allocations: 38.17 kB / 1.011 GB, free: 189.9 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/0.839, allocations: 0.5856 MB / 1.011 GB, free: 189.8 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=102): time 2.585e-06/0.839, allocations: 2.062 kB / 1.011 GB, free: 189.8 MB / 0.7481 GB Notification: Performance of matching and sorting (n=102): time 0.003723/0.8427, allocations: 1.441 MB / 1.013 GB, free: 189.5 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.586e-05/0.8427, allocations: 193 kB / 1.013 GB, free: 189.2 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.8439, allocations: 0.8363 MB / 1.014 GB, free: 188.9 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.591e-05/0.844, allocations: 49.7 kB / 1.014 GB, free: 188.8 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003898/0.8444, allocations: 0.5284 MB / 1.014 GB, free: 188.5 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002584/0.8446, allocations: 359.9 kB / 1.015 GB, free: 188.3 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002825/0.8449, allocations: 181.6 kB / 1.015 GB, free: 188.2 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 7.71e-05/0.845, allocations: 349.7 kB / 1.015 GB, free: 187.9 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006133/0.8456, allocations: 314.3 kB / 1.015 GB, free: 187.8 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007387/0.8463, allocations: 476.9 kB / 1.016 GB, free: 187.5 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.8477, allocations: 0.776 MB / 1.017 GB, free: 187.1 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.8477, allocations: 1.875 kB / 1.017 GB, free: 187.1 MB / 0.7481 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002422/0.8501, allocations: 1.029 MB / 1.018 GB, free: 186.7 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.8501, allocations: 11.91 kB / 1.018 GB, free: 186.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.8501, allocations: 2.031 kB / 1.018 GB, free: 186.7 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000619/0.8507, allocations: 84.97 kB / 1.018 GB, free: 186.7 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008875/0.8516, allocations: 207.3 kB / 1.018 GB, free: 186.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00189/0.8535, allocations: 1.639 MB / 1.02 GB, free: 185.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009412/0.8545, allocations: 108.4 kB / 1.02 GB, free: 185.1 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.746e-05/0.8545, allocations: 41.33 kB / 1.02 GB, free: 185.1 MB / 0.7481 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.0005372/0.8551, allocations: 318.5 kB / 1.02 GB, free: 184.9 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002155/0.8553, allocations: 123.8 kB / 1.02 GB, free: 184.8 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002918/0.8582, allocations: 1.245 MB / 1.021 GB, free: 184.4 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.107e-05/0.8582, allocations: 12.78 kB / 1.021 GB, free: 184.4 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.8582, allocations: 0 / 1.021 GB, free: 184.4 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.8582, allocations: 5.062 kB / 1.021 GB, free: 184.4 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001956/0.8602, allocations: 1.173 MB / 1.022 GB, free: 183.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.8602, allocations: 0.5312 kB / 1.022 GB, free: 183.8 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.8612, allocations: 206.3 kB / 1.023 GB, free: 183.8 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004665/0.8617, allocations: 77.58 kB / 1.023 GB, free: 183.8 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.74e-05/0.8618, allocations: 29.5 kB / 1.023 GB, free: 183.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001708/0.8635, allocations: 1.662 MB / 1.024 GB, free: 182.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.8635, allocations: 3.875 kB / 1.024 GB, free: 182.2 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002871/0.8663, allocations: 1.578 MB / 1.026 GB, free: 181.6 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004812/0.8668, allocations: 328.4 kB / 1.026 GB, free: 181.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.867, allocations: 28.88 kB / 1.026 GB, free: 181.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007631/0.8677, allocations: 70.33 kB / 1.026 GB, free: 181.3 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/0.8679, allocations: 83.22 kB / 1.026 GB, free: 181.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-05/0.868, allocations: 46.42 kB / 1.026 GB, free: 181.3 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007795/0.8687, allocations: 0.5848 MB / 1.027 GB, free: 181 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8687, allocations: 0 / 1.027 GB, free: 181 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001032/0.8698, allocations: 424.5 kB / 1.027 GB, free: 181 MB / 0.7481 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.004446/0.8742, allocations: 2.663 MB / 1.03 GB, free: 179.7 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001811/0.876, allocations: 0.9344 MB / 1.031 GB, free: 179.2 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.876, allocations: 0 / 1.031 GB, free: 179.2 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000895/0.8769, allocations: 0.5638 MB / 1.032 GB, free: 178.9 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00168/0.8786, allocations: 489.8 kB / 1.032 GB, free: 178.5 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.8891, allocations: 8.252 MB / 1.04 GB, free: 170.1 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004581/0.8895, allocations: 1.161 MB / 1.041 GB, free: 169 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009912/0.8905, allocations: 326.5 kB / 1.042 GB, free: 168.6 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005153/0.891, allocations: 0.5071 MB / 1.042 GB, free: 168.1 MB / 0.7481 GB Notification: Performance of SimCode: time 1.093e-06/0.891, allocations: 0 / 1.042 GB, free: 168.1 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07958/0.9706, allocations: 29.78 MB / 1.071 GB, free: 138.8 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.99/14.96, allocations: 23.06 kB / 1.071 GB, free: 138.7 MB / 0.7481 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse3_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=50 --tolerance=1e-06 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: 19.491225911770016] Failed to read output from testmodel.py, exit status != 0: 15.171721666119993 15.190006116 14.751469414 Calling exit ...