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.001555/0.001555, allocations: 102.1 kB / 15.98 MB, free: 6.348 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.001921/0.001921, allocations: 195.1 kB / 16.91 MB, free: 6.191 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.457/1.457, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7377/0.7377, allocations: 115.3 MB / 406.1 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 63.91 kB / 493.2 MB, free: 0.6836 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4483/0.4498, allocations: 76.17 MB / 0.556 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.008619/0.4585, allocations: 5.191 MB / 0.5611 GB, free: 32.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1755/0.634, allocations: 148.4 MB / 0.706 GB, free: 10.51 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001714/0.6358, allocations: 15.94 kB / 0.7061 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000891/0.6367, allocations: 150.8 kB / 0.7062 GB, free: 10.35 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002334/0.6391, allocations: 0.5026 MB / 0.7067 GB, free: 9.848 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002703/0.6418, allocations: 0.7512 MB / 0.7074 GB, free: 9.105 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002253/0.6441, allocations: 1.443 MB / 0.7088 GB, free: 7.652 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/0.6452, allocations: 0.6113 MB / 0.7094 GB, free: 7.012 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009705/0.6462, allocations: 0.5022 MB / 0.7099 GB, free: 6.508 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006282/0.6468, allocations: 0.5328 MB / 0.7104 GB, free: 5.973 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001583/0.647, allocations: 124 kB / 0.7106 GB, free: 5.852 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.6482, allocations: 459.6 kB / 0.711 GB, free: 5.402 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003211/0.6486, allocations: 311 kB / 0.7113 GB, free: 5.098 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005555/0.6491, allocations: 0.5869 MB / 0.7119 GB, free: 4.508 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001898/0.651, allocations: 1.655 MB / 0.7135 GB, free: 2.848 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.473e-05/0.6511, allocations: 4 kB / 0.7135 GB, free: 2.844 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.767e-06/0.6511, allocations: 0 / 0.7135 GB, free: 2.844 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.675e-05/0.6511, allocations: 3.938 kB / 0.7135 GB, free: 2.84 MB / 0.545 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.002662/0.6538, allocations: 1.489 MB / 0.715 GB, free: 1.301 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.6538, allocations: 8.031 kB / 0.715 GB, free: 1.293 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001595/0.654, allocations: 143.7 kB / 0.7151 GB, free: 1.145 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009227/0.6549, allocations: 191.3 kB / 0.7153 GB, free: 0.957 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.656, allocations: 0.7738 MB / 0.716 GB, free: 144 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.087e-05/0.6561, allocations: 66 kB / 0.7161 GB, free: 80 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.6562, allocations: 84.05 kB / 0.7162 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/0.6579, allocations: 0.9574 MB / 0.7171 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/0.6579, allocations: 0 / 0.7171 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.56e-05/0.658, allocations: 36 kB / 0.7171 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.435e-05/0.658, allocations: 24 kB / 0.7172 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00169/0.6597, allocations: 1.132 MB / 0.7183 GB, free: 13.81 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.004346/0.6641, allocations: 2.813 MB / 0.721 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/0.6658, allocations: 0.8435 MB / 0.7218 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005393/0.6663, allocations: 326.7 kB / 0.7222 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.991e-05/0.6664, allocations: 30.75 kB / 0.7222 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001168/0.6676, allocations: 0.5081 MB / 0.7227 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=85): time 3.927e-06/0.6676, allocations: 0 / 0.7227 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85): time 0.003827/0.6715, allocations: 1.251 MB / 0.7239 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001614/0.6716, allocations: 188.9 kB / 0.7241 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.6728, allocations: 0.6566 MB / 0.7247 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.367e-05/0.6729, allocations: 41.7 kB / 0.7248 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004882/0.6734, allocations: 412.4 kB / 0.7252 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003272/0.6737, allocations: 279.9 kB / 0.7254 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000325/0.6741, allocations: 146.6 kB / 0.7256 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002259/0.6743, allocations: 394.8 kB / 0.7259 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000616/0.6749, allocations: 257.9 kB / 0.7262 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007801/0.6757, allocations: 370.5 kB / 0.7265 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.6769, allocations: 0.6086 MB / 0.7271 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.6769, allocations: 0 / 0.7271 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00204/0.679, allocations: 0.8408 MB / 0.728 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.679, allocations: 4 kB / 0.728 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.679, allocations: 8.094 kB / 0.728 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006608/0.6797, allocations: 76.77 kB / 0.728 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006939/0.6804, allocations: 163.8 kB / 0.7282 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002457/0.6829, allocations: 1.638 MB / 0.7298 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008101/0.6837, allocations: 87.33 kB / 0.7299 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.378e-05/0.6838, allocations: 35.97 kB / 0.7299 GB, free: 1.426 MB / 0.5606 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.0005603/0.6843, allocations: 267.4 kB / 0.7302 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002457/0.6846, allocations: 90.88 kB / 0.7303 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002589/0.6872, allocations: 1.094 MB / 0.7313 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.6872, allocations: 12.03 kB / 0.7313 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6872, allocations: 4 kB / 0.7313 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.6873, allocations: 3.984 kB / 0.7313 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/0.6886, allocations: 0.9385 MB / 0.7323 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/0.6886, allocations: 3.938 kB / 0.7323 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000657/0.6893, allocations: 155.8 kB / 0.7324 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004692/0.6898, allocations: 72.78 kB / 0.7325 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.96e-05/0.6899, allocations: 23.98 kB / 0.7325 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/0.6918, allocations: 1.654 MB / 0.7341 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6918, allocations: 0 / 0.7341 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002744/0.6946, allocations: 1.375 MB / 0.7355 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004523/0.6951, allocations: 287.5 kB / 0.7357 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/0.6952, allocations: 20 kB / 0.7358 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006917/0.6959, allocations: 65.39 kB / 0.7358 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/0.6961, allocations: 76.91 kB / 0.7359 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.988e-05/0.6962, allocations: 35.97 kB / 0.7359 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007083/0.6969, allocations: 471 kB / 0.7364 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.61e-07/0.6969, allocations: 4 kB / 0.7364 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001063/0.698, allocations: 331.2 kB / 0.7367 GB, free: 10.23 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 (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.004752/0.7028, allocations: 2.42 MB / 0.7391 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002664/0.7054, allocations: 1.034 MB / 0.7401 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.7055, allocations: 4 kB / 0.7401 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.7065, allocations: 0.5313 MB / 0.7406 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/0.708, allocations: 311.2 kB / 0.7409 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2947/1.003, allocations: 7.162 MB / 0.7479 GB, free: 172 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008346/1.004, allocations: 1.044 MB / 0.7489 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001197/1.005, allocations: 260.5 kB / 0.7492 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006198/1.005, allocations: 409.8 kB / 0.7495 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of SimCode: time 1.512e-06/1.005, allocations: 0.9688 kB / 0.7495 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05925/1.065, allocations: 21.81 MB / 0.7708 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001589/1.065, allocations: 275.8 kB / 0.7711 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.549/3.614, allocations: 2.875 kB / 0.7711 GB, free: 165.3 MB / 0.5762 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)