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.001127/0.001127, allocations: 108.7 kB / 16.4 MB, free: 6.371 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.001206/0.001206, allocations: 195.7 kB / 17.33 MB, free: 5.84 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.419/1.419, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8016/0.8016, allocations: 122.9 MB / 414.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 65.03 kB / 0.5685 GB, free: 28.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1985, allocations: 77.94 MB / 0.6446 GB, free: 9.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006907/0.2055, allocations: 5.096 MB / 0.6495 GB, free: 3.887 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.6419/0.8474, allocations: 150.6 MB / 0.7966 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001537/0.849, allocations: 20 kB / 0.7967 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007815/0.8498, allocations: 197.3 kB / 0.7969 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002395/0.8523, allocations: 0.5538 MB / 0.7974 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00249/0.8548, allocations: 0.8328 MB / 0.7982 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001891/0.8567, allocations: 1.43 MB / 0.7996 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009512/0.8576, allocations: 0.592 MB / 0.8002 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007653/0.8584, allocations: 0.4895 MB / 0.8007 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006216/0.859, allocations: 0.5176 MB / 0.8012 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001766/0.8592, allocations: 117.7 kB / 0.8013 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.8604, allocations: 484.7 kB / 0.8017 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003054/0.8607, allocations: 299 kB / 0.802 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005829/0.8613, allocations: 0.5809 MB / 0.8026 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002002/0.8633, allocations: 1.669 MB / 0.8042 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.8633, allocations: 3.375 kB / 0.8042 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8633, allocations: 4 kB / 0.8042 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.759e-05/0.8633, allocations: 2.594 kB / 0.8042 GB, free: 12.17 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.003188/0.8665, allocations: 1.494 MB / 0.8057 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.954e-05/0.8666, allocations: 11 kB / 0.8057 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/0.8677, allocations: 196.2 kB / 0.8059 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/0.8692, allocations: 0.7814 MB / 0.8067 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.024e-05/0.8693, allocations: 68.81 kB / 0.8067 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.8694, allocations: 82.53 kB / 0.8068 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.871, allocations: 0.9354 MB / 0.8077 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/0.871, allocations: 6.938 kB / 0.8077 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.69e-05/0.8711, allocations: 37.5 kB / 0.8078 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.8711, allocations: 21.12 kB / 0.8078 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/0.8729, allocations: 1.13 MB / 0.8089 GB, free: 10.49 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.004325/0.8772, allocations: 2.745 MB / 0.8116 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.8787, allocations: 0.8082 MB / 0.8123 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005178/0.8792, allocations: 305 kB / 0.8126 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-05/0.8793, allocations: 35.66 kB / 0.8127 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009018/0.8802, allocations: 497 kB / 0.8131 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 3.677e-06/0.8802, allocations: 0 / 0.8131 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.00325/0.8835, allocations: 1.212 MB / 0.8143 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/0.8836, allocations: 194 kB / 0.8145 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008965/0.8845, allocations: 0.6544 MB / 0.8152 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.016e-05/0.8846, allocations: 42.95 kB / 0.8152 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003281/0.8849, allocations: 408.4 kB / 0.8156 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/0.8852, allocations: 286.1 kB / 0.8159 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002577/0.8854, allocations: 162.4 kB / 0.816 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.8856, allocations: 391 kB / 0.8164 GB, free: 6 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005062/0.8861, allocations: 273.8 kB / 0.8166 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006054/0.8868, allocations: 360.2 kB / 0.817 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.8879, allocations: 0.6181 MB / 0.8176 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.8879, allocations: 0 / 0.8176 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001955/0.8899, allocations: 0.8633 MB / 0.8184 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.8899, allocations: 14.88 kB / 0.8184 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.8899, allocations: 0 / 0.8184 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005852/0.8905, allocations: 83.86 kB / 0.8185 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006306/0.8912, allocations: 163.8 kB / 0.8187 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/0.8933, allocations: 1.64 MB / 0.8203 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000786/0.8941, allocations: 95.81 kB / 0.8204 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.039e-05/0.8941, allocations: 38.31 kB / 0.8204 GB, free: 3.113 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.0005076/0.8946, allocations: 271.3 kB / 0.8207 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.8948, allocations: 90.06 kB / 0.8208 GB, free: 2.855 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002267/0.8971, allocations: 1.069 MB / 0.8218 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.8971, allocations: 10.06 kB / 0.8218 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.8971, allocations: 4 kB / 0.8218 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.8971, allocations: 3.984 kB / 0.8218 GB, free: 2.246 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.8982, allocations: 0.9082 MB / 0.8227 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.8982, allocations: 0 / 0.8227 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005753/0.8988, allocations: 149.9 kB / 0.8228 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004106/0.8992, allocations: 82.39 kB / 0.8229 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.926e-05/0.8992, allocations: 27.73 kB / 0.823 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001758/0.901, allocations: 1.649 MB / 0.8246 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.901, allocations: 2.875 kB / 0.8246 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002479/0.9035, allocations: 1.347 MB / 0.8259 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003717/0.9039, allocations: 275.5 kB / 0.8261 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.904, allocations: 21.8 kB / 0.8262 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006034/0.9046, allocations: 72.5 kB / 0.8262 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.9048, allocations: 68.77 kB / 0.8263 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.947e-05/0.9049, allocations: 34.98 kB / 0.8263 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006022/0.9055, allocations: 466.5 kB / 0.8268 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9055, allocations: 0 / 0.8268 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009219/0.9064, allocations: 331.7 kB / 0.8271 GB, free: 14.45 MB / 0.6075 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.001395/0.9078, allocations: 0.6063 MB / 0.8277 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00165/0.9095, allocations: 0.8395 MB / 0.8285 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.9095, allocations: 0 / 0.8285 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008644/0.9104, allocations: 0.5301 MB / 0.829 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/0.9116, allocations: 305.4 kB / 0.8293 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002979/0.9146, allocations: 1.799 MB / 0.8311 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005427/0.9151, allocations: 1.034 MB / 0.8321 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008004/0.9159, allocations: 260.8 kB / 0.8323 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002532/0.9162, allocations: 108.5 kB / 0.8324 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of SimCode: time 2.043e-06/0.9162, allocations: 0 / 0.8324 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of Templates: time 0.02698/0.9432, allocations: 15.39 MB / 0.8475 GB, free: 13.53 MB / 0.6231 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)