Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.SimpleHouse3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 98.16 kB / 15.98 MB, free: 6.363 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.001207/0.001207, allocations: 199 kB / 16.91 MB, free: 6.199 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.447/1.447, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.764/0.764, allocations: 122.9 MB / 413.6 MB, free: 8 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 56.14 kB / 0.4906 GB, free: 7.852 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4494/0.4509, allocations: 77.92 MB / 0.5667 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.2118/0.6627, allocations: 163.7 MB / 0.7266 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01393/0.6767, allocations: 7.706 MB / 0.7341 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003429/0.6802, allocations: 35.75 kB / 0.7341 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002252/0.6825, allocations: 333.9 kB / 0.7345 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00537/0.6879, allocations: 1.205 MB / 0.7356 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00362/0.6916, allocations: 1.049 MB / 0.7367 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004061/0.6957, allocations: 2.352 MB / 0.739 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002463/0.6981, allocations: 1.172 MB / 0.7401 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001939/0.7001, allocations: 0.8134 MB / 0.7409 GB, free: 8 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002149/0.7023, allocations: 0.8251 MB / 0.7417 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005549/0.7028, allocations: 152 kB / 0.7419 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002966/0.7058, allocations: 1.127 MB / 0.743 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006779/0.7065, allocations: 430.6 kB / 0.7434 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001444/0.708, allocations: 0.789 MB / 0.7441 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004434/0.7124, allocations: 2.403 MB / 0.7465 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.7124, allocations: 4 kB / 0.7465 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7124, allocations: 0 / 0.7465 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.915e-05/0.7125, allocations: 0 / 0.7465 GB, free: 2.273 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.004566/0.7171, allocations: 1.879 MB / 0.7483 GB, free: 340 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.7172, allocations: 8.625 kB / 0.7483 GB, free: 332 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002268/0.7194, allocations: 325.8 kB / 0.7486 GB, free: 4 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3081/1.028, allocations: 0.9827 MB / 0.7496 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/1.028, allocations: 79.98 kB / 0.7497 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002282/1.028, allocations: 108.5 kB / 0.7498 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002665/1.031, allocations: 1.17 MB / 0.7509 GB, free: 171 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.509e-05/1.031, allocations: 9.453 kB / 0.7509 GB, free: 171 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/1.031, allocations: 44.34 kB / 0.751 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.047e-05/1.031, allocations: 42.12 kB / 0.751 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002884/1.034, allocations: 1.311 MB / 0.7523 GB, free: 170.6 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.006403/1.04, allocations: 3.824 MB / 0.756 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002103/1.042, allocations: 0.9907 MB / 0.757 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006829/1.043, allocations: 397.6 kB / 0.7574 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/1.043, allocations: 36.33 kB / 0.7574 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001142/1.044, allocations: 0.59 MB / 0.758 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=102): time 4.078e-06/1.044, allocations: 6.984 kB / 0.758 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=102): time 0.004059/1.048, allocations: 1.439 MB / 0.7594 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.532e-05/1.048, allocations: 197.4 kB / 0.7596 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/1.05, allocations: 0.8358 MB / 0.7604 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.768e-05/1.05, allocations: 49.58 kB / 0.7604 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004217/1.05, allocations: 0.5161 MB / 0.761 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002861/1.051, allocations: 344 kB / 0.7613 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000323/1.051, allocations: 198.5 kB / 0.7615 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.275e-05/1.051, allocations: 346.5 kB / 0.7618 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006039/1.052, allocations: 336.4 kB / 0.7621 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000817/1.052, allocations: 478.8 kB / 0.7626 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/1.054, allocations: 0.7977 MB / 0.7634 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.054, allocations: 1.219 kB / 0.7634 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002855/1.057, allocations: 1.079 MB / 0.7644 GB, free: 164 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.013e-05/1.057, allocations: 6.875 kB / 0.7644 GB, free: 164 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/1.057, allocations: 1.375 kB / 0.7644 GB, free: 164 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007263/1.058, allocations: 87.8 kB / 0.7645 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009738/1.059, allocations: 218.2 kB / 0.7647 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002162/1.061, allocations: 1.637 MB / 0.7663 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/1.062, allocations: 126.3 kB / 0.7664 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/1.062, allocations: 44.78 kB / 0.7665 GB, free: 162.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (124): * Single equations (assignments): 123 * 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.000728/1.063, allocations: 323.5 kB / 0.7668 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002191/1.063, allocations: 115.2 kB / 0.7669 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002743/1.066, allocations: 1.243 MB / 0.7681 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/1.066, allocations: 11.66 kB / 0.7681 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.066, allocations: 0.875 kB / 0.7681 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/1.066, allocations: 7.75 kB / 0.7681 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/1.068, allocations: 1.166 MB / 0.7693 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.068, allocations: 1.031 kB / 0.7693 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008816/1.069, allocations: 211 kB / 0.7695 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004507/1.069, allocations: 73.88 kB / 0.7695 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.928e-05/1.069, allocations: 34.06 kB / 0.7696 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001552/1.071, allocations: 1.658 MB / 0.7712 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.071, allocations: 3.906 kB / 0.7712 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002921/1.074, allocations: 1.575 MB / 0.7727 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004444/1.074, allocations: 321.5 kB / 0.773 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/1.074, allocations: 22.12 kB / 0.7731 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000868/1.075, allocations: 86.61 kB / 0.7731 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001889/1.076, allocations: 84.38 kB / 0.7732 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.783e-05/1.076, allocations: 39.02 kB / 0.7733 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008578/1.076, allocations: 0.5786 MB / 0.7738 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.282e-06/1.077, allocations: 0 / 0.7738 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001224/1.078, allocations: 432.3 kB / 0.7742 GB, free: 157 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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 (113): * Single equations (assignments): 107 * 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.00143/1.079, allocations: 0.6267 MB / 0.7748 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002935/1.082, allocations: 1.269 MB / 0.7761 GB, free: 156.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.082, allocations: 3.375 kB / 0.7761 GB, free: 156.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/1.083, allocations: 0.6057 MB / 0.7767 GB, free: 156 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001916/1.085, allocations: 494.3 kB / 0.7772 GB, free: 155.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003999/1.089, allocations: 2.997 MB / 0.7801 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004923/1.09, allocations: 1.156 MB / 0.7812 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001009/1.091, allocations: 322.3 kB / 0.7815 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002929/1.091, allocations: 126 kB / 0.7816 GB, free: 152.6 MB / 0.5762 GB Notification: Performance of SimCode: time 9.41e-07/1.091, allocations: 0 / 0.7816 GB, free: 152.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.03154/1.122, allocations: 20.7 MB / 0.8018 GB, free: 132.4 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile (rm -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & ./IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1)