Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005712/0.005712, allocations: 101.5 kB / 15.88 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 196.3 kB / 16.79 MB, free: 6.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6926/0.6926, allocations: 115.3 MB / 406 MB, free: 2.773 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 75.25 kB / 493 MB, free: 6.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1413, allocations: 76.17 MB / 0.5558 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006272/0.1476, allocations: 5.194 MB / 0.5609 GB, free: 5.516 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3979/0.5455, allocations: 148.4 MB / 0.7058 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000747/0.5463, allocations: 15.94 kB / 0.7058 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006195/0.5469, allocations: 154.6 kB / 0.7059 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00156/0.5485, allocations: 495.2 kB / 0.7064 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001741/0.5502, allocations: 0.7239 MB / 0.7071 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001651/0.5519, allocations: 1.369 MB / 0.7085 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008769/0.5528, allocations: 0.5754 MB / 0.709 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000633/0.5534, allocations: 442.2 kB / 0.7094 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000685/0.5541, allocations: 0.5015 MB / 0.7099 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001974/0.5543, allocations: 60 kB / 0.71 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007685/0.5551, allocations: 400.6 kB / 0.7104 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002259/0.5553, allocations: 251 kB / 0.7106 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005679/0.5559, allocations: 0.5283 MB / 0.7111 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001539/0.5574, allocations: 1.591 MB / 0.7127 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5575, allocations: 0 / 0.7127 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.31e-07/0.5575, allocations: 0 / 0.7127 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.5575, allocations: 0 / 0.7127 GB, free: 6.172 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002664/0.5602, allocations: 1.502 MB / 0.7141 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.5602, allocations: 13.62 kB / 0.7142 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001443/0.5603, allocations: 135.7 kB / 0.7143 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008472/0.5612, allocations: 195.3 kB / 0.7145 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009678/0.5622, allocations: 0.7626 MB / 0.7152 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.167e-05/0.5622, allocations: 66 kB / 0.7153 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.5624, allocations: 87.94 kB / 0.7154 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.5638, allocations: 0.9496 MB / 0.7163 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.5638, allocations: 0 / 0.7163 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.916e-05/0.5639, allocations: 39.98 kB / 0.7163 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.564, allocations: 24 kB / 0.7164 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001688/0.5656, allocations: 1.136 MB / 0.7175 GB, free: 1.129 MB / 0.5294 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.00387/0.5695, allocations: 2.807 MB / 0.7202 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/0.571, allocations: 0.8483 MB / 0.721 GB, free: 13.35 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005282/0.5716, allocations: 326.6 kB / 0.7213 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.238e-05/0.5717, allocations: 32.67 kB / 0.7214 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009725/0.5726, allocations: 0.5099 MB / 0.7219 GB, free: 12.47 MB / 0.545 GB Notification: Performance of pre-optimization done (n=85): time 3.807e-06/0.5726, allocations: 0 / 0.7219 GB, free: 12.47 MB / 0.545 GB Notification: Performance of matching and sorting (n=85): time 0.003234/0.5759, allocations: 1.251 MB / 0.7231 GB, free: 11.2 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.875e-05/0.576, allocations: 188.9 kB / 0.7233 GB, free: 10.97 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000721/0.5767, allocations: 0.6489 MB / 0.7239 GB, free: 10.31 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.01e-05/0.5768, allocations: 49.69 kB / 0.724 GB, free: 10.25 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003189/0.5771, allocations: 408.4 kB / 0.7243 GB, free: 9.848 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002434/0.5774, allocations: 284 kB / 0.7246 GB, free: 9.566 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/0.5776, allocations: 146.6 kB / 0.7248 GB, free: 9.418 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.5778, allocations: 390.7 kB / 0.7251 GB, free: 9.027 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004936/0.5783, allocations: 261.9 kB / 0.7254 GB, free: 8.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005715/0.5789, allocations: 370.5 kB / 0.7257 GB, free: 8.383 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.58, allocations: 0.6047 MB / 0.7263 GB, free: 7.766 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.58, allocations: 0 / 0.7263 GB, free: 7.766 MB / 0.545 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002025/0.5821, allocations: 0.8447 MB / 0.7272 GB, free: 6.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.5821, allocations: 8 kB / 0.7272 GB, free: 6.902 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.5821, allocations: 0 / 0.7272 GB, free: 6.902 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005817/0.5827, allocations: 80.84 kB / 0.7272 GB, free: 6.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007312/0.5834, allocations: 159.8 kB / 0.7274 GB, free: 6.664 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00202/0.5855, allocations: 1.521 MB / 0.7289 GB, free: 5.008 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006292/0.5861, allocations: 91.31 kB / 0.729 GB, free: 4.918 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-05/0.5862, allocations: 31.98 kB / 0.729 GB, free: 4.887 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (92): * Single equations (assignments): 91 * 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.0003571/0.5865, allocations: 278.4 kB / 0.7293 GB, free: 4.605 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.5867, allocations: 90.88 kB / 0.7293 GB, free: 4.516 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002331/0.589, allocations: 1.091 MB / 0.7304 GB, free: 3.422 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.589, allocations: 15.94 kB / 0.7304 GB, free: 3.406 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.589, allocations: 3.984 kB / 0.7304 GB, free: 3.402 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.5891, allocations: 3.984 kB / 0.7304 GB, free: 3.398 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.5901, allocations: 0.9313 MB / 0.7313 GB, free: 2.418 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.5901, allocations: 3.75 kB / 0.7313 GB, free: 2.418 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006041/0.5907, allocations: 151.8 kB / 0.7315 GB, free: 2.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005036/0.5913, allocations: 84.77 kB / 0.7316 GB, free: 2.184 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-05/0.5913, allocations: 27.98 kB / 0.7316 GB, free: 2.156 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001752/0.5931, allocations: 1.548 MB / 0.7331 GB, free: 472 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5931, allocations: 3.938 kB / 0.7331 GB, free: 468 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002625/0.5957, allocations: 1.363 MB / 0.7344 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003376/0.5961, allocations: 279.8 kB / 0.7347 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.5962, allocations: 16 kB / 0.7347 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006434/0.5968, allocations: 81.7 kB / 0.7348 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.597, allocations: 72.84 kB / 0.7349 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-05/0.5971, allocations: 39.97 kB / 0.7349 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005372/0.5976, allocations: 471 kB / 0.7354 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5976, allocations: 0 / 0.7354 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008261/0.5985, allocations: 327.2 kB / 0.7357 GB, free: 13.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * 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 (96): * Single equations (assignments): 90 * 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.003988/0.6025, allocations: 2.427 MB / 0.738 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001578/0.6041, allocations: 0.8202 MB / 0.7388 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.6041, allocations: 0 / 0.7388 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008783/0.6049, allocations: 0.5237 MB / 0.7394 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.606, allocations: 283.3 kB / 0.7396 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/0.6173, allocations: 7.178 MB / 0.7466 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005622/0.6179, allocations: 1.039 MB / 0.7476 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008081/0.6187, allocations: 274.9 kB / 0.7479 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005204/0.6192, allocations: 403.3 kB / 0.7483 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of SimCode: time 5.61e-07/0.6192, allocations: 0 / 0.7483 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7002/1.319, allocations: 21.2 MB / 0.769 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004302/1.32, allocations: 272.5 kB / 0.7693 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.598/3.918, allocations: 3.938 kB / 0.7693 GB, free: 11.59 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse2_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1)