Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009513/0.0009514, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.000838/0.000838, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.918/0.918, allocations: 135.2 MB / 426.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003051/0.0003052, allocations: 8 kB / 0.5068 GB, free: 5.273 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1618, allocations: 82.31 MB / 0.5872 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.4293/0.5911, allocations: 135.4 MB / 0.7194 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03269/0.6239, allocations: 22.55 MB / 0.7414 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003328/0.6273, allocations: 61.91 kB / 0.7415 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002495/0.6298, allocations: 0.94 MB / 0.7424 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007031/0.6368, allocations: 2.079 MB / 0.7445 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005093/0.6419, allocations: 1.638 MB / 0.7461 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004989/0.6469, allocations: 2.722 MB / 0.7487 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003482/0.6504, allocations: 2.842 MB / 0.7515 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001647/0.6521, allocations: 1.253 MB / 0.7527 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001819/0.6539, allocations: 1.537 MB / 0.7542 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002386/0.6541, allocations: 100 kB / 0.7543 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001566/0.6557, allocations: 0.5735 MB / 0.7549 GB, free: 348 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005989/0.6563, allocations: 0.6655 MB / 0.7555 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005264/0.6569, allocations: 0.5974 MB / 0.7561 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003606/0.6605, allocations: 4.111 MB / 0.7601 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.6605, allocations: 4 kB / 0.7601 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.255e-06/0.6605, allocations: 0 / 0.7601 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.032e-05/0.6606, allocations: 0 / 0.7601 GB, free: 10.94 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: 790 * Number of variables: 790 Notification: Performance of Generate backend data structure: time 0.006671/0.6673, allocations: 3.691 MB / 0.7637 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.6673, allocations: 11.97 kB / 0.7637 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01221/0.6795, allocations: 2.874 MB / 0.7665 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004124/0.6837, allocations: 2.072 MB / 0.7686 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001596/0.6838, allocations: 230.2 kB / 0.7688 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004656/0.6843, allocations: 307.8 kB / 0.7691 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009271/0.6936, allocations: 4.963 MB / 0.7739 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.66e-05/0.6936, allocations: 0 / 0.7739 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003042/0.694, allocations: 132 kB / 0.774 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.371e-05/0.694, allocations: 76 kB / 0.7741 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01298/0.707, allocations: 6.166 MB / 0.7801 GB, free: 6.211 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.02457/0.7316, allocations: 13.68 MB / 0.7935 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009436/0.7411, allocations: 4.399 MB / 0.7978 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008905/0.742, allocations: 0.6696 MB / 0.7985 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004989/0.747, allocations: 2.366 MB / 0.8008 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=257): time 5.421e-06/0.7471, allocations: 0 / 0.8008 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=257): time 0.01569/0.7628, allocations: 6.961 MB / 0.8076 GB, free: 9.406 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.7629, allocations: 210 kB / 0.8078 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002863/0.7658, allocations: 2.307 MB / 0.81 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.00045/0.7662, allocations: 73.64 kB / 0.8101 GB, free: 6.738 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001057/0.7673, allocations: 1.309 MB / 0.8114 GB, free: 5.41 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009504/0.7683, allocations: 0.8548 MB / 0.8122 GB, free: 4.543 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.7684, allocations: 48 kB / 0.8122 GB, free: 4.496 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.7686, allocations: 402.4 kB / 0.8126 GB, free: 4.098 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004146/0.7728, allocations: 1.866 MB / 0.8145 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004441/0.7772, allocations: 2.172 MB / 0.8166 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004404/0.7816, allocations: 2.021 MB / 0.8185 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.7817, allocations: 0 / 0.8185 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01065/0.7923, allocations: 4.639 MB / 0.8231 GB, free: 9.227 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/0.7924, allocations: 12.16 kB / 0.8231 GB, free: 9.215 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.7924, allocations: 7.953 kB / 0.8231 GB, free: 9.207 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007244/0.7931, allocations: 228.6 kB / 0.8233 GB, free: 8.98 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004245/0.7974, allocations: 0.8073 MB / 0.8241 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003749/0.8012, allocations: 3.182 MB / 0.8272 GB, free: 4.855 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003415/0.8046, allocations: 0.5286 MB / 0.8277 GB, free: 4.324 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002957/0.8049, allocations: 104 kB / 0.8278 GB, free: 4.223 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: 11 ($whenCondition1,$PRE.intGai.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (264): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001674/0.8066, allocations: 0.8997 MB / 0.8287 GB, free: 3.312 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004722/0.8071, allocations: 252.8 kB / 0.8289 GB, free: 3.062 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01109/0.8182, allocations: 5.288 MB / 0.8341 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.206e-05/0.8182, allocations: 28 kB / 0.8341 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.8182, allocations: 0 / 0.8341 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.581e-05/0.8183, allocations: 23.91 kB / 0.8342 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01579/0.8341, allocations: 8.842 MB / 0.8428 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.8341, allocations: 0 / 0.8428 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003447/0.8376, allocations: 0.7567 MB / 0.8435 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007446/0.8383, allocations: 268.7 kB / 0.8438 GB, free: 3.648 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002073/0.8386, allocations: 71.94 kB / 0.8439 GB, free: 3.578 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004347/0.8429, allocations: 4.865 MB / 0.8486 GB, free: 14.42 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.8429, allocations: 0 / 0.8486 GB, free: 14.42 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01504/0.858, allocations: 7.533 MB / 0.856 GB, free: 6.793 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001854/0.8599, allocations: 0.8248 MB / 0.8568 GB, free: 5.945 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004112/0.8603, allocations: 51.95 kB / 0.8568 GB, free: 5.895 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002624/0.8629, allocations: 423.3 kB / 0.8572 GB, free: 5.48 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003182/0.8632, allocations: 161.9 kB / 0.8574 GB, free: 5.32 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002043/0.8635, allocations: 91.92 kB / 0.8575 GB, free: 5.23 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002088/0.8656, allocations: 1.692 MB / 0.8591 GB, free: 3.523 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8656, allocations: 0 / 0.8591 GB, free: 3.523 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002318/0.8679, allocations: 0.9699 MB / 0.8601 GB, free: 2.551 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.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 (251): * Single equations (assignments): 244 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 16,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002056/0.87, allocations: 1.022 MB / 0.8611 GB, free: 1.891 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.2517/1.122, allocations: 4.534 MB / 0.8655 GB, free: 211.8 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/1.122, allocations: 3.344 kB / 0.8655 GB, free: 211.8 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005059/1.127, allocations: 2.601 MB / 0.868 GB, free: 211.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002436/1.129, allocations: 0.5372 MB / 0.8686 GB, free: 211.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01183/1.141, allocations: 8.75 MB / 0.8771 GB, free: 208.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001479/1.143, allocations: 2.437 MB / 0.8795 GB, free: 207.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003864/1.146, allocations: 1.102 MB / 0.8806 GB, free: 207.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009004/1.147, allocations: 254.1 kB / 0.8808 GB, free: 207.3 MB / 0.67 GB Notification: Performance of SimCode: time 9.02e-07/1.147, allocations: 4 kB / 0.8808 GB, free: 207.3 MB / 0.67 GB Notification: Performance of Templates: time 0.07252/1.22, allocations: 40.58 MB / 0.9204 GB, free: 197 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1) Environment - environmentSimulation: