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.0009765/0.0009767, allocations: 98.42 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.001163/0.001163, allocations: 183.2 kB / 16.92 MB, free: 6.691 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.443/1.443, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6824/0.6824, allocations: 115.5 MB / 407.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003058/0.0003058, allocations: 8 kB / 495.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1548, allocations: 77.53 MB / 0.56 GB, free: 8.922 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006374/0.1613, allocations: 4.661 MB / 0.5646 GB, free: 4.242 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.554/0.7153, allocations: 146.7 MB / 0.7079 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.7163, allocations: 15.94 kB / 0.7079 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007951/0.7171, allocations: 158.8 kB / 0.708 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001963/0.7191, allocations: 486.3 kB / 0.7085 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002065/0.7212, allocations: 0.7284 MB / 0.7092 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002402/0.7236, allocations: 1.322 MB / 0.7105 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001669/0.7253, allocations: 0.5603 MB / 0.7111 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001046/0.7264, allocations: 366.2 kB / 0.7114 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008461/0.7272, allocations: 409.8 kB / 0.7118 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002617/0.7275, allocations: 28 kB / 0.7118 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001379/0.7289, allocations: 367.6 kB / 0.7122 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003908/0.7293, allocations: 191.1 kB / 0.7124 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007684/0.7301, allocations: 498.8 kB / 0.7128 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002511/0.7326, allocations: 1.526 MB / 0.7143 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.7327, allocations: 0 / 0.7143 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7327, allocations: 0 / 0.7143 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.206e-05/0.7328, allocations: 0 / 0.7143 GB, free: 8.547 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.004735/0.7375, allocations: 1.249 MB / 0.7155 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.615e-05/0.7376, allocations: 8.031 kB / 0.7155 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004352/0.738, allocations: 145.9 kB / 0.7157 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001677/0.7397, allocations: 195.3 kB / 0.7159 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002194/0.7419, allocations: 0.7662 MB / 0.7166 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-05/0.742, allocations: 62 kB / 0.7167 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/0.7422, allocations: 80 kB / 0.7168 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00229/0.7445, allocations: 0.9456 MB / 0.7177 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/0.7446, allocations: 0 / 0.7177 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.7447, allocations: 40 kB / 0.7177 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.841e-05/0.7447, allocations: 20 kB / 0.7177 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002693/0.7474, allocations: 1.132 MB / 0.7188 GB, free: 3.777 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.006081/0.7535, allocations: 2.79 MB / 0.7216 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002156/0.7557, allocations: 0.8204 MB / 0.7224 GB, free: 36 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008036/0.7565, allocations: 314.7 kB / 0.7227 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001051/0.7567, allocations: 32.59 kB / 0.7227 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00124/0.7579, allocations: 0.4913 MB / 0.7232 GB, free: 15.18 MB / 0.545 GB Notification: Performance of pre-optimization done (n=82): time 3.587e-06/0.7579, allocations: 4 kB / 0.7232 GB, free: 15.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=82): time 0.004412/0.7623, allocations: 1.219 MB / 0.7244 GB, free: 13.93 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/0.7625, allocations: 196.5 kB / 0.7246 GB, free: 13.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.7637, allocations: 0.6449 MB / 0.7252 GB, free: 13.04 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.38e-05/0.7638, allocations: 37.7 kB / 0.7252 GB, free: 13 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004479/0.7643, allocations: 416.3 kB / 0.7256 GB, free: 12.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002999/0.7646, allocations: 264.1 kB / 0.7259 GB, free: 12.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.7647, allocations: 65.67 kB / 0.7259 GB, free: 12.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002333/0.765, allocations: 386.8 kB / 0.7263 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007144/0.7657, allocations: 253.9 kB / 0.7265 GB, free: 11.62 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008533/0.7665, allocations: 370.5 kB / 0.7269 GB, free: 11.23 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001553/0.7681, allocations: 0.5994 MB / 0.7275 GB, free: 10.62 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.7681, allocations: 3.938 kB / 0.7275 GB, free: 10.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002603/0.7707, allocations: 0.8175 MB / 0.7283 GB, free: 9.789 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.7708, allocations: 12.09 kB / 0.7283 GB, free: 9.777 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.7708, allocations: 3.984 kB / 0.7283 GB, free: 9.773 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007809/0.7716, allocations: 88.7 kB / 0.7284 GB, free: 9.684 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009113/0.7725, allocations: 159.7 kB / 0.7285 GB, free: 9.531 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002658/0.7752, allocations: 1.52 MB / 0.73 GB, free: 7.879 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/0.7762, allocations: 107.2 kB / 0.7301 GB, free: 7.773 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.046e-05/0.7763, allocations: 27.98 kB / 0.7302 GB, free: 7.746 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 (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.0006196/0.7769, allocations: 276 kB / 0.7304 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/0.7772, allocations: 82.97 kB / 0.7305 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003396/0.7806, allocations: 1.077 MB / 0.7316 GB, free: 6.301 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.7806, allocations: 8 kB / 0.7316 GB, free: 6.293 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.7806, allocations: 3.938 kB / 0.7316 GB, free: 6.289 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/0.7806, allocations: 7.922 kB / 0.7316 GB, free: 6.281 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/0.7822, allocations: 0.9074 MB / 0.7325 GB, free: 5.324 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.7822, allocations: 4 kB / 0.7325 GB, free: 5.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008999/0.7831, allocations: 159.7 kB / 0.7326 GB, free: 5.164 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007147/0.7839, allocations: 88.78 kB / 0.7327 GB, free: 5.074 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.411e-05/0.7839, allocations: 27.97 kB / 0.7327 GB, free: 5.047 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002443/0.7864, allocations: 1.544 MB / 0.7342 GB, free: 3.359 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.7864, allocations: 4.062 kB / 0.7342 GB, free: 3.355 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003858/0.7903, allocations: 1.351 MB / 0.7356 GB, free: 1.984 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006243/0.7909, allocations: 283.8 kB / 0.7358 GB, free: 1.688 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002144/0.7912, allocations: 19.98 kB / 0.7358 GB, free: 1.668 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.7922, allocations: 80 kB / 0.7359 GB, free: 1.59 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002236/0.7924, allocations: 76.89 kB / 0.736 GB, free: 1.512 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.7925, allocations: 31.98 kB / 0.736 GB, free: 1.48 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009708/0.7935, allocations: 471 kB / 0.7365 GB, free: 1.023 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.7935, allocations: 0 / 0.7365 GB, free: 1.023 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001338/0.7949, allocations: 327.1 kB / 0.7368 GB, free: 0.7031 MB / 0.545 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.006153/0.801, allocations: 2.405 MB / 0.7391 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002416/0.8035, allocations: 0.8122 MB / 0.7399 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.8035, allocations: 4 kB / 0.7399 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001349/0.8049, allocations: 0.5237 MB / 0.7404 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/0.8068, allocations: 281.3 kB / 0.7407 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01447/0.8213, allocations: 7.079 MB / 0.7476 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006529/0.822, allocations: 1.031 MB / 0.7486 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008792/0.8229, allocations: 254.8 kB / 0.7489 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005918/0.8235, allocations: 399.3 kB / 0.7493 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of SimCode: time 8.52e-07/0.8235, allocations: 0 / 0.7493 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0472/0.8707, allocations: 20.56 MB / 0.7693 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002754/0.8711, allocations: 268.9 kB / 0.7696 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.511/3.382, allocations: 64 / 0.7696 GB, free: 15.32 MB / 0.5919 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)