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.001352/0.001353, 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.001352/0.001352, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.404/1.404, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002459/0.002459, allocations: 282.2 kB / 290.4 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.092/1.092, allocations: 178.6 MB / 0.5069 GB, free: 4.75 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002855/0.002855, allocations: 95.2 kB / 0.6059 GB, free: 25.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1722, allocations: 89.15 MB / 0.693 GB, free: 4.719 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007041/0.1793, allocations: 5.107 MB / 0.6979 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4523/0.6316, allocations: 148.4 MB / 0.8429 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006814/0.6323, allocations: 19.06 kB / 0.8429 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005453/0.6329, allocations: 166 kB / 0.843 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001457/0.6344, allocations: 494.9 kB / 0.8435 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0017/0.6361, allocations: 0.756 MB / 0.8443 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001339/0.6374, allocations: 1.414 MB / 0.8456 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008233/0.6383, allocations: 0.5932 MB / 0.8462 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005433/0.6388, allocations: 0.4947 MB / 0.8467 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000552/0.6394, allocations: 0.5076 MB / 0.8472 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.6395, allocations: 118.4 kB / 0.8473 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000697/0.6402, allocations: 460 kB / 0.8477 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002767/0.6405, allocations: 303.1 kB / 0.848 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004824/0.641, allocations: 0.5739 MB / 0.8486 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001644/0.6427, allocations: 1.622 MB / 0.8502 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.6427, allocations: 0 / 0.8502 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6427, allocations: 0 / 0.8502 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.729e-05/0.6427, allocations: 3.75 kB / 0.8502 GB, free: 4.609 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.002526/0.6452, allocations: 1.468 MB / 0.8516 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.6453, allocations: 10.34 kB / 0.8516 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000891/0.6462, allocations: 193.2 kB / 0.8518 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.6472, allocations: 0.754 MB / 0.8525 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.884e-05/0.6473, allocations: 66.19 kB / 0.8526 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.6474, allocations: 86.5 kB / 0.8527 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.649, allocations: 0.942 MB / 0.8536 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.649, allocations: 0 / 0.8536 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-05/0.6491, allocations: 38.34 kB / 0.8537 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.6491, allocations: 20.03 kB / 0.8537 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/0.6508, allocations: 1.121 MB / 0.8548 GB, free: 1.516 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.003981/0.6548, allocations: 2.774 MB / 0.8575 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.6562, allocations: 0.8123 MB / 0.8583 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005079/0.6568, allocations: 307.3 kB / 0.8586 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.395e-05/0.6568, allocations: 31.42 kB / 0.8586 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008906/0.6577, allocations: 0.4919 MB / 0.8591 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.144e-06/0.6578, allocations: 4 kB / 0.8591 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.003114/0.6609, allocations: 1.207 MB / 0.8603 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.661, allocations: 190.7 kB / 0.8604 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007344/0.6618, allocations: 0.6441 MB / 0.8611 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.001e-05/0.6618, allocations: 45.08 kB / 0.8611 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/0.6622, allocations: 399.8 kB / 0.8615 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002279/0.6624, allocations: 271.4 kB / 0.8617 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002441/0.6626, allocations: 162.2 kB / 0.8619 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002101/0.6629, allocations: 396.7 kB / 0.8623 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004972/0.6634, allocations: 265.9 kB / 0.8625 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006197/0.664, allocations: 371.3 kB / 0.8629 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.6651, allocations: 0.6073 MB / 0.8635 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.6651, allocations: 0 / 0.8635 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001867/0.667, allocations: 0.8729 MB / 0.8643 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.667, allocations: 8.594 kB / 0.8643 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.667, allocations: 0 / 0.8643 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006117/0.6676, allocations: 78.59 kB / 0.8644 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006449/0.6683, allocations: 173.3 kB / 0.8646 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00221/0.6705, allocations: 1.637 MB / 0.8662 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007092/0.6712, allocations: 91.47 kB / 0.8663 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.944e-05/0.6713, allocations: 40.16 kB / 0.8663 GB, free: 9.164 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.0004116/0.6717, allocations: 278.4 kB / 0.8666 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.6719, allocations: 83.41 kB / 0.8667 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002315/0.6742, allocations: 1.075 MB / 0.8677 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.6742, allocations: 10.03 kB / 0.8677 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.6742, allocations: 0 / 0.8677 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.6742, allocations: 3.984 kB / 0.8677 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.6753, allocations: 0.9079 MB / 0.8686 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.6753, allocations: 0 / 0.8686 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006472/0.676, allocations: 151.8 kB / 0.8687 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004377/0.6764, allocations: 76.72 kB / 0.8688 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-05/0.6765, allocations: 31.91 kB / 0.8688 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001956/0.6784, allocations: 1.65 MB / 0.8705 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.6784, allocations: 0 / 0.8705 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002677/0.6811, allocations: 1.34 MB / 0.8718 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003603/0.6815, allocations: 272 kB / 0.872 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.6816, allocations: 27.98 kB / 0.8721 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006171/0.6823, allocations: 67.86 kB / 0.8721 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.6824, allocations: 68.89 kB / 0.8722 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.172e-05/0.6825, allocations: 35.98 kB / 0.8722 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006054/0.6831, allocations: 471 kB / 0.8727 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.074e-06/0.6831, allocations: 0 / 0.8727 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008909/0.684, allocations: 335.1 kB / 0.873 GB, free: 2.828 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.001888/0.6859, allocations: 0.5957 MB / 0.8736 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002436/0.6884, allocations: 1.055 MB / 0.8746 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.6884, allocations: 0 / 0.8746 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009555/0.6893, allocations: 0.5161 MB / 0.8751 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.6906, allocations: 303.5 kB / 0.8754 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003434/0.694, allocations: 2.221 MB / 0.8776 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006985/0.6947, allocations: 1.031 MB / 0.8786 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008469/0.6956, allocations: 262.7 kB / 0.8788 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002625/0.6958, allocations: 111.4 kB / 0.8789 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of SimCode: time 5.91e-07/0.6958, allocations: 0 / 0.8789 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of Templates: time 0.02604/0.7219, allocations: 15.15 MB / 0.8937 GB, free: 13.89 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)