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.001262/0.001262, allocations: 114.1 kB / 17.04 MB, free: 5.809 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.00145/0.00145, allocations: 196 kB / 17.98 MB, free: 5.031 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.269/1.269, 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.7041/0.7041, allocations: 115.1 MB / 406.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001255, allocations: 60.11 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3334, allocations: 76.15 MB / 0.5576 GB, free: 36.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.005578/0.339, allocations: 5.19 MB / 0.5626 GB, free: 33.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1551/0.4942, allocations: 150.7 MB / 0.7098 GB, free: 8.18 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/0.4956, allocations: 15.94 kB / 0.7098 GB, free: 8.164 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007168/0.4964, allocations: 202.1 kB / 0.71 GB, free: 7.965 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002145/0.4985, allocations: 0.5633 MB / 0.7105 GB, free: 7.402 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002153/0.5007, allocations: 0.8405 MB / 0.7113 GB, free: 6.57 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001613/0.5023, allocations: 1.463 MB / 0.7128 GB, free: 5.098 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008038/0.5031, allocations: 0.6113 MB / 0.7134 GB, free: 4.461 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005937/0.5037, allocations: 0.4905 MB / 0.7138 GB, free: 3.969 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005415/0.5043, allocations: 0.5328 MB / 0.7144 GB, free: 3.434 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001385/0.5044, allocations: 123.9 kB / 0.7145 GB, free: 3.312 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008848/0.5053, allocations: 491.6 kB / 0.715 GB, free: 2.832 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002612/0.5056, allocations: 307 kB / 0.7152 GB, free: 2.531 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004525/0.5061, allocations: 0.583 MB / 0.7158 GB, free: 1.945 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001603/0.5077, allocations: 1.69 MB / 0.7175 GB, free: 260 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.5077, allocations: 0 / 0.7175 GB, free: 260 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5077, allocations: 0 / 0.7175 GB, free: 260 kB / 0.545 GB Notification: Performance of Transformations before backend: time 1.552e-05/0.5077, allocations: 0 / 0.7175 GB, free: 260 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.002373/0.5101, allocations: 1.497 MB / 0.7189 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.5101, allocations: 8.031 kB / 0.7189 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000841/0.511, allocations: 191.3 kB / 0.7191 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.5121, allocations: 0.7819 MB / 0.7199 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.372e-05/0.5122, allocations: 77.98 kB / 0.72 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.5123, allocations: 87.94 kB / 0.72 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.5137, allocations: 0.9496 MB / 0.721 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.5138, allocations: 0 / 0.721 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.355e-05/0.5138, allocations: 36 kB / 0.721 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.5139, allocations: 20 kB / 0.721 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001648/0.5155, allocations: 1.136 MB / 0.7221 GB, free: 11.35 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.003704/0.5192, allocations: 2.783 MB / 0.7248 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.5207, allocations: 0.8514 MB / 0.7257 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005076/0.5212, allocations: 322.6 kB / 0.726 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.07e-05/0.5213, allocations: 32.61 kB / 0.726 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007992/0.5221, allocations: 0.514 MB / 0.7265 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=85): time 2.234e-06/0.5221, allocations: 0 / 0.7265 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85): time 0.003015/0.5251, allocations: 1.243 MB / 0.7277 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.162e-05/0.5252, allocations: 196.8 kB / 0.7279 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007483/0.526, allocations: 0.6489 MB / 0.7286 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.178e-05/0.5261, allocations: 45.69 kB / 0.7286 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003028/0.5264, allocations: 408.5 kB / 0.729 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002046/0.5266, allocations: 279.9 kB / 0.7293 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/0.5268, allocations: 166.5 kB / 0.7294 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.527, allocations: 394.8 kB / 0.7298 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005019/0.5275, allocations: 281.8 kB / 0.7301 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005911/0.5281, allocations: 371.1 kB / 0.7304 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.5292, allocations: 0.6359 MB / 0.731 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5292, allocations: 0 / 0.731 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001797/0.531, allocations: 0.8915 MB / 0.7319 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.531, allocations: 4 kB / 0.7319 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.531, allocations: 0 / 0.7319 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005473/0.5316, allocations: 84.86 kB / 0.732 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000648/0.5322, allocations: 171.8 kB / 0.7322 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001927/0.5342, allocations: 1.634 MB / 0.7337 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006517/0.5348, allocations: 97.2 kB / 0.7338 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.105e-05/0.5349, allocations: 31.98 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.0003705/0.5353, allocations: 275.6 kB / 0.7341 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.5354, allocations: 86.97 kB / 0.7342 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002211/0.5377, allocations: 1.093 MB / 0.7353 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.5377, allocations: 8 kB / 0.7353 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.5377, allocations: 0 / 0.7353 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.5377, allocations: 7.984 kB / 0.7353 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009238/0.5386, allocations: 0.9269 MB / 0.7362 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.5386, allocations: 0 / 0.7362 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006129/0.5393, allocations: 163.7 kB / 0.7364 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004065/0.5397, allocations: 72.73 kB / 0.7364 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-05/0.5398, allocations: 31.97 kB / 0.7365 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001706/0.5415, allocations: 1.646 MB / 0.7381 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5415, allocations: 4.031 kB / 0.7381 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00245/0.5439, allocations: 1.371 MB / 0.7394 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003604/0.5443, allocations: 275.7 kB / 0.7397 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.5444, allocations: 19.94 kB / 0.7397 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000585/0.545, allocations: 67.98 kB / 0.7398 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.5452, allocations: 76.89 kB / 0.7398 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.824e-05/0.5452, allocations: 35.92 kB / 0.7399 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005196/0.5458, allocations: 475 kB / 0.7403 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5458, allocations: 0 / 0.7403 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007428/0.5465, allocations: 327.3 kB / 0.7406 GB, free: 7.691 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.001287/0.5478, allocations: 0.598 MB / 0.7412 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001571/0.5494, allocations: 0.8507 MB / 0.742 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.5494, allocations: 4 kB / 0.742 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008667/0.5503, allocations: 0.5393 MB / 0.7426 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.5513, allocations: 311.9 kB / 0.7429 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002855/0.5542, allocations: 1.84 MB / 0.7447 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005572/0.5547, allocations: 1.04 MB / 0.7457 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007331/0.5555, allocations: 262.8 kB / 0.7459 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002435/0.5557, allocations: 111.4 kB / 0.746 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of SimCode: time 2.665e-06/0.5557, allocations: 0 / 0.746 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of Templates: time 0.2581/0.8139, allocations: 15.41 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 cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1)