Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 103.9 kB / 16.4 MB, free: 6.504 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.001141/0.001142, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.401/1.401, allocations: 222.9 MB / 241 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.7403/0.7403, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 64.34 kB / 0.5577 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1824, allocations: 76.19 MB / 0.6321 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006965/0.1894, allocations: 5.19 MB / 0.6371 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.6453/0.8347, allocations: 150.7 MB / 0.7843 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.836, allocations: 16.12 kB / 0.7843 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007048/0.8367, allocations: 201.9 kB / 0.7845 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002185/0.839, allocations: 0.5775 MB / 0.785 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002139/0.8411, allocations: 0.8459 MB / 0.7859 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001864/0.843, allocations: 1.451 MB / 0.7873 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009283/0.8439, allocations: 0.6079 MB / 0.7879 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008754/0.8448, allocations: 0.5061 MB / 0.7884 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006478/0.8455, allocations: 0.5275 MB / 0.7889 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001641/0.8456, allocations: 121 kB / 0.789 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001243/0.8469, allocations: 493.3 kB / 0.7895 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003809/0.8473, allocations: 305.2 kB / 0.7898 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006855/0.848, allocations: 0.5861 MB / 0.7903 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002332/0.8503, allocations: 1.694 MB / 0.792 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.8503, allocations: 0 / 0.792 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.635e-06/0.8504, allocations: 0 / 0.792 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.377e-05/0.8504, allocations: 0 / 0.792 GB, free: 13.05 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002754/0.8531, allocations: 1.486 MB / 0.7934 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.8532, allocations: 8.438 kB / 0.7934 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009557/0.8542, allocations: 189.7 kB / 0.7936 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.8553, allocations: 0.7845 MB / 0.7944 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.94e-05/0.8554, allocations: 67.61 kB / 0.7945 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.8555, allocations: 85.22 kB / 0.7945 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.8571, allocations: 0.9583 MB / 0.7955 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.8572, allocations: 7.938 kB / 0.7955 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.653e-05/0.8573, allocations: 36.16 kB / 0.7955 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.8573, allocations: 21.88 kB / 0.7955 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00174/0.859, allocations: 1.135 MB / 0.7966 GB, free: 11.65 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.004173/0.8632, allocations: 2.787 MB / 0.7994 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/0.8648, allocations: 0.8441 MB / 0.8002 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005394/0.8654, allocations: 328.3 kB / 0.8005 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.181e-05/0.8654, allocations: 33.66 kB / 0.8005 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008953/0.8664, allocations: 0.5064 MB / 0.801 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 2.896e-06/0.8664, allocations: 0 / 0.801 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.003347/0.8697, allocations: 1.245 MB / 0.8022 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.8699, allocations: 196.9 kB / 0.8024 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009574/0.8708, allocations: 0.6581 MB / 0.8031 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.247e-05/0.8709, allocations: 41.52 kB / 0.8031 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003465/0.8713, allocations: 408 kB / 0.8035 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002426/0.8715, allocations: 283.2 kB / 0.8038 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002465/0.8718, allocations: 164.4 kB / 0.8039 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001969/0.872, allocations: 392.4 kB / 0.8043 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005404/0.8725, allocations: 282.5 kB / 0.8046 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006343/0.8732, allocations: 371.2 kB / 0.8049 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.8743, allocations: 0.636 MB / 0.8056 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.8743, allocations: 0 / 0.8056 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002017/0.8763, allocations: 0.8859 MB / 0.8064 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.8764, allocations: 5 kB / 0.8064 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.8764, allocations: 3.938 kB / 0.8064 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005944/0.877, allocations: 85.08 kB / 0.8065 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006826/0.8777, allocations: 173.3 kB / 0.8067 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/0.8798, allocations: 1.628 MB / 0.8083 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009363/0.8807, allocations: 99.86 kB / 0.8084 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.325e-05/0.8808, allocations: 44.5 kB / 0.8084 GB, free: 6.457 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 (100): * Single equations (assignments): 99 * 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.0005721/0.8814, allocations: 268.9 kB / 0.8087 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/0.8816, allocations: 83.28 kB / 0.8087 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002335/0.8839, allocations: 1.093 MB / 0.8098 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.8839, allocations: 10.88 kB / 0.8098 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.8839, allocations: 0 / 0.8098 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.884, allocations: 3.984 kB / 0.8098 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.8852, allocations: 0.9278 MB / 0.8107 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.8852, allocations: 4 kB / 0.8107 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006403/0.8859, allocations: 167 kB / 0.8109 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004379/0.8863, allocations: 71.95 kB / 0.811 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.518e-05/0.8864, allocations: 34.09 kB / 0.811 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001886/0.8883, allocations: 1.646 MB / 0.8126 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.8883, allocations: 0 / 0.8126 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002715/0.891, allocations: 1.371 MB / 0.8139 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004669/0.8915, allocations: 277.8 kB / 0.8142 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/0.8917, allocations: 25.3 kB / 0.8142 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006477/0.8923, allocations: 61.66 kB / 0.8143 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.8925, allocations: 71.95 kB / 0.8144 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.966e-05/0.8925, allocations: 38.89 kB / 0.8144 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006363/0.8932, allocations: 472.4 kB / 0.8148 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8932, allocations: 0 / 0.8148 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001021/0.8942, allocations: 337 kB / 0.8152 GB, free: 2.027 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 (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.001403/0.8956, allocations: 0.6118 MB / 0.8158 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001877/0.8975, allocations: 0.856 MB / 0.8166 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.8975, allocations: 0 / 0.8166 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.8986, allocations: 0.5292 MB / 0.8171 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/0.9, allocations: 309.4 kB / 0.8174 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003397/0.9034, allocations: 1.834 MB / 0.8192 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005816/0.904, allocations: 1.043 MB / 0.8202 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000864/0.9049, allocations: 258.9 kB / 0.8205 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002597/0.9052, allocations: 112.5 kB / 0.8206 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of SimCode: time 1.092e-06/0.9052, allocations: 0 / 0.8206 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of Templates: time 0.02658/0.9318, allocations: 15.58 MB / 0.8358 GB, free: 2.695 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile (rm -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1)