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.00113/0.00113, allocations: 116.1 kB / 17.08 MB, free: 5.832 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.00109/0.001091, allocations: 193.8 kB / 18.02 MB, free: 4.965 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.338/1.338, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.724/0.724, allocations: 115.3 MB / 407.2 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 68.52 kB / 0.5583 GB, free: 32.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1572, allocations: 76.18 MB / 0.6327 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007218/0.1645, allocations: 5.189 MB / 0.6378 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.6105/0.775, allocations: 150.7 MB / 0.7849 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009976/0.7761, allocations: 15.97 kB / 0.7849 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006567/0.7768, allocations: 208.7 kB / 0.7851 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001758/0.7786, allocations: 0.5654 MB / 0.7857 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00199/0.7806, allocations: 0.8517 MB / 0.7865 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001546/0.7821, allocations: 1.458 MB / 0.7879 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008659/0.783, allocations: 0.5968 MB / 0.7885 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007533/0.7838, allocations: 0.5016 MB / 0.789 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005844/0.7843, allocations: 0.5351 MB / 0.7895 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001523/0.7845, allocations: 120.3 kB / 0.7897 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000946/0.7855, allocations: 495.2 kB / 0.7901 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002523/0.7857, allocations: 304.3 kB / 0.7904 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005029/0.7862, allocations: 0.5841 MB / 0.791 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001723/0.788, allocations: 1.691 MB / 0.7926 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.788, allocations: 3.375 kB / 0.7926 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.342e-06/0.788, allocations: 0 / 0.7926 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.703e-05/0.788, allocations: 0 / 0.7926 GB, free: 13.06 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.002486/0.7905, allocations: 1.484 MB / 0.7941 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.7906, allocations: 10.34 kB / 0.7941 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009567/0.7915, allocations: 190.7 kB / 0.7943 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.7926, allocations: 0.7933 MB / 0.7951 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.017e-05/0.7927, allocations: 63.84 kB / 0.7951 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.7928, allocations: 88.88 kB / 0.7952 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001553/0.7944, allocations: 0.9562 MB / 0.7961 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.7944, allocations: 0 / 0.7961 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-05/0.7945, allocations: 38.19 kB / 0.7962 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/0.7945, allocations: 24.61 kB / 0.7962 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001704/0.7962, allocations: 1.132 MB / 0.7973 GB, free: 11.65 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.003897/0.8001, allocations: 2.795 MB / 0.8 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.8017, allocations: 0.8454 MB / 0.8009 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005087/0.8022, allocations: 321.2 kB / 0.8012 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-05/0.8023, allocations: 36.31 kB / 0.8012 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008397/0.8031, allocations: 0.5121 MB / 0.8017 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 2.555e-06/0.8031, allocations: 0 / 0.8017 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.00312/0.8062, allocations: 1.236 MB / 0.8029 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/0.8064, allocations: 202.5 kB / 0.8031 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000744/0.8071, allocations: 0.6523 MB / 0.8037 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.913e-05/0.8072, allocations: 44.98 kB / 0.8038 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002735/0.8075, allocations: 407.6 kB / 0.8042 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002147/0.8077, allocations: 279 kB / 0.8044 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002305/0.808, allocations: 173.9 kB / 0.8046 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.8081, allocations: 390.1 kB / 0.805 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005075/0.8086, allocations: 276.4 kB / 0.8052 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006324/0.8093, allocations: 377.4 kB / 0.8056 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.8104, allocations: 0.6286 MB / 0.8062 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.8104, allocations: 0 / 0.8062 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001876/0.8123, allocations: 0.8919 MB / 0.8071 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.8123, allocations: 7.625 kB / 0.8071 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.8123, allocations: 0 / 0.8071 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005637/0.8129, allocations: 82.12 kB / 0.8072 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006802/0.8136, allocations: 172.7 kB / 0.8073 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/0.8156, allocations: 1.623 MB / 0.8089 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007565/0.8164, allocations: 102.2 kB / 0.809 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.801e-05/0.8164, allocations: 37.94 kB / 0.8091 GB, free: 6.457 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.0004175/0.8169, allocations: 265 kB / 0.8093 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/0.817, allocations: 89.83 kB / 0.8094 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002277/0.8193, allocations: 1.092 MB / 0.8105 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.8194, allocations: 7.938 kB / 0.8105 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.8194, allocations: 9.875 kB / 0.8105 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.8194, allocations: 3.984 kB / 0.8105 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.8205, allocations: 0.9333 MB / 0.8114 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.8205, allocations: 0 / 0.8114 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000634/0.8211, allocations: 156.4 kB / 0.8115 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004318/0.8216, allocations: 88.62 kB / 0.8116 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.689e-05/0.8216, allocations: 23.36 kB / 0.8116 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001866/0.8235, allocations: 1.65 MB / 0.8133 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.8235, allocations: 0 / 0.8133 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002644/0.8262, allocations: 1.367 MB / 0.8146 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003786/0.8265, allocations: 281.8 kB / 0.8149 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.8267, allocations: 21.41 kB / 0.8149 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006502/0.8273, allocations: 62.62 kB / 0.8149 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.8275, allocations: 75.98 kB / 0.815 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.82e-05/0.8276, allocations: 34.41 kB / 0.815 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005758/0.8282, allocations: 473.2 kB / 0.8155 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8282, allocations: 0 / 0.8155 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008658/0.829, allocations: 340.4 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.0014/0.8304, allocations: 0.6065 MB / 0.8164 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001734/0.8322, allocations: 0.856 MB / 0.8172 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.8322, allocations: 0 / 0.8172 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009217/0.8331, allocations: 0.5395 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.001228/0.8344, allocations: 305.2 kB / 0.8181 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003267/0.8377, allocations: 1.879 MB / 0.8199 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005942/0.8383, allocations: 1.039 MB / 0.8209 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003298/0.8386, allocations: 123.9 kB / 0.821 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.8386, allocations: 0 / 0.821 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of Templates: time 0.025/0.8636, allocations: 19.18 MB / 0.8398 GB, free: 15.15 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)