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.001218/0.001218, allocations: 100.7 kB / 16.4 MB, free: 6.461 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.001313/0.001313, allocations: 196 kB / 17.34 MB, free: 5.715 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.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7902/0.7902, allocations: 122.9 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 61.84 kB / 0.5684 GB, free: 28.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1993, allocations: 77.93 MB / 0.6446 GB, free: 8.891 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007197/0.2065, allocations: 5.199 MB / 0.6496 GB, free: 3.668 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.6483/0.8549, allocations: 150.7 MB / 0.7968 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000861/0.8558, allocations: 20.22 kB / 0.7968 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005717/0.8563, allocations: 202.3 kB / 0.797 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001703/0.8581, allocations: 0.5669 MB / 0.7975 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001912/0.86, allocations: 0.8441 MB / 0.7983 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001571/0.8616, allocations: 1.459 MB / 0.7998 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000798/0.8624, allocations: 0.6134 MB / 0.8004 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005983/0.863, allocations: 0.4925 MB / 0.8008 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006175/0.8636, allocations: 0.5272 MB / 0.8014 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001675/0.8638, allocations: 120.1 kB / 0.8015 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000893/0.8647, allocations: 489.8 kB / 0.8019 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002437/0.865, allocations: 305.5 kB / 0.8022 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004915/0.8655, allocations: 0.5862 MB / 0.8028 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001764/0.8672, allocations: 1.703 MB / 0.8045 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.8673, allocations: 2.562 kB / 0.8045 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.062e-06/0.8673, allocations: 1.969 kB / 0.8045 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.154e-05/0.8673, allocations: 1.781 kB / 0.8045 GB, free: 11.71 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.002466/0.8698, allocations: 1.521 MB / 0.806 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.8698, allocations: 10.88 kB / 0.806 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008934/0.8707, allocations: 202 kB / 0.8062 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/0.8719, allocations: 0.7916 MB / 0.8069 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.83e-05/0.872, allocations: 66 kB / 0.807 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.8721, allocations: 85.47 kB / 0.8071 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.8737, allocations: 0.9529 MB / 0.808 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.8737, allocations: 0 / 0.808 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.846e-05/0.8738, allocations: 41.56 kB / 0.8081 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.8738, allocations: 20.72 kB / 0.8081 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001896/0.8757, allocations: 1.139 MB / 0.8092 GB, free: 9.934 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.004017/0.8797, allocations: 2.796 MB / 0.8119 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/0.8812, allocations: 0.8402 MB / 0.8127 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005205/0.8817, allocations: 320 kB / 0.813 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.203e-05/0.8818, allocations: 43 kB / 0.8131 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008279/0.8826, allocations: 0.5021 MB / 0.8136 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 1.873e-06/0.8826, allocations: 0 / 0.8136 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.003181/0.8858, allocations: 1.245 MB / 0.8148 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/0.886, allocations: 198.4 kB / 0.815 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008497/0.8868, allocations: 0.6523 MB / 0.8156 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.582e-05/0.8869, allocations: 46.55 kB / 0.8157 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003728/0.8873, allocations: 419.4 kB / 0.8161 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002395/0.8875, allocations: 293.5 kB / 0.8163 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002611/0.8878, allocations: 167.3 kB / 0.8165 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.888, allocations: 388.9 kB / 0.8169 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005212/0.8885, allocations: 276.2 kB / 0.8171 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006153/0.8891, allocations: 384.6 kB / 0.8175 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.8903, allocations: 0.6298 MB / 0.8181 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.8903, allocations: 4 kB / 0.8181 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001991/0.8923, allocations: 0.8935 MB / 0.819 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.8923, allocations: 4.875 kB / 0.819 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.8923, allocations: 0 / 0.819 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006016/0.8929, allocations: 87.52 kB / 0.8191 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006869/0.8936, allocations: 173.8 kB / 0.8192 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002534/0.8962, allocations: 1.626 MB / 0.8208 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009552/0.8971, allocations: 101 kB / 0.8209 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.542e-05/0.8972, allocations: 34.39 kB / 0.821 GB, free: 2.742 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.0005782/0.8978, allocations: 281.8 kB / 0.8212 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.898, allocations: 91.86 kB / 0.8213 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002411/0.9004, allocations: 1.088 MB / 0.8224 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.9004, allocations: 13.36 kB / 0.8224 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.9004, allocations: 3.938 kB / 0.8224 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.9005, allocations: 3.984 kB / 0.8224 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.9017, allocations: 0.9288 MB / 0.8233 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.9017, allocations: 0 / 0.8233 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006369/0.9024, allocations: 158.6 kB / 0.8235 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004258/0.9028, allocations: 78.62 kB / 0.8235 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.177e-05/0.9029, allocations: 27.69 kB / 0.8236 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001925/0.9048, allocations: 1.645 MB / 0.8252 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.9048, allocations: 144 / 0.8252 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002714/0.9076, allocations: 1.376 MB / 0.8265 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004336/0.908, allocations: 286.2 kB / 0.8268 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/0.9081, allocations: 25.53 kB / 0.8268 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006329/0.9088, allocations: 61.64 kB / 0.8269 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/0.909, allocations: 72.06 kB / 0.8269 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-05/0.9091, allocations: 38.38 kB / 0.827 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006225/0.9097, allocations: 469.3 kB / 0.8274 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.623e-06/0.9097, allocations: 0 / 0.8274 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009301/0.9106, allocations: 350.5 kB / 0.8278 GB, free: 14.01 MB / 0.6075 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.00142/0.9121, allocations: 0.6002 MB / 0.8283 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001782/0.9139, allocations: 0.8624 MB / 0.8292 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.9139, allocations: 2.906 kB / 0.8292 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009181/0.9148, allocations: 0.5286 MB / 0.8297 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.9161, allocations: 308.5 kB / 0.83 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003121/0.9192, allocations: 1.867 MB / 0.8318 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005546/0.9198, allocations: 1.039 MB / 0.8328 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007883/0.9206, allocations: 262.9 kB / 0.8331 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002583/0.9208, allocations: 107.7 kB / 0.8332 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of SimCode: time 5.61e-07/0.9208, allocations: 0 / 0.8332 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of Templates: time 0.02648/0.9473, allocations: 15.58 MB / 0.8484 GB, free: 12.46 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)