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.001087/0.001087, allocations: 101 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.001177/0.001177, allocations: 190.5 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.319/1.319, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7477/0.7477, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 63.89 kB / 0.4912 GB, free: 7.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3559, allocations: 77.93 MB / 0.5673 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006614/0.3626, allocations: 5.077 MB / 0.5722 GB, free: 29.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1549/0.5176, allocations: 150.6 MB / 0.7193 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.5187, allocations: 15.94 kB / 0.7194 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008767/0.5196, allocations: 214 kB / 0.7196 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00301/0.5227, allocations: 0.5546 MB / 0.7201 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002515/0.5252, allocations: 0.8353 MB / 0.7209 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001907/0.5271, allocations: 1.42 MB / 0.7223 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009766/0.5281, allocations: 0.5912 MB / 0.7229 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006635/0.5288, allocations: 498.3 kB / 0.7234 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005218/0.5293, allocations: 0.5134 MB / 0.7239 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001655/0.5295, allocations: 120 kB / 0.724 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008461/0.5303, allocations: 463.6 kB / 0.7244 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002504/0.5306, allocations: 303 kB / 0.7247 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004706/0.5311, allocations: 0.5674 MB / 0.7253 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001657/0.5327, allocations: 1.632 MB / 0.7269 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.5327, allocations: 0 / 0.7269 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.492e-06/0.5328, allocations: 3.938 kB / 0.7269 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.832e-05/0.5328, allocations: 4 kB / 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.00234/0.5351, allocations: 1.458 MB / 0.7283 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.5352, allocations: 16.62 kB / 0.7283 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001484/0.5353, allocations: 139.5 kB / 0.7284 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008805/0.5362, allocations: 187.3 kB / 0.7286 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009718/0.5372, allocations: 0.7622 MB / 0.7294 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.081e-05/0.5373, allocations: 65.98 kB / 0.7294 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.5374, allocations: 88 kB / 0.7295 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/0.5388, allocations: 0.9379 MB / 0.7304 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.5388, allocations: 4 kB / 0.7304 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.026e-05/0.5389, allocations: 36 kB / 0.7305 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/0.5389, allocations: 20 kB / 0.7305 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001673/0.5406, allocations: 1.12 MB / 0.7316 GB, free: 1.871 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.003853/0.5445, allocations: 2.755 MB / 0.7343 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/0.546, allocations: 0.816 MB / 0.7351 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005433/0.5466, allocations: 314.7 kB / 0.7354 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.258e-05/0.5466, allocations: 32.61 kB / 0.7354 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009332/0.5476, allocations: 497 kB / 0.7359 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 2.534e-06/0.5476, allocations: 0 / 0.7359 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.003153/0.5508, allocations: 1.217 MB / 0.7371 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.5509, allocations: 188.6 kB / 0.7372 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008398/0.5517, allocations: 0.6372 MB / 0.7379 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.666e-05/0.5518, allocations: 49.64 kB / 0.7379 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003428/0.5522, allocations: 412.3 kB / 0.7383 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000238/0.5524, allocations: 268.1 kB / 0.7386 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000235/0.5527, allocations: 150.5 kB / 0.7387 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.5528, allocations: 386.8 kB / 0.7391 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004738/0.5533, allocations: 253.8 kB / 0.7393 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000549/0.5539, allocations: 362.6 kB / 0.7397 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.5549, allocations: 0.5877 MB / 0.7402 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.5549, allocations: 0 / 0.7402 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001862/0.5568, allocations: 0.8136 MB / 0.741 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.5568, allocations: 7.938 kB / 0.741 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.5568, allocations: 0 / 0.741 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006039/0.5574, allocations: 88.84 kB / 0.7411 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006264/0.5581, allocations: 159.8 kB / 0.7413 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/0.5603, allocations: 1.632 MB / 0.7429 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007971/0.5611, allocations: 95.23 kB / 0.743 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.732e-05/0.5612, allocations: 27.98 kB / 0.743 GB, free: 5.734 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.0004514/0.5617, allocations: 274.2 kB / 0.7432 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.5618, allocations: 82.97 kB / 0.7433 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002324/0.5642, allocations: 1.07 MB / 0.7444 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.5642, allocations: 11.94 kB / 0.7444 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.5642, allocations: 4 kB / 0.7444 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.5642, allocations: 12.02 kB / 0.7444 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.5653, allocations: 0.9035 MB / 0.7453 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.5654, allocations: 0 / 0.7453 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006058/0.566, allocations: 151.8 kB / 0.7454 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004414/0.5664, allocations: 80.72 kB / 0.7455 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.686e-05/0.5665, allocations: 23.98 kB / 0.7455 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001916/0.5684, allocations: 1.658 MB / 0.7471 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.5684, allocations: 0 / 0.7471 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3317/0.9002, allocations: 1.332 MB / 0.7484 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007724/0.901, allocations: 267.8 kB / 0.7487 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/0.9012, allocations: 28.94 kB / 0.7487 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007392/0.9019, allocations: 65.61 kB / 0.7488 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002269/0.9022, allocations: 68.8 kB / 0.7488 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.816e-05/0.9023, allocations: 40.69 kB / 0.7489 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008127/0.9031, allocations: 466.3 kB / 0.7493 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.01e-07/0.9031, allocations: 0 / 0.7493 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001116/0.9042, allocations: 327.7 kB / 0.7496 GB, free: 170.1 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.004658/0.9089, allocations: 2.386 MB / 0.752 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002624/0.9115, allocations: 1.017 MB / 0.753 GB, free: 169 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.9115, allocations: 0 / 0.753 GB, free: 169 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009765/0.9125, allocations: 0.5191 MB / 0.7535 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.9139, allocations: 306.1 kB / 0.7538 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.9244, allocations: 6.59 MB / 0.7602 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005731/0.925, allocations: 1.039 MB / 0.7612 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009387/0.9259, allocations: 265.5 kB / 0.7615 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004829/0.9264, allocations: 397.8 kB / 0.7618 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of SimCode: time 7.62e-07/0.9264, allocations: 0 / 0.7618 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05375/0.9802, allocations: 21.65 MB / 0.783 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/12.14, allocations: 8.047 kB / 0.783 GB, free: 151.5 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.csv --start-time 0 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse1.fmu > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1)