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.001026/0.001026, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 182.7 kB / 16.92 MB, free: 6.934 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.436/1.436, allocations: 223.3 MB / 241 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7454/0.7454, allocations: 115.5 MB / 407.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003659/0.0003661, allocations: 8.906 kB / 495.9 MB, free: 6.395 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1592, allocations: 77.52 MB / 0.5599 GB, free: 9.074 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.005872/0.1651, allocations: 4.769 MB / 0.5646 GB, free: 4.285 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.5486/0.7137, allocations: 146.7 MB / 0.7079 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/0.7149, allocations: 15.94 kB / 0.7079 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006135/0.7155, allocations: 162.7 kB / 0.7081 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001848/0.7173, allocations: 489.2 kB / 0.7085 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001989/0.7193, allocations: 0.7381 MB / 0.7093 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0015/0.7208, allocations: 1.35 MB / 0.7106 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008617/0.7217, allocations: 0.5753 MB / 0.7111 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005531/0.7223, allocations: 370.3 kB / 0.7115 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004996/0.7228, allocations: 423.3 kB / 0.7119 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.757e-05/0.7229, allocations: 28 kB / 0.7119 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009713/0.7239, allocations: 371.6 kB / 0.7123 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002391/0.7241, allocations: 195.1 kB / 0.7125 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005116/0.7246, allocations: 494.7 kB / 0.7129 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001697/0.7263, allocations: 1.553 MB / 0.7145 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.7263, allocations: 0 / 0.7145 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.984e-06/0.7264, allocations: 0 / 0.7145 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.55e-05/0.7264, allocations: 0 / 0.7145 GB, free: 8.469 MB / 0.5294 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.002335/0.7287, allocations: 1.268 MB / 0.7157 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.7288, allocations: 8.031 kB / 0.7157 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000911/0.7297, allocations: 207.3 kB / 0.7159 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.7307, allocations: 0.7625 MB / 0.7166 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.63e-05/0.7308, allocations: 73.98 kB / 0.7167 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.7309, allocations: 84 kB / 0.7168 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.7325, allocations: 0.9574 MB / 0.7177 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.7326, allocations: 0 / 0.7177 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.304e-05/0.7327, allocations: 40 kB / 0.7178 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.7327, allocations: 23.98 kB / 0.7178 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/0.7345, allocations: 1.143 MB / 0.7189 GB, free: 3.777 MB / 0.5294 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.004039/0.7385, allocations: 2.841 MB / 0.7217 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/0.7401, allocations: 0.8484 MB / 0.7225 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005544/0.7406, allocations: 326.6 kB / 0.7228 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.718e-05/0.7407, allocations: 36.53 kB / 0.7229 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008917/0.7416, allocations: 0.5139 MB / 0.7234 GB, free: 15.07 MB / 0.545 GB Notification: Performance of pre-optimization done (n=85): time 2.725e-06/0.7416, allocations: 0 / 0.7234 GB, free: 15.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=85): time 0.003147/0.7448, allocations: 1.259 MB / 0.7246 GB, free: 13.79 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.7449, allocations: 196.8 kB / 0.7248 GB, free: 13.55 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007845/0.7457, allocations: 0.6527 MB / 0.7254 GB, free: 12.89 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.514e-05/0.7458, allocations: 41.7 kB / 0.7255 GB, free: 12.84 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003094/0.7461, allocations: 416.5 kB / 0.7259 GB, free: 12.43 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002197/0.7463, allocations: 279.9 kB / 0.7261 GB, free: 12.15 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.883e-05/0.7464, allocations: 73.69 kB / 0.7262 GB, free: 12.07 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.7466, allocations: 386.7 kB / 0.7266 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005362/0.7472, allocations: 281.9 kB / 0.7268 GB, free: 11.41 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006379/0.7478, allocations: 379.1 kB / 0.7272 GB, free: 11.03 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.7489, allocations: 0.6437 MB / 0.7278 GB, free: 10.38 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.7489, allocations: 0 / 0.7278 GB, free: 10.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001921/0.7509, allocations: 0.8955 MB / 0.7287 GB, free: 9.465 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.7509, allocations: 4 kB / 0.7287 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.7509, allocations: 6.625 kB / 0.7287 GB, free: 9.457 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006102/0.7515, allocations: 80.86 kB / 0.7288 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006724/0.7522, allocations: 175.8 kB / 0.7289 GB, free: 9.203 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002127/0.7544, allocations: 1.521 MB / 0.7304 GB, free: 7.547 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007909/0.7552, allocations: 111.3 kB / 0.7305 GB, free: 7.438 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/0.7553, allocations: 39.97 kB / 0.7306 GB, free: 7.398 MB / 0.545 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.0004984/0.7558, allocations: 271.4 kB / 0.7308 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.7559, allocations: 82.97 kB / 0.7309 GB, free: 7.043 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002435/0.7584, allocations: 1.109 MB / 0.732 GB, free: 5.926 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.7584, allocations: 11.94 kB / 0.732 GB, free: 5.914 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.7584, allocations: 0 / 0.732 GB, free: 5.914 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.7584, allocations: 3.984 kB / 0.732 GB, free: 5.91 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.7595, allocations: 0.9274 MB / 0.7329 GB, free: 4.934 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.7596, allocations: 3.938 kB / 0.7329 GB, free: 4.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006265/0.7602, allocations: 167.7 kB / 0.7331 GB, free: 4.766 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005063/0.7607, allocations: 80.72 kB / 0.7332 GB, free: 4.684 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.59e-05/0.7608, allocations: 31.97 kB / 0.7332 GB, free: 4.652 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/0.7626, allocations: 1.544 MB / 0.7347 GB, free: 2.965 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.7627, allocations: 4.031 kB / 0.7347 GB, free: 2.961 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00262/0.7653, allocations: 1.383 MB / 0.7361 GB, free: 1.559 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004114/0.7657, allocations: 291.7 kB / 0.7363 GB, free: 1.254 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.7658, allocations: 16 kB / 0.7363 GB, free: 1.238 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006505/0.7665, allocations: 87.89 kB / 0.7364 GB, free: 1.152 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/0.7666, allocations: 72.95 kB / 0.7365 GB, free: 1.082 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.258e-05/0.7667, allocations: 35.98 kB / 0.7365 GB, free: 1.047 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006202/0.7674, allocations: 483 kB / 0.737 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7674, allocations: 0 / 0.737 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008978/0.7683, allocations: 331.2 kB / 0.7373 GB, free: 260 kB / 0.545 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.001415/0.7697, allocations: 0.601 MB / 0.7379 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001722/0.7714, allocations: 0.8629 MB / 0.7387 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.7714, allocations: 0 / 0.7387 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009294/0.7724, allocations: 0.5355 MB / 0.7393 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.7736, allocations: 286.5 kB / 0.7395 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003521/0.7772, allocations: 2.351 MB / 0.7418 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006378/0.7778, allocations: 1.043 MB / 0.7429 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008329/0.7787, allocations: 262.9 kB / 0.7431 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002569/0.7789, allocations: 111.4 kB / 0.7432 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.7789, allocations: 0 / 0.7432 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of Templates: time 0.02919/0.8081, allocations: 14.65 MB / 0.7575 GB, free: 11.84 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1)