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.001171/0.001171, allocations: 115.1 kB / 17.04 MB, free: 5.793 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.001168/0.001169, allocations: 195 kB / 17.98 MB, free: 5.02 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.311/1.311, allocations: 222.9 MB / 241.7 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.725/0.725, allocations: 115.1 MB / 406.9 MB, free: 6.305 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 64.12 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3067, allocations: 76.15 MB / 0.5576 GB, free: 36.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.005828/0.3125, allocations: 5.189 MB / 0.5626 GB, free: 32.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1603/0.4729, allocations: 150.7 MB / 0.7098 GB, free: 8.18 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001066/0.474, allocations: 15.94 kB / 0.7098 GB, free: 8.164 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006467/0.4746, allocations: 202.1 kB / 0.71 GB, free: 7.965 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002116/0.4768, allocations: 0.5727 MB / 0.7105 GB, free: 7.395 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002272/0.4791, allocations: 0.8383 MB / 0.7113 GB, free: 6.562 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001695/0.4808, allocations: 1.463 MB / 0.7128 GB, free: 5.09 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008731/0.4817, allocations: 0.6035 MB / 0.7134 GB, free: 4.461 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006937/0.4824, allocations: 0.4982 MB / 0.7139 GB, free: 3.961 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006144/0.483, allocations: 0.529 MB / 0.7144 GB, free: 3.43 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001556/0.4831, allocations: 120 kB / 0.7145 GB, free: 3.312 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009488/0.4841, allocations: 487.6 kB / 0.7149 GB, free: 2.836 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002827/0.4844, allocations: 311 kB / 0.7152 GB, free: 2.531 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005246/0.4849, allocations: 0.583 MB / 0.7158 GB, free: 1.945 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0018/0.4867, allocations: 1.684 MB / 0.7175 GB, free: 264 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4868, allocations: 4 kB / 0.7175 GB, free: 260 kB / 0.545 GB Notification: Performance of FrontEnd: time 2.745e-06/0.4868, allocations: 0 / 0.7175 GB, free: 260 kB / 0.545 GB Notification: Performance of Transformations before backend: time 1.324e-05/0.4868, allocations: 3.938 kB / 0.7175 GB, free: 256 kB / 0.545 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.002607/0.4894, allocations: 1.489 MB / 0.7189 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.4894, allocations: 11.97 kB / 0.7189 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009271/0.4904, allocations: 195.3 kB / 0.7191 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.4916, allocations: 0.778 MB / 0.7199 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.424e-05/0.4917, allocations: 66 kB / 0.7199 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.4918, allocations: 91.98 kB / 0.72 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/0.4934, allocations: 0.9496 MB / 0.721 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.4934, allocations: 4 kB / 0.721 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.337e-05/0.4935, allocations: 36 kB / 0.721 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.4935, allocations: 20 kB / 0.721 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001791/0.4953, allocations: 1.143 MB / 0.7221 GB, free: 11.34 MB / 0.5606 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.004218/0.4996, allocations: 2.789 MB / 0.7249 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/0.5012, allocations: 0.8396 MB / 0.7257 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000547/0.5017, allocations: 326.6 kB / 0.726 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.617e-05/0.5018, allocations: 32.67 kB / 0.726 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008638/0.5027, allocations: 0.5062 MB / 0.7265 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=85): time 2.595e-06/0.5027, allocations: 4 kB / 0.7265 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85): time 0.003365/0.5061, allocations: 1.243 MB / 0.7277 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.5062, allocations: 196.8 kB / 0.7279 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008641/0.5071, allocations: 0.6489 MB / 0.7286 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.163e-05/0.5072, allocations: 45.7 kB / 0.7286 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000352/0.5075, allocations: 412.4 kB / 0.729 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002285/0.5078, allocations: 283.9 kB / 0.7293 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000277/0.5081, allocations: 170.5 kB / 0.7294 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.5082, allocations: 390.8 kB / 0.7298 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005718/0.5088, allocations: 273.8 kB / 0.7301 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006298/0.5095, allocations: 383 kB / 0.7304 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.5106, allocations: 0.632 MB / 0.731 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.5106, allocations: 4 kB / 0.731 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002001/0.5126, allocations: 0.8838 MB / 0.7319 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.5126, allocations: 9.406 kB / 0.7319 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.5126, allocations: 0 / 0.7319 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000622/0.5133, allocations: 84.86 kB / 0.732 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007106/0.514, allocations: 167.8 kB / 0.7322 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002266/0.5163, allocations: 1.63 MB / 0.7337 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008411/0.5171, allocations: 87.36 kB / 0.7338 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.933e-05/0.5172, allocations: 39.97 kB / 0.7339 GB, free: 14.88 MB / 0.5762 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.0005197/0.5178, allocations: 275.5 kB / 0.7341 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/0.5179, allocations: 87.03 kB / 0.7342 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002422/0.5204, allocations: 1.093 MB / 0.7353 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.5204, allocations: 12 kB / 0.7353 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.5204, allocations: 3.984 kB / 0.7353 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.719e-06/0.5204, allocations: 3.984 kB / 0.7353 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.5215, allocations: 0.923 MB / 0.7362 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.5216, allocations: 4 kB / 0.7362 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006731/0.5222, allocations: 159.7 kB / 0.7364 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004599/0.5227, allocations: 76.72 kB / 0.7364 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.26e-05/0.5228, allocations: 23.98 kB / 0.7365 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/0.5247, allocations: 1.65 MB / 0.7381 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5247, allocations: 0 / 0.7381 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002724/0.5275, allocations: 1.367 MB / 0.7394 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004712/0.528, allocations: 283.7 kB / 0.7397 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.5281, allocations: 24.14 kB / 0.7397 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006497/0.5288, allocations: 67.91 kB / 0.7398 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/0.5289, allocations: 68.91 kB / 0.7398 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.662e-05/0.529, allocations: 35.97 kB / 0.7399 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006146/0.5296, allocations: 479 kB / 0.7403 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5296, allocations: 0 / 0.7403 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009162/0.5306, allocations: 335.2 kB / 0.7406 GB, free: 7.688 MB / 0.5762 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.001359/0.5319, allocations: 0.5941 MB / 0.7412 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001837/0.5338, allocations: 0.8548 MB / 0.742 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.5338, allocations: 3.938 kB / 0.7421 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009893/0.5348, allocations: 0.5275 MB / 0.7426 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.536, allocations: 312.8 kB / 0.7429 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003678/0.5397, allocations: 1.852 MB / 0.7447 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007803/0.5405, allocations: 1.039 MB / 0.7457 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009433/0.5415, allocations: 258.9 kB / 0.7459 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003095/0.5418, allocations: 111.4 kB / 0.746 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of SimCode: time 1.163e-06/0.5418, allocations: 0 / 0.746 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of Templates: time 0.2439/0.7857, allocations: 15.4 MB / 0.7611 GB, free: 171.6 MB / 0.5762 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1)