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.001683/0.001683, allocations: 102.5 kB / 16.52 MB, free: 6.27 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.001774/0.001774, allocations: 197 kB / 17.44 MB, free: 5.887 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.387/1.387, allocations: 222.9 MB / 241.1 MB, free: 13.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.705/0.705, allocations: 115.3 MB / 406.6 MB, free: 6.422 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 63.91 kB / 493.5 MB, free: 0.8086 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4167/0.4187, allocations: 76.17 MB / 0.5564 GB, free: 35.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.1713/0.5901, allocations: 162.6 MB / 0.7151 GB, free: 1.602 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03538/0.6255, allocations: 27.61 MB / 0.7421 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005024/0.6306, allocations: 83.56 kB / 0.7422 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003669/0.6343, allocations: 1.046 MB / 0.7432 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007273/0.6416, allocations: 1.876 MB / 0.745 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005515/0.6471, allocations: 1.829 MB / 0.7468 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3395/0.9867, allocations: 6.852 MB / 0.7535 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008149/0.9948, allocations: 4.349 MB / 0.7577 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005804/1.001, allocations: 2.064 MB / 0.7598 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006612/1.007, allocations: 2.814 MB / 0.7625 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001827/1.009, allocations: 298.4 kB / 0.7628 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004162/1.013, allocations: 0.8994 MB / 0.7637 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00154/1.015, allocations: 1.149 MB / 0.7648 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00514/1.02, allocations: 2.302 MB / 0.767 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007756/1.028, allocations: 5.599 MB / 0.7725 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/1.028, allocations: 0 / 0.7725 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.322e-06/1.028, allocations: 1.125 kB / 0.7725 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002726/1.028, allocations: 0 / 0.7725 GB, free: 2.344 MB / 0.5762 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.01879/1.047, allocations: 5.451 MB / 0.7778 GB, free: 164 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/1.047, allocations: 17.81 kB / 0.7778 GB, free: 160 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0143/1.061, allocations: 2.856 MB / 0.7806 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006674/1.068, allocations: 2.636 MB / 0.7832 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002532/1.068, allocations: 287.3 kB / 0.7835 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001814/1.07, allocations: 378.1 kB / 0.7838 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01725/1.087, allocations: 5.929 MB / 0.7896 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001193/1.088, allocations: 4.125 kB / 0.7896 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007894/1.088, allocations: 166.6 kB / 0.7898 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.824e-05/1.088, allocations: 93.38 kB / 0.7899 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01952/1.108, allocations: 7.037 MB / 0.7968 GB, free: 13.35 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.03972/1.148, allocations: 18.64 MB / 0.815 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01107/1.159, allocations: 4.809 MB / 0.8197 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006918/1.166, allocations: 3.068 MB / 0.8227 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001113/1.167, allocations: 0.6742 MB / 0.8233 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007459/1.174, allocations: 2.987 MB / 0.8262 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=336): time 7.654e-06/1.174, allocations: 0 / 0.8262 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=336): time 0.03159/1.206, allocations: 10.17 MB / 0.8362 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001536/1.206, allocations: 222.5 kB / 0.8364 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005727/1.212, allocations: 2.786 MB / 0.8391 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.00119/1.213, allocations: 93.69 kB / 0.8392 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001908/1.215, allocations: 1.595 MB / 0.8407 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.002189/1.217, allocations: 1.098 MB / 0.8418 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003116/1.221, allocations: 0.5767 MB / 0.8424 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001039/1.221, allocations: 301.1 kB / 0.8427 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006038/1.227, allocations: 2.316 MB / 0.8449 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006599/1.233, allocations: 2.683 MB / 0.8475 GB, free: 5.191 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01281/1.246, allocations: 4.92 MB / 0.8523 GB, free: 212 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.266e-05/1.246, allocations: 4 kB / 0.8523 GB, free: 208 kB / 0.6231 GB Notification: Performance of matching and sorting (n=383) (initialization): time 0.01841/1.265, allocations: 6.092 MB / 0.8583 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.75e-05/1.265, allocations: 20.08 kB / 0.8583 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/1.265, allocations: 4 kB / 0.8583 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002035/1.267, allocations: 0.8267 MB / 0.8591 GB, free: 9.273 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005081/1.272, allocations: 0.8402 MB / 0.8599 GB, free: 8.461 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01131/1.283, allocations: 7.015 MB / 0.8668 GB, free: 1.336 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005489/1.289, allocations: 0.6373 MB / 0.8674 GB, free: 0.6953 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001195/1.29, allocations: 131.9 kB / 0.8675 GB, free: 0.5664 MB / 0.6387 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.004314/1.294, allocations: 1.08 MB / 0.8686 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00189/1.296, allocations: 328 kB / 0.8689 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02198/1.318, allocations: 6.757 MB / 0.8755 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.596e-05/1.318, allocations: 36 kB / 0.8755 GB, free: 8.363 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.86e-05/1.318, allocations: 12 kB / 0.8756 GB, free: 8.352 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.816e-05/1.318, allocations: 15.94 kB / 0.8756 GB, free: 8.336 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01068/1.329, allocations: 4.397 MB / 0.8799 GB, free: 3.953 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-05/1.329, allocations: 6.906 kB / 0.8799 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004915/1.334, allocations: 0.7789 MB / 0.8806 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002244/1.336, allocations: 0.7379 MB / 0.8814 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001013/1.337, allocations: 99.91 kB / 0.8815 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01293/1.35, allocations: 9.78 MB / 0.891 GB, free: 8.176 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.35, allocations: 3.938 kB / 0.891 GB, free: 8.172 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02485/1.375, allocations: 9.58 MB / 0.9004 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003258/1.379, allocations: 0.953 MB / 0.9013 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001675/1.38, allocations: 79.83 kB / 0.9014 GB, free: 13.49 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004762/1.385, allocations: 471.2 kB / 0.9018 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001113/1.386, allocations: 246.4 kB / 0.9021 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008345/1.387, allocations: 130.8 kB / 0.9022 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003885/1.391, allocations: 2.017 MB / 0.9041 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2e-07/1.391, allocations: 0 / 0.9041 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.005864/1.397, allocations: 1.329 MB / 0.9054 GB, free: 9.309 MB / 0.6856 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.003188/1.4, allocations: 1.066 MB / 0.9065 GB, free: 8.691 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01479/1.415, allocations: 5.812 MB / 0.9122 GB, free: 2.883 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/1.415, allocations: 4 kB / 0.9122 GB, free: 2.879 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00843/1.423, allocations: 3.471 MB / 0.9156 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006075/1.429, allocations: 0.7818 MB / 0.9163 GB, free: 14.65 MB / 0.7012 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.0233/1.453, allocations: 11.17 MB / 0.9272 GB, free: 3.465 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003576/1.456, allocations: 2.691 MB / 0.9299 GB, free: 0.7422 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002959/1.459, allocations: 347.2 kB / 0.9302 GB, free: 412 kB / 0.7012 GB Notification: Performance of SimCode: time 8.71e-07/1.459, allocations: 0 / 0.9302 GB, free: 412 kB / 0.7012 GB Notification: Performance of Templates: time 0.4181/1.877, allocations: 107.8 MB / 1.035 GB, free: 367.7 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)