Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.SimpleHouse1,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse1",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.001084/0.001084, allocations: 100.9 kB / 16.27 MB, free: 5.93 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.001117/0.001118, allocations: 186.3 kB / 17.2 MB, free: 5.574 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.411/1.411, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7437/0.7437, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 55.91 kB / 0.4912 GB, free: 7.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4291/0.4304, allocations: 77.92 MB / 0.5673 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006635/0.4371, allocations: 5.087 MB / 0.5722 GB, free: 29.19 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.183/0.6201, allocations: 150.6 MB / 0.7193 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001445/0.6216, allocations: 15.94 kB / 0.7194 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.6227, allocations: 210 kB / 0.7196 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002971/0.6257, allocations: 0.5502 MB / 0.7201 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002857/0.6286, allocations: 0.8407 MB / 0.7209 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002211/0.6308, allocations: 1.416 MB / 0.7223 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001365/0.6322, allocations: 0.5913 MB / 0.7229 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.6333, allocations: 498.3 kB / 0.7234 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001135/0.6344, allocations: 0.5134 MB / 0.7239 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004062/0.6348, allocations: 120 kB / 0.724 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001522/0.6364, allocations: 459.7 kB / 0.7244 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004815/0.6369, allocations: 303 kB / 0.7247 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.6379, allocations: 0.583 MB / 0.7253 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003012/0.6409, allocations: 1.624 MB / 0.7269 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.6409, allocations: 0 / 0.7269 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.545e-06/0.6409, allocations: 0 / 0.7269 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.737e-05/0.641, allocations: 0 / 0.7269 GB, free: 6.836 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.004126/0.6452, allocations: 1.474 MB / 0.7283 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/0.6452, allocations: 8.625 kB / 0.7283 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001702/0.6454, allocations: 139.6 kB / 0.7284 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.6464, allocations: 187.3 kB / 0.7286 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.6476, allocations: 0.7622 MB / 0.7294 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.655e-05/0.6477, allocations: 65.98 kB / 0.7294 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.6478, allocations: 84 kB / 0.7295 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/0.6494, allocations: 0.934 MB / 0.7304 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.6494, allocations: 0 / 0.7304 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.642e-05/0.6495, allocations: 43.98 kB / 0.7305 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/0.6495, allocations: 20 kB / 0.7305 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001735/0.6513, allocations: 1.124 MB / 0.7316 GB, free: 1.863 MB / 0.5606 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.004219/0.6555, allocations: 2.756 MB / 0.7343 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001468/0.657, allocations: 0.8121 MB / 0.7351 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000522/0.6575, allocations: 313.6 kB / 0.7354 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.692e-05/0.6576, allocations: 28.61 kB / 0.7354 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008948/0.6585, allocations: 0.497 MB / 0.7359 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 3.977e-06/0.6585, allocations: 4 kB / 0.7359 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.003365/0.6619, allocations: 1.205 MB / 0.737 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/0.662, allocations: 200.5 kB / 0.7372 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009032/0.6629, allocations: 0.6333 MB / 0.7379 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.859e-05/0.663, allocations: 53.58 kB / 0.7379 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003503/0.6634, allocations: 408.3 kB / 0.7383 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002385/0.6636, allocations: 268.1 kB / 0.7386 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002321/0.6639, allocations: 150.5 kB / 0.7387 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.664, allocations: 386.8 kB / 0.7391 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005071/0.6646, allocations: 253.9 kB / 0.7393 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006161/0.6652, allocations: 358.6 kB / 0.7397 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.6663, allocations: 0.5916 MB / 0.7402 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.6663, allocations: 0 / 0.7402 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001975/0.6683, allocations: 0.8136 MB / 0.741 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.6683, allocations: 8 kB / 0.741 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.6684, allocations: 0 / 0.741 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000629/0.669, allocations: 88.84 kB / 0.7411 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006716/0.6697, allocations: 155.8 kB / 0.7413 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002427/0.6721, allocations: 1.63 MB / 0.7429 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008136/0.6729, allocations: 95.2 kB / 0.7429 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.709e-05/0.673, allocations: 27.98 kB / 0.743 GB, free: 5.73 MB / 0.5762 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 (89): * Single equations (assignments): 88 * 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.0005641/0.6736, allocations: 270.7 kB / 0.7432 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003173/0.6739, allocations: 90.97 kB / 0.7433 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00249/0.6764, allocations: 1.073 MB / 0.7444 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.6765, allocations: 8 kB / 0.7444 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.6765, allocations: 4 kB / 0.7444 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-05/0.6765, allocations: 3.984 kB / 0.7444 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.6778, allocations: 0.9074 MB / 0.7453 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.6778, allocations: 0 / 0.7453 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006287/0.6785, allocations: 155.8 kB / 0.7454 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004547/0.6789, allocations: 72.73 kB / 0.7455 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.227e-05/0.679, allocations: 31.97 kB / 0.7455 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001944/0.681, allocations: 1.65 MB / 0.7471 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.681, allocations: 4.031 kB / 0.7471 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3589/1.04, allocations: 1.331 MB / 0.7484 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006364/1.041, allocations: 274 kB / 0.7487 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/1.041, allocations: 25.45 kB / 0.7487 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007188/1.042, allocations: 64.06 kB / 0.7488 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002135/1.042, allocations: 74 kB / 0.7488 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-05/1.042, allocations: 36.64 kB / 0.7489 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007437/1.043, allocations: 472.7 kB / 0.7493 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.71e-07/1.043, allocations: 1.094 kB / 0.7493 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001049/1.044, allocations: 321.4 kB / 0.7496 GB, free: 170.6 MB / 0.5762 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 (93): * Single equations (assignments): 87 * 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.004622/1.048, allocations: 2.384 MB / 0.752 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002655/1.051, allocations: 1.012 MB / 0.753 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.051, allocations: 0.5312 kB / 0.753 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/1.052, allocations: 0.5281 MB / 0.7535 GB, free: 169 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/1.053, allocations: 306.6 kB / 0.7538 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/1.066, allocations: 6.593 MB / 0.7602 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006826/1.066, allocations: 1.033 MB / 0.7612 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001108/1.067, allocations: 262.9 kB / 0.7615 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005533/1.068, allocations: 395.1 kB / 0.7618 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.172e-06/1.068, allocations: 1.812 kB / 0.7618 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05196/1.12, allocations: 21.67 MB / 0.783 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.99, allocations: 7.078 kB / 0.783 GB, free: 151.6 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse1_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse1.fmu > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1)