Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.SimpleHouse0,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="BuildingSystems_BuildingSystems_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.001338/0.001338, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001255/0.001255, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.446/1.446, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002603/0.002603, allocations: 275 kB / 290.4 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.06/1.06, allocations: 178.6 MB / 0.507 GB, free: 4.742 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002719/0.002719, allocations: 99.38 kB / 0.606 GB, free: 24.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1726, allocations: 89.15 MB / 0.6931 GB, free: 4.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.007476/0.1801, allocations: 4.92 MB / 0.6979 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.477/0.6571, allocations: 148.3 MB / 0.8428 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009631/0.6581, allocations: 14.66 kB / 0.8428 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008171/0.659, allocations: 161.9 kB / 0.8429 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002142/0.6612, allocations: 485.7 kB / 0.8434 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00213/0.6633, allocations: 0.7469 MB / 0.8441 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001871/0.6652, allocations: 1.363 MB / 0.8454 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009194/0.6661, allocations: 0.5707 MB / 0.846 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000682/0.6668, allocations: 492 kB / 0.8465 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000572/0.6674, allocations: 0.4916 MB / 0.847 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.6675, allocations: 115.5 kB / 0.8471 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007633/0.6683, allocations: 454.3 kB / 0.8475 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000274/0.6686, allocations: 288.6 kB / 0.8478 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000508/0.6691, allocations: 0.5624 MB / 0.8483 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001664/0.6708, allocations: 1.578 MB / 0.8499 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.6708, allocations: 0 / 0.8499 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6708, allocations: 4 kB / 0.8499 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.522e-05/0.6708, allocations: 0 / 0.8499 GB, free: 4.832 MB / 0.5762 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.002461/0.6733, allocations: 1.431 MB / 0.8513 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.6733, allocations: 7.875 kB / 0.8513 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001798/0.6735, allocations: 137.7 kB / 0.8514 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000861/0.6744, allocations: 190.9 kB / 0.8516 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.6754, allocations: 0.7394 MB / 0.8523 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.287e-05/0.6755, allocations: 60.72 kB / 0.8524 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.6756, allocations: 78.12 kB / 0.8524 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.6771, allocations: 0.9173 MB / 0.8533 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.6772, allocations: 0 / 0.8533 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.507e-05/0.6773, allocations: 39.73 kB / 0.8534 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.6773, allocations: 20.12 kB / 0.8534 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001668/0.679, allocations: 1.096 MB / 0.8545 GB, free: 1.688 MB / 0.5762 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.00393/0.6829, allocations: 2.784 MB / 0.8572 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.6843, allocations: 0.7798 MB / 0.8579 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004895/0.6848, allocations: 295.1 kB / 0.8582 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.983e-05/0.6849, allocations: 36.91 kB / 0.8583 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008428/0.6858, allocations: 484.6 kB / 0.8587 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=78): time 1.914e-06/0.6858, allocations: 0 / 0.8587 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=78): time 0.003015/0.6888, allocations: 1.179 MB / 0.8599 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.6889, allocations: 195.3 kB / 0.8601 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007509/0.6897, allocations: 0.6286 MB / 0.8607 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.848e-05/0.6898, allocations: 43.42 kB / 0.8607 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003385/0.6901, allocations: 403.7 kB / 0.8611 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002218/0.6903, allocations: 245.6 kB / 0.8613 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002228/0.6906, allocations: 142.5 kB / 0.8615 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002201/0.6908, allocations: 395.9 kB / 0.8618 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004625/0.6912, allocations: 239.4 kB / 0.8621 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005804/0.6918, allocations: 357.5 kB / 0.8624 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.6929, allocations: 0.5838 MB / 0.863 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.6929, allocations: 0 / 0.863 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001849/0.6947, allocations: 0.7943 MB / 0.8638 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.6948, allocations: 9.062 kB / 0.8638 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.6948, allocations: 0 / 0.8638 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006231/0.6954, allocations: 85.98 kB / 0.8639 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005884/0.696, allocations: 146.1 kB / 0.864 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002214/0.6982, allocations: 1.642 MB / 0.8656 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006512/0.6989, allocations: 87.77 kB / 0.8657 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.697e-05/0.699, allocations: 25.98 kB / 0.8657 GB, free: 9.426 MB / 0.5919 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.0004733/0.6995, allocations: 274.4 kB / 0.866 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/0.6996, allocations: 87.94 kB / 0.8661 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002402/0.702, allocations: 1.051 MB / 0.8671 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.7021, allocations: 9.531 kB / 0.8671 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.7021, allocations: 0 / 0.8671 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/0.7021, allocations: 7.922 kB / 0.8671 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.7032, allocations: 0.8885 MB / 0.868 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.7033, allocations: 0 / 0.868 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005487/0.7038, allocations: 140.2 kB / 0.8681 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004395/0.7043, allocations: 74.25 kB / 0.8682 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.796e-05/0.7043, allocations: 23.67 kB / 0.8682 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002105/0.7064, allocations: 1.651 MB / 0.8698 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7065, allocations: 4.062 kB / 0.8698 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002021/0.7085, allocations: 0.9238 MB / 0.8707 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003666/0.7089, allocations: 267.8 kB / 0.871 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.709, allocations: 19.91 kB / 0.871 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006261/0.7096, allocations: 68.97 kB / 0.871 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.7098, allocations: 68.91 kB / 0.8711 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.42e-05/0.7099, allocations: 39.97 kB / 0.8712 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006347/0.7105, allocations: 466.8 kB / 0.8716 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7105, allocations: 0 / 0.8716 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000869/0.7114, allocations: 307.4 kB / 0.8719 GB, free: 3.926 MB / 0.5919 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.004362/0.7158, allocations: 1.972 MB / 0.8738 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002371/0.7182, allocations: 0.9727 MB / 0.8748 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.7182, allocations: 256 / 0.8748 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009635/0.7191, allocations: 0.5119 MB / 0.8753 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.7204, allocations: 313.7 kB / 0.8756 GB, free: 332 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/0.7326, allocations: 6.745 MB / 0.8822 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007406/0.7334, allocations: 1.019 MB / 0.8831 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000915/0.7343, allocations: 258.7 kB / 0.8834 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005933/0.7349, allocations: 395.3 kB / 0.8838 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of SimCode: time 8.82e-07/0.7349, allocations: 4 kB / 0.8838 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05079/0.7857, allocations: 21.05 MB / 0.9043 GB, free: 3.09 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000291/0.7861, allocations: 294.7 kB / 0.9046 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.422/3.208, allocations: 0 / 0.9046 GB, free: 2.703 MB / 0.6231 GB (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse0_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse0.fmu > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1)