Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.SimpleHouse0,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse0",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.001043/0.001043, allocations: 98.58 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 181.3 kB / 16.92 MB, free: 6.688 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.47/1.47, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.727/0.727, allocations: 115.5 MB / 407.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000314/0.0003141, allocations: 8 kB / 495.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1529, allocations: 77.53 MB / 0.56 GB, free: 8.953 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.005577/0.1585, allocations: 4.47 MB / 0.5644 GB, free: 4.465 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.5172/0.6757, allocations: 146.7 MB / 0.7076 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001167/0.6769, allocations: 15.88 kB / 0.7077 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009778/0.6779, allocations: 150.8 kB / 0.7078 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002737/0.6807, allocations: 475.3 kB / 0.7083 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002802/0.6835, allocations: 0.7095 MB / 0.709 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00236/0.6859, allocations: 1.283 MB / 0.7102 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.6872, allocations: 0.5506 MB / 0.7107 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009052/0.6881, allocations: 350.4 kB / 0.7111 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008692/0.689, allocations: 389.8 kB / 0.7115 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002404/0.6893, allocations: 28 kB / 0.7115 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001272/0.6905, allocations: 367.6 kB / 0.7118 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000335/0.6909, allocations: 183.1 kB / 0.712 GB, free: 11 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008393/0.6917, allocations: 474.8 kB / 0.7125 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00261/0.6944, allocations: 1.479 MB / 0.7139 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.6944, allocations: 4 kB / 0.7139 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.385e-06/0.6944, allocations: 0 / 0.7139 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.423e-05/0.6945, allocations: 4 kB / 0.7139 GB, free: 9.039 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.003079/0.6975, allocations: 1.217 MB / 0.7151 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.6976, allocations: 12.03 kB / 0.7151 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002099/0.6978, allocations: 131.3 kB / 0.7152 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000964/0.6988, allocations: 195.4 kB / 0.7154 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.7, allocations: 0.7508 MB / 0.7162 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.877e-05/0.7001, allocations: 62 kB / 0.7162 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.7002, allocations: 80 kB / 0.7163 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/0.7018, allocations: 0.9075 MB / 0.7172 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.7019, allocations: 3.938 kB / 0.7172 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.899e-05/0.702, allocations: 43.98 kB / 0.7172 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/0.702, allocations: 20 kB / 0.7172 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001826/0.7038, allocations: 1.104 MB / 0.7183 GB, free: 4.383 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.00426/0.7081, allocations: 2.801 MB / 0.7211 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.7096, allocations: 0.7847 MB / 0.7218 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005494/0.7102, allocations: 306.5 kB / 0.7221 GB, free: 372 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.667e-05/0.7102, allocations: 36.59 kB / 0.7221 GB, free: 336 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000908/0.7112, allocations: 487.2 kB / 0.7226 GB, free: 15.83 MB / 0.545 GB Notification: Performance of pre-optimization done (n=78): time 2.665e-06/0.7112, allocations: 0 / 0.7226 GB, free: 15.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=78): time 0.003213/0.7144, allocations: 1.194 MB / 0.7238 GB, free: 14.61 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001359/0.7145, allocations: 196.6 kB / 0.724 GB, free: 14.38 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008855/0.7154, allocations: 0.6293 MB / 0.7246 GB, free: 13.73 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.205e-05/0.7155, allocations: 49.64 kB / 0.7246 GB, free: 13.68 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004093/0.7159, allocations: 400.2 kB / 0.725 GB, free: 13.28 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002254/0.7162, allocations: 252.4 kB / 0.7252 GB, free: 13.03 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.741e-05/0.7163, allocations: 57.69 kB / 0.7253 GB, free: 12.97 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.7165, allocations: 386.7 kB / 0.7257 GB, free: 12.58 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000509/0.717, allocations: 253.9 kB / 0.7259 GB, free: 12.33 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005964/0.7176, allocations: 363.4 kB / 0.7263 GB, free: 11.95 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.7187, allocations: 0.5847 MB / 0.7268 GB, free: 11.35 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.7187, allocations: 0 / 0.7268 GB, free: 11.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001838/0.7205, allocations: 0.8019 MB / 0.7276 GB, free: 10.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.7206, allocations: 7.984 kB / 0.7276 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.7206, allocations: 2.5 kB / 0.7276 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006198/0.7212, allocations: 80.91 kB / 0.7277 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006126/0.7218, allocations: 159.7 kB / 0.7279 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/0.7241, allocations: 1.512 MB / 0.7293 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007545/0.7249, allocations: 103.4 kB / 0.7294 GB, free: 8.539 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.856e-05/0.7249, allocations: 32.61 kB / 0.7295 GB, free: 8.508 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (85): * Single equations (assignments): 84 * 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.0005122/0.7255, allocations: 268 kB / 0.7297 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/0.7257, allocations: 86.91 kB / 0.7298 GB, free: 8.152 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002481/0.7282, allocations: 1.058 MB / 0.7308 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.7282, allocations: 8 kB / 0.7308 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.7282, allocations: 0 / 0.7308 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.7282, allocations: 11.97 kB / 0.7309 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/0.7295, allocations: 0.8884 MB / 0.7317 GB, free: 6.121 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.7295, allocations: 0 / 0.7317 GB, free: 6.121 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005752/0.7301, allocations: 139.8 kB / 0.7319 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005262/0.7306, allocations: 84.77 kB / 0.7319 GB, free: 5.898 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.879e-05/0.7307, allocations: 27.98 kB / 0.732 GB, free: 5.871 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001992/0.7327, allocations: 1.548 MB / 0.7335 GB, free: 4.188 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.7327, allocations: 3.938 kB / 0.7335 GB, free: 4.184 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002178/0.7349, allocations: 0.9278 MB / 0.7344 GB, free: 3.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005265/0.7355, allocations: 287.6 kB / 0.7347 GB, free: 2.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/0.7356, allocations: 20 kB / 0.7347 GB, free: 2.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007193/0.7364, allocations: 75.94 kB / 0.7347 GB, free: 2.836 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/0.7366, allocations: 68.89 kB / 0.7348 GB, free: 2.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.833e-05/0.7366, allocations: 39.97 kB / 0.7348 GB, free: 2.73 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006988/0.7374, allocations: 459 kB / 0.7353 GB, free: 2.285 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7374, allocations: 0 / 0.7353 GB, free: 2.285 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001025/0.7384, allocations: 311.3 kB / 0.7356 GB, free: 1.98 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (89): * Single equations (assignments): 83 * 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.004026/0.7424, allocations: 1.968 MB / 0.7375 GB, free: 188 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001835/0.7443, allocations: 0.8004 MB / 0.7383 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.7443, allocations: 256 / 0.7383 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009969/0.7453, allocations: 0.512 MB / 0.7388 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00147/0.7468, allocations: 270.3 kB / 0.739 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.015/0.7618, allocations: 6.81 MB / 0.7457 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007782/0.7626, allocations: 1.023 MB / 0.7467 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000995/0.7637, allocations: 262.7 kB / 0.7469 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006365/0.7643, allocations: 387.3 kB / 0.7473 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of SimCode: time 1.412e-06/0.7643, allocations: 0 / 0.7473 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04601/0.8103, allocations: 20.14 MB / 0.767 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002378/0.8106, allocations: 273 kB / 0.7672 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.473/3.283, allocations: 4 kB / 0.7672 GB, free: 1.828 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse0_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse0.fmu > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1)