Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001307/0.001307, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001621/0.001621, allocations: 193.1 kB / 16.25 MB, free: 6.633 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.508/1.508, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.029/1.029, allocations: 135.1 MB / 425.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 59.84 kB / 0.5048 GB, free: 5.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2096, allocations: 80.93 MB / 0.5839 GB, free: 4.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.61/0.8197, allocations: 160.8 MB / 0.7409 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03954/0.8592, allocations: 27.08 MB / 0.7674 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005432/0.8647, allocations: 75.62 kB / 0.7675 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003279/0.8681, allocations: 0.9993 MB / 0.7684 GB, free: 164 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007503/0.8756, allocations: 1.724 MB / 0.7701 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00584/0.8814, allocations: 1.781 MB / 0.7719 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008947/0.8904, allocations: 5.857 MB / 0.7776 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008279/0.8987, allocations: 4.9 MB / 0.7824 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007863/0.9066, allocations: 2.318 MB / 0.7846 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006884/0.9135, allocations: 2.876 MB / 0.7874 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002302/0.9159, allocations: 0.5195 MB / 0.7879 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003926/0.9198, allocations: 1.105 MB / 0.789 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002082/0.9219, allocations: 1.371 MB / 0.7904 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003498/0.9254, allocations: 2.391 MB / 0.7927 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0083/0.9337, allocations: 6.644 MB / 0.7992 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.9337, allocations: 0 / 0.7992 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.795e-06/0.9338, allocations: 0 / 0.7992 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002217/0.934, allocations: 4 kB / 0.7992 GB, free: 0.5664 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01246/0.9465, allocations: 5.096 MB / 0.8042 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.125e-05/0.9465, allocations: 8.031 kB / 0.8042 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01379/0.9603, allocations: 2.834 MB / 0.8069 GB, free: 8.543 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005929/0.9663, allocations: 2.523 MB / 0.8094 GB, free: 5.945 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002252/0.9666, allocations: 295.5 kB / 0.8097 GB, free: 5.656 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008754/0.9674, allocations: 367.9 kB / 0.81 GB, free: 5.297 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01315/0.9806, allocations: 5.724 MB / 0.8156 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.841e-05/0.9807, allocations: 7.938 kB / 0.8156 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004011/0.9811, allocations: 152 kB / 0.8158 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-05/0.9812, allocations: 95.94 kB / 0.8159 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01623/0.9975, allocations: 6.846 MB / 0.8226 GB, free: 8.406 MB / 0.6387 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.03412/1.032, allocations: 17.37 MB / 0.8395 GB, free: 6.281 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01054/1.042, allocations: 4.478 MB / 0.8439 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006634/1.049, allocations: 2.951 MB / 0.8468 GB, free: 14.84 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001293/1.05, allocations: 0.6738 MB / 0.8474 GB, free: 14.04 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006731/1.057, allocations: 2.729 MB / 0.8501 GB, free: 11.27 MB / 0.67 GB Notification: Performance of pre-optimization done (n=315): time 7.093e-06/1.057, allocations: 0 / 0.8501 GB, free: 11.27 MB / 0.67 GB Notification: Performance of matching and sorting (n=315): time 0.02996/1.087, allocations: 9.69 MB / 0.8596 GB, free: 1.445 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001744/1.087, allocations: 218.4 kB / 0.8598 GB, free: 1.188 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4409/1.528, allocations: 2.65 MB / 0.8624 GB, free: 215.4 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001098/1.529, allocations: 78.83 kB / 0.8624 GB, free: 215.4 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001463/1.531, allocations: 1.542 MB / 0.8639 GB, free: 215.2 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001565/1.532, allocations: 1.049 MB / 0.865 GB, free: 214.4 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001053/1.533, allocations: 0.5448 MB / 0.8655 GB, free: 214.1 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.699e-05/1.533, allocations: 304.4 kB / 0.8658 GB, free: 213.9 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00483/1.538, allocations: 2.178 MB / 0.8679 GB, free: 213.2 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005149/1.543, allocations: 2.525 MB / 0.8704 GB, free: 212.3 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01006/1.554, allocations: 4.7 MB / 0.875 GB, free: 210.7 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.305e-05/1.554, allocations: 2.875 kB / 0.875 GB, free: 210.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01259/1.566, allocations: 5.81 MB / 0.8806 GB, free: 208.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/1.566, allocations: 6.375 kB / 0.8806 GB, free: 208.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/1.566, allocations: 7.062 kB / 0.8807 GB, free: 208.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001737/1.568, allocations: 0.8454 MB / 0.8815 GB, free: 208.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004208/1.572, allocations: 0.8099 MB / 0.8823 GB, free: 208.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009849/1.582, allocations: 7.566 MB / 0.8897 GB, free: 204.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005008/1.587, allocations: 0.5856 MB / 0.8902 GB, free: 204.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006545/1.588, allocations: 121.7 kB / 0.8903 GB, free: 204.1 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (291): * Single equations (assignments): 290 * 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.002679/1.591, allocations: 1.028 MB / 0.8913 GB, free: 203.7 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009634/1.592, allocations: 306.9 kB / 0.8916 GB, free: 203.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01484/1.606, allocations: 6.388 MB / 0.8979 GB, free: 201.3 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-05/1.606, allocations: 32.34 kB / 0.8979 GB, free: 201.3 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.959e-05/1.606, allocations: 9 kB / 0.8979 GB, free: 201.3 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.564e-05/1.607, allocations: 16.73 kB / 0.8979 GB, free: 201.3 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02366/1.63, allocations: 10.72 MB / 0.9084 GB, free: 197.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/1.63, allocations: 1.344 kB / 0.9084 GB, free: 197.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004246/1.634, allocations: 0.7647 MB / 0.9092 GB, free: 197.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002046/1.637, allocations: 0.7417 MB / 0.9099 GB, free: 197.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005299/1.637, allocations: 85.98 kB / 0.91 GB, free: 197.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0116/1.649, allocations: 10.66 MB / 0.9204 GB, free: 189.3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.649, allocations: 5.125 kB / 0.9204 GB, free: 189.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02203/1.671, allocations: 9.073 MB / 0.9292 GB, free: 186.1 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002644/1.673, allocations: 0.892 MB / 0.9301 GB, free: 185.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008378/1.674, allocations: 67.56 kB / 0.9302 GB, free: 185.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003729/1.678, allocations: 431.8 kB / 0.9306 GB, free: 185.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006641/1.679, allocations: 212 kB / 0.9308 GB, free: 185.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003022/1.679, allocations: 104.4 kB / 0.9309 GB, free: 185.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002875/1.682, allocations: 1.922 MB / 0.9328 GB, free: 184.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.303e-06/1.682, allocations: 3.875 kB / 0.9328 GB, free: 184.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003984/1.686, allocations: 1.243 MB / 0.934 GB, free: 184.5 MB / 0.67 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: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002508/1.688, allocations: 1.031 MB / 0.935 GB, free: 184.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02173/1.71, allocations: 9.335 MB / 0.9441 GB, free: 177.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/1.71, allocations: 2.625 kB / 0.9441 GB, free: 177.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00675/1.717, allocations: 3.313 MB / 0.9473 GB, free: 174.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005356/1.722, allocations: 0.7805 MB / 0.9481 GB, free: 173.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01599/1.738, allocations: 10.66 MB / 0.9585 GB, free: 162.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001832/1.74, allocations: 2.695 MB / 0.9611 GB, free: 160.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004389/1.745, allocations: 1.157 MB / 0.9623 GB, free: 159 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0011/1.746, allocations: 279.2 kB / 0.9625 GB, free: 158.7 MB / 0.67 GB Notification: Performance of SimCode: time 8.72e-07/1.746, allocations: 0 / 0.9625 GB, free: 158.7 MB / 0.67 GB Notification: Performance of Templates: time 0.08274/1.829, allocations: 54.41 MB / 1.016 GB, free: 104.8 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)