Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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: translateModel(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001267/0.001267, allocations: 195.3 kB / 16.14 MB, free: 6.648 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.434/1.434, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002564/0.002564, allocations: 298.5 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.049/1.049, allocations: 178.6 MB / 0.5068 GB, free: 4.773 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00267/0.00267, allocations: 95.84 kB / 0.6057 GB, free: 25.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1582, allocations: 89.15 MB / 0.6928 GB, free: 4.875 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006619/0.1648, allocations: 5.105 MB / 0.6978 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4387/0.6035, allocations: 148.3 MB / 0.8426 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007685/0.6043, allocations: 19.62 kB / 0.8426 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005579/0.6049, allocations: 157 kB / 0.8428 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001455/0.6064, allocations: 487.2 kB / 0.8432 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001691/0.6081, allocations: 0.7287 MB / 0.844 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001361/0.6094, allocations: 1.323 MB / 0.8452 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008448/0.6103, allocations: 0.57 MB / 0.8458 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005717/0.6109, allocations: 433.1 kB / 0.8462 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005172/0.6114, allocations: 489.9 kB / 0.8467 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.6115, allocations: 57.47 kB / 0.8467 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007739/0.6123, allocations: 397.1 kB / 0.8471 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002447/0.6126, allocations: 246.8 kB / 0.8473 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004544/0.613, allocations: 0.515 MB / 0.8479 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001488/0.6145, allocations: 1.572 MB / 0.8494 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.6145, allocations: 0 / 0.8494 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6145, allocations: 4 kB / 0.8494 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.6146, allocations: 0 / 0.8494 GB, free: 4.812 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002511/0.6171, allocations: 1.455 MB / 0.8508 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.6171, allocations: 10.72 kB / 0.8508 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008861/0.618, allocations: 192.9 kB / 0.851 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.619, allocations: 0.7505 MB / 0.8517 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.836e-05/0.6191, allocations: 69.86 kB / 0.8518 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.6192, allocations: 83.09 kB / 0.8519 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001491/0.6207, allocations: 0.9453 MB / 0.8528 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.6207, allocations: 6.109 kB / 0.8528 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.38e-05/0.6208, allocations: 35.78 kB / 0.8528 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.6208, allocations: 20.62 kB / 0.8529 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001655/0.6225, allocations: 1.123 MB / 0.854 GB, free: 1.73 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.003895/0.6264, allocations: 2.773 MB / 0.8567 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/0.6278, allocations: 0.8034 MB / 0.8575 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004982/0.6283, allocations: 310.5 kB / 0.8578 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.955e-05/0.6284, allocations: 25.14 kB / 0.8578 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008717/0.6293, allocations: 0.5033 MB / 0.8583 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.835e-06/0.6293, allocations: 0 / 0.8583 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.002989/0.6323, allocations: 1.202 MB / 0.8594 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.6324, allocations: 195 kB / 0.8596 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007188/0.6331, allocations: 0.642 MB / 0.8603 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.189e-05/0.6332, allocations: 42.52 kB / 0.8603 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003241/0.6335, allocations: 410.6 kB / 0.8607 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002145/0.6338, allocations: 268.8 kB / 0.8609 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/0.634, allocations: 164.9 kB / 0.8611 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.6342, allocations: 392.3 kB / 0.8615 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004996/0.6347, allocations: 273.8 kB / 0.8617 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005964/0.6353, allocations: 367.7 kB / 0.8621 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.6364, allocations: 0.6103 MB / 0.8627 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.6364, allocations: 0 / 0.8627 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00182/0.6382, allocations: 0.8647 MB / 0.8635 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.6382, allocations: 12.5 kB / 0.8635 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.6383, allocations: 4.328 kB / 0.8635 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005846/0.6388, allocations: 83.48 kB / 0.8636 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006233/0.6395, allocations: 167.4 kB / 0.8638 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/0.6415, allocations: 1.523 MB / 0.8653 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007048/0.6423, allocations: 96.41 kB / 0.8654 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.901e-05/0.6423, allocations: 38.88 kB / 0.8654 GB, free: 9.477 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (97): * Single equations (assignments): 96 * 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.0004016/0.6427, allocations: 266.9 kB / 0.8657 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/0.6429, allocations: 87.47 kB / 0.8657 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00225/0.6452, allocations: 1.066 MB / 0.8668 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.6452, allocations: 10.17 kB / 0.8668 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.6452, allocations: 3.984 kB / 0.8668 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.6452, allocations: 7.922 kB / 0.8668 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.6463, allocations: 0.9088 MB / 0.8677 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.6463, allocations: 0 / 0.8677 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005912/0.6469, allocations: 161.5 kB / 0.8678 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000512/0.6474, allocations: 83.88 kB / 0.8679 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.874e-05/0.6475, allocations: 30.25 kB / 0.868 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001837/0.6493, allocations: 1.546 MB / 0.8695 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6493, allocations: 0 / 0.8695 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002621/0.652, allocations: 1.343 MB / 0.8708 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003687/0.6523, allocations: 271.8 kB / 0.871 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.6525, allocations: 16 kB / 0.871 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006128/0.6531, allocations: 63.92 kB / 0.8711 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.6532, allocations: 76.95 kB / 0.8712 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.026e-05/0.6533, allocations: 31.98 kB / 0.8712 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005984/0.6539, allocations: 467 kB / 0.8717 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6539, allocations: 0 / 0.8717 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008504/0.6548, allocations: 335.1 kB / 0.872 GB, free: 3.848 MB / 0.5919 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.001824/0.6566, allocations: 0.6024 MB / 0.8726 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001695/0.6583, allocations: 0.8361 MB / 0.8734 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6583, allocations: 0 / 0.8734 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009516/0.6593, allocations: 0.5237 MB / 0.8739 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.6604, allocations: 288.2 kB / 0.8742 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003316/0.6637, allocations: 2.209 MB / 0.8763 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006616/0.6644, allocations: 1.035 MB / 0.8773 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008142/0.6652, allocations: 254.8 kB / 0.8776 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002775/0.6655, allocations: 107.4 kB / 0.8777 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of SimCode: time 5.41e-07/0.6655, allocations: 3.938 kB / 0.8777 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of Templates: time 0.02462/0.6901, allocations: 14.62 MB / 0.892 GB, free: 15.66 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1)