Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.438/1.438, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9704/0.9704, allocations: 135.1 MB / 425.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 68.7 kB / 0.5053 GB, free: 5.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1896, allocations: 80.92 MB / 0.5844 GB, free: 4.586 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.5227/0.7123, allocations: 161.7 MB / 0.7423 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03602/0.7484, allocations: 27.04 MB / 0.7687 GB, free: 40 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004597/0.753, allocations: 79.67 kB / 0.7688 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002602/0.7557, allocations: 1.072 MB / 0.7698 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006145/0.7618, allocations: 1.745 MB / 0.7715 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004993/0.7668, allocations: 1.799 MB / 0.7733 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0087/0.7755, allocations: 5.197 MB / 0.7784 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006103/0.7817, allocations: 4.51 MB / 0.7828 GB, free: 1.586 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004628/0.7863, allocations: 2.12 MB / 0.7848 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004721/0.7911, allocations: 2.588 MB / 0.7874 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0009168/0.792, allocations: 484 kB / 0.7878 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002698/0.7947, allocations: 1.062 MB / 0.7889 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001095/0.7958, allocations: 1.25 MB / 0.7901 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002565/0.7984, allocations: 2.192 MB / 0.7922 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007233/0.8056, allocations: 6.092 MB / 0.7982 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.8057, allocations: 3.984 kB / 0.7982 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8057, allocations: 0 / 0.7982 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001573/0.8058, allocations: 0 / 0.7982 GB, free: 1.758 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: 882 * Number of variables: 882 Notification: Performance of Generate backend data structure: time 0.01087/0.8167, allocations: 4.748 MB / 0.8028 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.932e-05/0.8168, allocations: 11.97 kB / 0.8028 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01382/0.8306, allocations: 2.799 MB / 0.8056 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005325/0.836, allocations: 2.35 MB / 0.8078 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001903/0.8362, allocations: 254.9 kB / 0.8081 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007312/0.837, allocations: 339.9 kB / 0.8084 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01265/0.8496, allocations: 5.385 MB / 0.8137 GB, free: 1.656 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.231e-05/0.8497, allocations: 4 kB / 0.8137 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006665/0.8504, allocations: 143.9 kB / 0.8138 GB, free: 1.512 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.43e-05/0.8505, allocations: 84 kB / 0.8139 GB, free: 1.43 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01644/0.8669, allocations: 6.527 MB / 0.8203 GB, free: 10.89 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.03339/0.9003, allocations: 15.73 MB / 0.8356 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009628/0.91, allocations: 4.08 MB / 0.8396 GB, free: 6.453 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005977/0.916, allocations: 2.659 MB / 0.8422 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/0.9172, allocations: 0.6736 MB / 0.8429 GB, free: 2.984 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006367/0.9235, allocations: 2.561 MB / 0.8454 GB, free: 392 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=288): time 5.891e-06/0.9236, allocations: 0 / 0.8454 GB, free: 392 kB / 0.6544 GB Notification: Performance of matching and sorting (n=288): time 0.02415/0.9477, allocations: 8.402 MB / 0.8536 GB, free: 7.863 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/0.9479, allocations: 214.1 kB / 0.8538 GB, free: 7.609 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004316/0.9522, allocations: 2.517 MB / 0.8562 GB, free: 5.07 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0007273/0.953, allocations: 73.7 kB / 0.8563 GB, free: 4.992 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001471/0.9545, allocations: 1.428 MB / 0.8577 GB, free: 3.547 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001459/0.9559, allocations: 0.9588 MB / 0.8586 GB, free: 2.574 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001862/0.9578, allocations: 0.5127 MB / 0.8591 GB, free: 2.055 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.288e-05/0.9579, allocations: 301.1 kB / 0.8594 GB, free: 1.758 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3732/1.331, allocations: 2.054 MB / 0.8614 GB, free: 215 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005609/1.337, allocations: 2.372 MB / 0.8637 GB, free: 214.8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009836/1.347, allocations: 4.434 MB / 0.8681 GB, free: 213.9 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-05/1.347, allocations: 1.875 kB / 0.8681 GB, free: 213.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01205/1.359, allocations: 5.319 MB / 0.8733 GB, free: 212.4 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.062e-05/1.359, allocations: 10.31 kB / 0.8733 GB, free: 212.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.438e-05/1.359, allocations: 2.594 kB / 0.8733 GB, free: 212.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/1.36, allocations: 0.5453 MB / 0.8738 GB, free: 212.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003796/1.364, allocations: 0.796 MB / 0.8746 GB, free: 212.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006546/1.371, allocations: 5.731 MB / 0.8802 GB, free: 208.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004219/1.375, allocations: 0.5418 MB / 0.8807 GB, free: 208.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004243/1.375, allocations: 126.5 kB / 0.8808 GB, free: 208.8 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 (282): * Single equations (assignments): 281 * 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 {(4,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002084/1.377, allocations: 0.973 MB / 0.8818 GB, free: 208.4 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007264/1.378, allocations: 284.4 kB / 0.8821 GB, free: 208.3 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01215/1.39, allocations: 5.889 MB / 0.8878 GB, free: 206.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.27e-05/1.39, allocations: 29.12 kB / 0.8878 GB, free: 206.4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/1.39, allocations: 6.906 kB / 0.8879 GB, free: 206.4 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.898e-05/1.39, allocations: 17.16 kB / 0.8879 GB, free: 206.4 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02113/1.412, allocations: 9.89 MB / 0.8975 GB, free: 202.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/1.412, allocations: 3.188 kB / 0.8975 GB, free: 202.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004183/1.416, allocations: 0.745 MB / 0.8983 GB, free: 202.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001486/1.417, allocations: 0.5309 MB / 0.8988 GB, free: 202.7 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004319/1.418, allocations: 80.66 kB / 0.8989 GB, free: 202.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0095/1.427, allocations: 7.553 MB / 0.9062 GB, free: 197.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/1.427, allocations: 1.188 kB / 0.9062 GB, free: 197.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02171/1.449, allocations: 8.396 MB / 0.9144 GB, free: 194.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002501/1.452, allocations: 0.8387 MB / 0.9152 GB, free: 193.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001074/1.453, allocations: 64.52 kB / 0.9153 GB, free: 193.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004036/1.457, allocations: 397.6 kB / 0.9157 GB, free: 193.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000827/1.458, allocations: 185.2 kB / 0.9159 GB, free: 193.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004622/1.458, allocations: 108.6 kB / 0.916 GB, free: 193.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004019/1.462, allocations: 1.832 MB / 0.9178 GB, free: 193 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.733e-06/1.462, allocations: 0 / 0.9178 GB, free: 193 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005028/1.467, allocations: 1.113 MB / 0.9188 GB, free: 192.7 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneThreeElements.volAir.dynBal.U,thermalZoneThreeElements.volAir.dynBal.m,thermalZoneThreeElements.extWallRC.thermCapExt[1].T,thermalZoneThreeElements.intWallRC.thermCapInt[1].T,thermalZoneThreeElements.floorRC.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 (260): * Single equations (assignments): 253 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,36,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.003121/1.47, allocations: 1.035 MB / 0.9199 GB, free: 192.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02219/1.492, allocations: 8.63 MB / 0.9283 GB, free: 190.8 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/1.492, allocations: 3.938 kB / 0.9283 GB, free: 190.8 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006524/1.499, allocations: 2.937 MB / 0.9312 GB, free: 189.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005481/1.505, allocations: 0.7166 MB / 0.9319 GB, free: 189.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01608/1.521, allocations: 8.367 MB / 0.94 GB, free: 182.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002763/1.523, allocations: 2.55 MB / 0.9425 GB, free: 179.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005198/1.529, allocations: 1.13 MB / 0.9436 GB, free: 178.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001576/1.53, allocations: 267.3 kB / 0.9439 GB, free: 178.5 MB / 0.67 GB Notification: Performance of SimCode: time 1.393e-06/1.53, allocations: 0 / 0.9439 GB, free: 178.5 MB / 0.67 GB Notification: Performance of Templates: time 0.07043/1.601, allocations: 49.85 MB / 0.9926 GB, free: 129.1 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)