Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="BuildingSystems_BuildingSystems_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.007386/0.007386, allocations: 98.17 kB / 15.73 MB, free: 6.055 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.001952/0.001952, allocations: 193.6 kB / 16.68 MB, free: 5.969 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.474/1.474, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002502/0.002502, allocations: 300.6 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.25/1.25, allocations: 178.5 MB / 0.5074 GB, free: 12.71 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002743/0.002743, allocations: 95.84 kB / 0.6943 GB, free: 15.21 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4776/0.4803, allocations: 89.13 MB / 0.7813 GB, free: 1.141 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007298/0.4877, allocations: 5.213 MB / 0.7864 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1919/0.6796, allocations: 150.7 MB / 0.9335 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.6809, allocations: 23.88 kB / 0.9336 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0007056/0.6816, allocations: 194.2 kB / 0.9338 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002393/0.684, allocations: 0.5749 MB / 0.9343 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002413/0.6865, allocations: 0.8485 MB / 0.9351 GB, free: 10.65 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002033/0.6885, allocations: 1.451 MB / 0.9366 GB, free: 9.195 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009937/0.6895, allocations: 0.6108 MB / 0.9372 GB, free: 8.562 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008294/0.6903, allocations: 0.4983 MB / 0.9376 GB, free: 8.062 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007078/0.6911, allocations: 0.5212 MB / 0.9382 GB, free: 7.539 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001992/0.6913, allocations: 120 kB / 0.9383 GB, free: 7.422 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001237/0.6925, allocations: 495.6 kB / 0.9387 GB, free: 6.938 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003355/0.6929, allocations: 303 kB / 0.939 GB, free: 6.641 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.000626/0.6935, allocations: 0.5907 MB / 0.9396 GB, free: 6.047 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002363/0.6959, allocations: 1.703 MB / 0.9413 GB, free: 4.34 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6959, allocations: 0 / 0.9413 GB, free: 4.34 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6959, allocations: 0 / 0.9413 GB, free: 4.34 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.683e-05/0.6959, allocations: 7.938 kB / 0.9413 GB, free: 4.332 MB / 0.7012 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.00301/0.6989, allocations: 1.526 MB / 0.9428 GB, free: 2.75 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.699, allocations: 16.02 kB / 0.9428 GB, free: 2.734 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001846/0.6992, allocations: 139.7 kB / 0.9429 GB, free: 2.59 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009779/0.7002, allocations: 200 kB / 0.9431 GB, free: 2.395 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/0.7014, allocations: 0.794 MB / 0.9439 GB, free: 1.559 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.369e-05/0.7015, allocations: 69.98 kB / 0.9439 GB, free: 1.492 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.7017, allocations: 84 kB / 0.944 GB, free: 1.41 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/0.7034, allocations: 0.9496 MB / 0.945 GB, free: 428 kB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/0.7034, allocations: 0 / 0.945 GB, free: 428 kB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.517e-05/0.7035, allocations: 39.94 kB / 0.945 GB, free: 388 kB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/0.7035, allocations: 24 kB / 0.945 GB, free: 364 kB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001845/0.7054, allocations: 1.139 MB / 0.9461 GB, free: 15.22 MB / 0.7169 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.004318/0.7097, allocations: 2.791 MB / 0.9489 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.7114, allocations: 0.8397 MB / 0.9497 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005912/0.712, allocations: 322.7 kB / 0.95 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.089e-05/0.7121, allocations: 34.69 kB / 0.95 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009124/0.713, allocations: 0.5119 MB / 0.9505 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=85): time 2.515e-06/0.713, allocations: 0 / 0.9505 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=85): time 0.00338/0.7164, allocations: 1.251 MB / 0.9517 GB, free: 9.289 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/0.7165, allocations: 192.9 kB / 0.9519 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008577/0.7174, allocations: 0.6451 MB / 0.9526 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.088e-05/0.7175, allocations: 45.69 kB / 0.9526 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003846/0.7179, allocations: 425 kB / 0.953 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002402/0.7181, allocations: 289.6 kB / 0.9533 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002472/0.7184, allocations: 150.6 kB / 0.9534 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.7186, allocations: 390.7 kB / 0.9538 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005382/0.7191, allocations: 257.9 kB / 0.954 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000649/0.7198, allocations: 378.5 kB / 0.9544 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.7209, allocations: 0.6008 MB / 0.955 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.7209, allocations: 0 / 0.955 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002/0.7229, allocations: 0.8452 MB / 0.9558 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.723, allocations: 4 kB / 0.9558 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.723, allocations: 0 / 0.9558 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005973/0.7236, allocations: 80.88 kB / 0.9559 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006667/0.7243, allocations: 167.7 kB / 0.9561 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002271/0.7265, allocations: 1.638 MB / 0.9577 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000673/0.7272, allocations: 91.45 kB / 0.9577 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-05/0.7273, allocations: 31.98 kB / 0.9578 GB, free: 2.832 MB / 0.7169 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.0004383/0.7277, allocations: 265.8 kB / 0.958 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/0.7279, allocations: 91.42 kB / 0.9581 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002471/0.7304, allocations: 1.097 MB / 0.9592 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.7304, allocations: 12 kB / 0.9592 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.7304, allocations: 0 / 0.9592 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.7304, allocations: 7.969 kB / 0.9592 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.7316, allocations: 0.9271 MB / 0.9601 GB, free: 376 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.7316, allocations: 3.938 kB / 0.9601 GB, free: 372 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006397/0.7323, allocations: 163.7 kB / 0.9603 GB, free: 208 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004494/0.7327, allocations: 72.78 kB / 0.9603 GB, free: 132 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.84e-05/0.7328, allocations: 27.92 kB / 0.9604 GB, free: 104 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002069/0.7349, allocations: 1.654 MB / 0.962 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.7349, allocations: 0 / 0.962 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002848/0.7377, allocations: 1.371 MB / 0.9633 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004319/0.7382, allocations: 292.1 kB / 0.9636 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.7383, allocations: 20.06 kB / 0.9636 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006295/0.739, allocations: 67.86 kB / 0.9637 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.7391, allocations: 76.88 kB / 0.9638 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.345e-05/0.7392, allocations: 35.98 kB / 0.9638 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006366/0.7399, allocations: 475 kB / 0.9642 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7399, allocations: 0 / 0.9642 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008362/0.7407, allocations: 331.2 kB / 0.9646 GB, free: 11.63 MB / 0.7325 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.004992/0.7457, allocations: 2.431 MB / 0.9669 GB, free: 9.348 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001825/0.7476, allocations: 0.8195 MB / 0.9677 GB, free: 8.516 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.7476, allocations: 4 kB / 0.9677 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000982/0.7486, allocations: 0.5394 MB / 0.9683 GB, free: 7.965 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.7499, allocations: 299.1 kB / 0.9685 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.7612, allocations: 6.546 MB / 0.9749 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008253/0.7621, allocations: 1.047 MB / 0.976 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009842/0.7631, allocations: 270.8 kB / 0.9762 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005993/0.7637, allocations: 411.2 kB / 0.9766 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of SimCode: time 5.81e-07/0.7637, allocations: 0 / 0.9766 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4347/1.198, allocations: 22.28 MB / 0.9984 GB, free: 198.6 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/14.34, allocations: 7.453 kB / 0.9984 GB, free: 198.6 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.csv --start-time 0 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1)