Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001202, allocations: 104.6 kB / 16.64 MB, free: 6.816 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.001187/0.001187, allocations: 194 kB / 17.57 MB, free: 5.918 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.302/1.302, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7509/0.7509, allocations: 122.9 MB / 414.2 MB, free: 80 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 71.83 kB / 0.4912 GB, free: 7.852 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3702, allocations: 77.91 MB / 0.5673 GB, free: 32.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.1708/0.5411, allocations: 162.7 MB / 0.7262 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4003/0.9414, allocations: 27.41 MB / 0.753 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005139/0.9466, allocations: 81.94 kB / 0.753 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003904/0.9506, allocations: 1.059 MB / 0.7541 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007713/0.9583, allocations: 1.884 MB / 0.7559 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005755/0.9641, allocations: 1.858 MB / 0.7577 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0125/0.9766, allocations: 6.595 MB / 0.7642 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009817/0.9865, allocations: 4.924 MB / 0.769 GB, free: 17.29 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01007/0.9966, allocations: 2.499 MB / 0.7714 GB, free: 17.29 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007076/1.004, allocations: 3.065 MB / 0.7744 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002253/1.006, allocations: 0.5539 MB / 0.775 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004552/1.011, allocations: 1.145 MB / 0.7761 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002028/1.013, allocations: 1.437 MB / 0.7775 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.005434/1.018, allocations: 2.594 MB / 0.78 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007109/1.025, allocations: 5.667 MB / 0.7855 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/1.025, allocations: 0 / 0.7855 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.924e-06/1.025, allocations: 0.9062 kB / 0.7855 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002461/1.026, allocations: 0 / 0.7855 GB, free: 15.86 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: 989 * Number of variables: 989 Notification: Performance of Generate backend data structure: time 0.01369/1.039, allocations: 5.44 MB / 0.7909 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/1.039, allocations: 12.06 kB / 0.7909 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01416/1.054, allocations: 2.852 MB / 0.7937 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006633/1.06, allocations: 2.635 MB / 0.7962 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002844/1.061, allocations: 290.8 kB / 0.7965 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001442/1.062, allocations: 380.8 kB / 0.7969 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01733/1.079, allocations: 5.936 MB / 0.8027 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002003/1.08, allocations: 5.188 kB / 0.8027 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001432/1.081, allocations: 157.8 kB / 0.8028 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001042/1.081, allocations: 100.2 kB / 0.8029 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01998/1.101, allocations: 7.037 MB / 0.8098 GB, free: 9.648 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.04235/1.144, allocations: 18.65 MB / 0.828 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01193/1.155, allocations: 4.804 MB / 0.8327 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007205/1.163, allocations: 3.061 MB / 0.8357 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00123/1.164, allocations: 0.6748 MB / 0.8363 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008087/1.172, allocations: 2.971 MB / 0.8392 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=336): time 8.176e-06/1.172, allocations: 0 / 0.8392 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of matching and sorting (n=336): time 0.03161/1.204, allocations: 10.17 MB / 0.8492 GB, free: 3.602 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001667/1.204, allocations: 222.5 kB / 0.8494 GB, free: 3.34 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00546/1.209, allocations: 2.79 MB / 0.8521 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0009906/1.21, allocations: 97.27 kB / 0.8522 GB, free: 440 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001918/1.212, allocations: 1.594 MB / 0.8538 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001956/1.214, allocations: 1.105 MB / 0.8548 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002702/1.217, allocations: 0.5766 MB / 0.8554 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001133/1.217, allocations: 305.1 kB / 0.8557 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005884/1.223, allocations: 2.316 MB / 0.858 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006414/1.23, allocations: 2.68 MB / 0.8606 GB, free: 7.785 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0123/1.242, allocations: 4.92 MB / 0.8654 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.806e-05/1.242, allocations: 4 kB / 0.8654 GB, free: 2.797 MB / 0.6387 GB Notification: Performance of matching and sorting (n=383) (initialization): time 0.01726/1.259, allocations: 6.095 MB / 0.8713 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.938e-05/1.259, allocations: 10.91 kB / 0.8713 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/1.259, allocations: 7.984 kB / 0.8713 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001964/1.261, allocations: 0.8318 MB / 0.8722 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004896/1.266, allocations: 0.8403 MB / 0.873 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01204/1.278, allocations: 7.591 MB / 0.8804 GB, free: 3.344 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005408/1.284, allocations: 0.6389 MB / 0.881 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001067/1.285, allocations: 127.9 kB / 0.8811 GB, free: 2.578 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,$PRE.HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,$PRE.HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,$PRE.HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,$PRE.HDifTil[1].incAng.decAng.tNext,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,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (319): * Single equations (assignments): 318 * 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): 1 system {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003876/1.289, allocations: 1.081 MB / 0.8822 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001622/1.29, allocations: 324 kB / 0.8825 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01883/1.309, allocations: 6.754 MB / 0.8891 GB, free: 10.42 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-05/1.309, allocations: 38.91 kB / 0.8891 GB, free: 10.38 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.959e-05/1.309, allocations: 11.94 kB / 0.8891 GB, free: 10.37 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.435e-05/1.309, allocations: 15.94 kB / 0.8892 GB, free: 10.36 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00898/1.318, allocations: 4.408 MB / 0.8935 GB, free: 5.949 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.623e-05/1.318, allocations: 0 / 0.8935 GB, free: 5.949 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004641/1.323, allocations: 0.7867 MB / 0.8942 GB, free: 5.188 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002253/1.325, allocations: 0.7429 MB / 0.895 GB, free: 4.434 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001002/1.326, allocations: 95.91 kB / 0.8951 GB, free: 4.34 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0131/1.34, allocations: 10.66 MB / 0.9055 GB, free: 9.289 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.34, allocations: 0 / 0.9055 GB, free: 9.289 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02489/1.364, allocations: 9.577 MB / 0.9148 GB, free: 15.67 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00323/1.368, allocations: 0.9565 MB / 0.9157 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001609/1.369, allocations: 79.83 kB / 0.9158 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004692/1.374, allocations: 477.3 kB / 0.9163 GB, free: 14.15 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001165/1.375, allocations: 253.3 kB / 0.9165 GB, free: 13.9 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007709/1.376, allocations: 115.9 kB / 0.9166 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.004023/1.38, allocations: 2.021 MB / 0.9186 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.41e-07/1.38, allocations: 0 / 0.9186 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.005854/1.386, allocations: 1.325 MB / 0.9199 GB, free: 10.44 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.m,thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.thermCapExt[1].T) * Number of discrete variables: 21 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDirTil[2].incAng.decAng.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 11 (intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.tNext,weaDat.locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (295): * Single equations (assignments): 280 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,49,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003446/1.389, allocations: 1.051 MB / 0.9209 GB, free: 9.824 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.02698/1.416, allocations: 10.15 MB / 0.9308 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/1.417, allocations: 0 / 0.9308 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.008668/1.425, allocations: 3.474 MB / 0.9342 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006356/1.432, allocations: 0.8297 MB / 0.935 GB, free: 11.46 MB / 0.7169 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02419/1.456, allocations: 11.17 MB / 0.9459 GB, free: 276 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004029/1.46, allocations: 2.695 MB / 0.9486 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002988/1.463, allocations: 347.2 kB / 0.9489 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of SimCode: time 8.92e-07/1.463, allocations: 0 / 0.9489 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of Templates: time 0.4141/1.877, allocations: 107.8 MB / 1.054 GB, free: 359.8 MB / 0.795 GB make -j1 -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)