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.00138/0.00138, allocations: 117 kB / 17.09 MB, free: 5.938 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.001557/0.001557, allocations: 198.9 kB / 18.02 MB, free: 5.023 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.348/1.348, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7376/0.7376, allocations: 115.3 MB / 407.2 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 63.47 kB / 0.5583 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1413, allocations: 76.19 MB / 0.6327 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007014/0.1483, allocations: 5.189 MB / 0.6378 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5131/0.6614, allocations: 150.7 MB / 0.7849 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008874/0.6624, allocations: 20.69 kB / 0.7849 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007003/0.6631, allocations: 199.9 kB / 0.7851 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002176/0.6653, allocations: 0.5656 MB / 0.7857 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002237/0.6676, allocations: 0.8447 MB / 0.7865 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001929/0.6695, allocations: 1.458 MB / 0.7879 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.6705, allocations: 0.6052 MB / 0.7885 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008774/0.6714, allocations: 0.504 MB / 0.789 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007449/0.6722, allocations: 0.521 MB / 0.7895 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002142/0.6724, allocations: 120.9 kB / 0.7896 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.6736, allocations: 497.1 kB / 0.7901 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002797/0.6739, allocations: 303.8 kB / 0.7904 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005439/0.6744, allocations: 0.5914 MB / 0.791 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002185/0.6766, allocations: 1.69 MB / 0.7926 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.6767, allocations: 4 kB / 0.7926 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6767, allocations: 0 / 0.7926 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.391e-05/0.6767, allocations: 2.531 kB / 0.7926 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.002797/0.6795, allocations: 1.483 MB / 0.7941 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.6796, allocations: 8.094 kB / 0.7941 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009488/0.6805, allocations: 193.6 kB / 0.7943 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.6817, allocations: 0.7888 MB / 0.7951 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.164e-05/0.6818, allocations: 66.44 kB / 0.7951 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.6819, allocations: 91.23 kB / 0.7952 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/0.6835, allocations: 0.9482 MB / 0.7961 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.588e-05/0.6835, allocations: 5.453 kB / 0.7961 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.76e-05/0.6836, allocations: 35.84 kB / 0.7962 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.6837, allocations: 21.06 kB / 0.7962 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001656/0.6853, allocations: 1.141 MB / 0.7973 GB, free: 11.64 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.004222/0.6896, allocations: 2.791 MB / 0.8 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/0.691, allocations: 0.8416 MB / 0.8008 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005077/0.6916, allocations: 319.1 kB / 0.8012 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.738e-05/0.6916, allocations: 32.91 kB / 0.8012 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008254/0.6925, allocations: 0.5087 MB / 0.8017 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 2.555e-06/0.6925, allocations: 2.5 kB / 0.8017 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.003234/0.6957, allocations: 1.242 MB / 0.8029 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.6959, allocations: 193 kB / 0.8031 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008625/0.6967, allocations: 0.6548 MB / 0.8037 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.6968, allocations: 44.27 kB / 0.8038 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003084/0.6972, allocations: 418.8 kB / 0.8042 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002409/0.6974, allocations: 281.6 kB / 0.8044 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002443/0.6977, allocations: 171.3 kB / 0.8046 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.6978, allocations: 386.2 kB / 0.805 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005006/0.6983, allocations: 278.9 kB / 0.8052 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005941/0.6989, allocations: 378.6 kB / 0.8056 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.7, allocations: 0.6245 MB / 0.8062 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.7, allocations: 0 / 0.8062 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002005/0.702, allocations: 0.8941 MB / 0.8071 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.7021, allocations: 4.562 kB / 0.8071 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.7021, allocations: 3 kB / 0.8071 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005975/0.7027, allocations: 86.03 kB / 0.8072 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006831/0.7034, allocations: 173.2 kB / 0.8073 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002097/0.7055, allocations: 1.624 MB / 0.8089 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008637/0.7064, allocations: 91.55 kB / 0.809 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.077e-05/0.7064, allocations: 40.56 kB / 0.809 GB, free: 6.445 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.0005036/0.707, allocations: 276.9 kB / 0.8093 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/0.7071, allocations: 89.45 kB / 0.8094 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002292/0.7094, allocations: 1.087 MB / 0.8104 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.7095, allocations: 10.09 kB / 0.8105 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.7095, allocations: 0 / 0.8105 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.7095, allocations: 7.969 kB / 0.8105 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.7106, allocations: 0.9319 MB / 0.8114 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.7106, allocations: 2.438 kB / 0.8114 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006195/0.7113, allocations: 156.7 kB / 0.8115 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004674/0.7117, allocations: 77.78 kB / 0.8116 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.898e-05/0.7118, allocations: 24.23 kB / 0.8116 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001896/0.7137, allocations: 1.659 MB / 0.8132 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.7137, allocations: 0 / 0.8132 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002646/0.7164, allocations: 1.367 MB / 0.8146 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004294/0.7168, allocations: 281.3 kB / 0.8148 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.717, allocations: 25.75 kB / 0.8149 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006456/0.7176, allocations: 69.61 kB / 0.8149 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/0.7178, allocations: 65.41 kB / 0.815 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.605e-05/0.7179, allocations: 41.69 kB / 0.815 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006381/0.7185, allocations: 466.2 kB / 0.8155 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7185, allocations: 0 / 0.8155 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009029/0.7194, allocations: 342.3 kB / 0.8158 GB, free: 2.031 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.001464/0.7209, allocations: 0.6033 MB / 0.8164 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001788/0.7227, allocations: 0.8603 MB / 0.8172 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.7227, allocations: 2.594 kB / 0.8172 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009598/0.7237, allocations: 0.5257 MB / 0.8178 GB, free: 1.008 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/0.7251, allocations: 306.4 kB / 0.818 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003496/0.7286, allocations: 1.886 MB / 0.8199 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006647/0.7293, allocations: 1.043 MB / 0.8209 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003424/0.7296, allocations: 116.3 kB / 0.821 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of SimCode: time 5.71e-07/0.7296, allocations: 0 / 0.821 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of Templates: time 0.02811/0.7577, allocations: 19.2 MB / 0.8398 GB, free: 15.16 MB / 0.6231 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)