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: translateModel(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001398/0.001398, allocations: 114.4 kB / 17.08 MB, free: 6 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.001552/0.001552, allocations: 193.8 kB / 18.02 MB, free: 5.082 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.368/1.368, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7024/0.7024, allocations: 115.3 MB / 407.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002277/0.002277, allocations: 63.94 kB / 0.5583 GB, free: 32.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1616, allocations: 76.18 MB / 0.6327 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.00689/0.1686, allocations: 5.093 MB / 0.6377 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.615/0.7836, allocations: 150.6 MB / 0.7848 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/0.7847, allocations: 20.34 kB / 0.7848 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006523/0.7853, allocations: 201.3 kB / 0.785 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001821/0.7872, allocations: 0.561 MB / 0.7855 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.7891, allocations: 0.8383 MB / 0.7864 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001373/0.7905, allocations: 1.43 MB / 0.7878 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008241/0.7913, allocations: 0.5927 MB / 0.7883 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006884/0.792, allocations: 0.4936 MB / 0.7888 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006064/0.7926, allocations: 0.5165 MB / 0.7893 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001753/0.7928, allocations: 117.9 kB / 0.7894 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.7938, allocations: 489.2 kB / 0.7899 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003036/0.7942, allocations: 300.2 kB / 0.7902 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005841/0.7948, allocations: 0.5777 MB / 0.7907 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002005/0.7968, allocations: 1.654 MB / 0.7924 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.7968, allocations: 7.688 kB / 0.7924 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.284e-06/0.7968, allocations: 0 / 0.7924 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.483e-05/0.7968, allocations: 2.344 kB / 0.7924 GB, free: 13.12 MB / 0.5919 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.002529/0.7993, allocations: 1.458 MB / 0.7938 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.7994, allocations: 10.22 kB / 0.7938 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009524/0.8004, allocations: 192.4 kB / 0.794 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.8016, allocations: 0.7768 MB / 0.7947 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.15e-05/0.8016, allocations: 64.91 kB / 0.7948 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.8018, allocations: 84.72 kB / 0.7949 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.8033, allocations: 0.9429 MB / 0.7958 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.8033, allocations: 2.375 kB / 0.7958 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.46e-05/0.8034, allocations: 34.5 kB / 0.7958 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.719e-05/0.8034, allocations: 21.5 kB / 0.7959 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001699/0.8051, allocations: 1.126 MB / 0.797 GB, free: 11.73 MB / 0.5919 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.003925/0.809, allocations: 2.74 MB / 0.7996 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/0.8105, allocations: 0.811 MB / 0.8004 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004961/0.811, allocations: 312.8 kB / 0.8007 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.817e-05/0.811, allocations: 32.83 kB / 0.8008 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008166/0.8119, allocations: 0.4916 MB / 0.8012 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.315e-06/0.8119, allocations: 0 / 0.8012 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.003053/0.8149, allocations: 1.208 MB / 0.8024 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.8151, allocations: 190.6 kB / 0.8026 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007346/0.8158, allocations: 0.644 MB / 0.8032 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.752e-05/0.8159, allocations: 44.14 kB / 0.8033 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002887/0.8162, allocations: 401.2 kB / 0.8037 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/0.8164, allocations: 273.6 kB / 0.8039 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/0.8166, allocations: 164.7 kB / 0.8041 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001912/0.8168, allocations: 392.8 kB / 0.8045 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004895/0.8173, allocations: 266.9 kB / 0.8047 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005777/0.8179, allocations: 365.9 kB / 0.8051 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.8189, allocations: 0.6116 MB / 0.8057 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.8189, allocations: 0 / 0.8057 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001803/0.8207, allocations: 0.8703 MB / 0.8065 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.8208, allocations: 11.03 kB / 0.8065 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.8208, allocations: 0.6562 kB / 0.8065 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005676/0.8214, allocations: 78.72 kB / 0.8066 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000667/0.822, allocations: 178.7 kB / 0.8068 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00213/0.8242, allocations: 1.616 MB / 0.8083 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007261/0.8249, allocations: 100.2 kB / 0.8084 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.606e-05/0.825, allocations: 39.23 kB / 0.8085 GB, free: 6.641 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.0004243/0.8254, allocations: 279.1 kB / 0.8087 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.8256, allocations: 85.56 kB / 0.8088 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002209/0.8278, allocations: 1.073 MB / 0.8099 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.8278, allocations: 11.81 kB / 0.8099 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.8278, allocations: 0 / 0.8099 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-05/0.8279, allocations: 10.25 kB / 0.8099 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.8289, allocations: 0.9035 MB / 0.8108 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.8289, allocations: 3.938 kB / 0.8108 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006025/0.8295, allocations: 154.2 kB / 0.8109 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004205/0.83, allocations: 72.06 kB / 0.811 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.259e-05/0.83, allocations: 29.48 kB / 0.811 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00181/0.8318, allocations: 1.654 MB / 0.8126 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.8319, allocations: 144 / 0.8126 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002487/0.8344, allocations: 1.34 MB / 0.8139 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003755/0.8347, allocations: 271.2 kB / 0.8142 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.8349, allocations: 17.28 kB / 0.8142 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006177/0.8355, allocations: 78.27 kB / 0.8143 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.8356, allocations: 68.19 kB / 0.8144 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-05/0.8357, allocations: 38.38 kB / 0.8144 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005584/0.8363, allocations: 459.6 kB / 0.8148 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8363, allocations: 0 / 0.8148 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008983/0.8372, allocations: 333.7 kB / 0.8151 GB, free: 2.387 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.001328/0.8385, allocations: 0.6048 MB / 0.8157 GB, free: 2.117 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001677/0.8402, allocations: 0.8264 MB / 0.8165 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.8402, allocations: 8.125 kB / 0.8166 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009045/0.8411, allocations: 0.5216 MB / 0.8171 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.8424, allocations: 296.5 kB / 0.8173 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003249/0.8456, allocations: 1.822 MB / 0.8191 GB, free: 144 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006336/0.8463, allocations: 1.034 MB / 0.8201 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000315/0.8466, allocations: 117.3 kB / 0.8202 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of SimCode: time 5.41e-07/0.8466, allocations: 10.09 kB / 0.8203 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of Templates: time 0.02393/0.8706, allocations: 18.87 MB / 0.8387 GB, free: 152 kB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile (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 & ./IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1)