Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008249/0.0008249, allocations: 99.55 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.0008094/0.0008094, allocations: 177.3 kB / 15.94 MB, free: 228 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.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8985/0.8985, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002889/0.0002889, allocations: 8 kB / 0.5068 GB, free: 5.254 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1536, allocations: 82.3 MB / 0.5872 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.4221/0.5758, allocations: 135.4 MB / 0.7194 GB, free: 12.1 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03465/0.6105, allocations: 22.55 MB / 0.7414 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003621/0.6141, allocations: 60.22 kB / 0.7415 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002715/0.6169, allocations: 0.9459 MB / 0.7424 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007669/0.6245, allocations: 2.077 MB / 0.7444 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005681/0.6302, allocations: 1.629 MB / 0.746 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005536/0.6358, allocations: 2.731 MB / 0.7487 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003893/0.6397, allocations: 2.839 MB / 0.7515 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002087/0.6418, allocations: 1.249 MB / 0.7527 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002069/0.6439, allocations: 1.54 MB / 0.7542 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002591/0.6442, allocations: 100 kB / 0.7543 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001744/0.6459, allocations: 0.5696 MB / 0.7549 GB, free: 388 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006219/0.6465, allocations: 0.6615 MB / 0.7555 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006296/0.6472, allocations: 0.5935 MB / 0.7561 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003951/0.6511, allocations: 4.123 MB / 0.7601 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.6512, allocations: 4 kB / 0.7601 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.274e-06/0.6512, allocations: 0 / 0.7601 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.343e-05/0.6512, allocations: 0 / 0.7601 GB, free: 10.98 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.007463/0.6587, allocations: 3.695 MB / 0.7637 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.6588, allocations: 15.97 kB / 0.7637 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01241/0.6712, allocations: 2.862 MB / 0.7665 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004603/0.6758, allocations: 2.076 MB / 0.7686 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000171/0.676, allocations: 230.2 kB / 0.7688 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004833/0.6765, allocations: 303.9 kB / 0.7691 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01023/0.6867, allocations: 4.967 MB / 0.7739 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.745e-05/0.6868, allocations: 0 / 0.7739 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003478/0.6872, allocations: 128 kB / 0.774 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-05/0.6872, allocations: 76 kB / 0.7741 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01301/0.7002, allocations: 6.169 MB / 0.7801 GB, free: 6.246 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.02202/0.7223, allocations: 13.68 MB / 0.7935 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009113/0.7314, allocations: 4.395 MB / 0.7978 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008139/0.7322, allocations: 0.6735 MB / 0.7984 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00462/0.7369, allocations: 2.366 MB / 0.8008 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=257): time 4.379e-06/0.7369, allocations: 4 kB / 0.8008 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=257): time 0.01496/0.7519, allocations: 6.949 MB / 0.8075 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.752, allocations: 210 kB / 0.8077 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002794/0.7548, allocations: 2.315 MB / 0.81 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000268/0.7551, allocations: 65.7 kB / 0.8101 GB, free: 6.773 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.00107/0.7562, allocations: 1.313 MB / 0.8114 GB, free: 5.441 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007695/0.7569, allocations: 0.8509 MB / 0.8122 GB, free: 4.582 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/0.7571, allocations: 44 kB / 0.8122 GB, free: 4.539 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.7573, allocations: 402.3 kB / 0.8126 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004038/0.7614, allocations: 1.87 MB / 0.8144 GB, free: 2.266 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004211/0.7656, allocations: 2.172 MB / 0.8166 GB, free: 16 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004317/0.7699, allocations: 2.017 MB / 0.8185 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.351e-06/0.7699, allocations: 3.938 kB / 0.8185 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01004/0.78, allocations: 4.643 MB / 0.8231 GB, free: 9.262 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.78, allocations: 10.5 kB / 0.8231 GB, free: 9.254 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.78, allocations: 11.94 kB / 0.8231 GB, free: 9.242 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005747/0.7806, allocations: 234 kB / 0.8233 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003538/0.7842, allocations: 0.7996 MB / 0.8241 GB, free: 8.211 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003646/0.7878, allocations: 3.184 MB / 0.8272 GB, free: 4.895 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00307/0.7909, allocations: 0.5364 MB / 0.8277 GB, free: 4.355 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002221/0.7911, allocations: 107.9 kB / 0.8278 GB, free: 4.25 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.001604/0.7928, allocations: 0.888 MB / 0.8287 GB, free: 3.352 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004657/0.7932, allocations: 260.8 kB / 0.8289 GB, free: 3.094 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01125/0.8045, allocations: 5.289 MB / 0.8341 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.256e-05/0.8045, allocations: 28 kB / 0.8341 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.8045, allocations: 4 kB / 0.8341 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-05/0.8046, allocations: 15.91 kB / 0.8342 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01625/0.8208, allocations: 8.838 MB / 0.8428 GB, free: 4.715 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/0.8209, allocations: 7.922 kB / 0.8428 GB, free: 4.707 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003444/0.8243, allocations: 0.7567 MB / 0.8435 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007264/0.825, allocations: 270.2 kB / 0.8438 GB, free: 3.676 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002325/0.8253, allocations: 75.88 kB / 0.8439 GB, free: 3.602 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004459/0.8298, allocations: 4.865 MB / 0.8486 GB, free: 14.45 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.8298, allocations: 0 / 0.8486 GB, free: 14.45 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01487/0.8447, allocations: 7.525 MB / 0.856 GB, free: 6.824 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001898/0.8466, allocations: 0.8209 MB / 0.8568 GB, free: 5.98 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000423/0.847, allocations: 51.95 kB / 0.8568 GB, free: 5.93 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002679/0.8497, allocations: 423.3 kB / 0.8572 GB, free: 5.516 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003231/0.85, allocations: 165.9 kB / 0.8574 GB, free: 5.352 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002207/0.8503, allocations: 95.92 kB / 0.8575 GB, free: 5.258 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002169/0.8524, allocations: 1.688 MB / 0.8591 GB, free: 3.555 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8524, allocations: 0 / 0.8591 GB, free: 3.555 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002505/0.855, allocations: 0.9699 MB / 0.8601 GB, free: 2.582 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.002069/0.857, allocations: 1.022 MB / 0.8611 GB, free: 1.91 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.2523/1.109, allocations: 4.533 MB / 0.8655 GB, free: 213.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.109, allocations: 2.812 kB / 0.8655 GB, free: 213.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00474/1.114, allocations: 2.6 MB / 0.868 GB, free: 212.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002582/1.117, allocations: 0.5319 MB / 0.8685 GB, free: 212.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/1.128, allocations: 8.76 MB / 0.8771 GB, free: 209.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001479/1.13, allocations: 2.436 MB / 0.8795 GB, free: 208.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003676/1.133, allocations: 1.094 MB / 0.8805 GB, free: 208.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008957/1.134, allocations: 257.9 kB / 0.8808 GB, free: 208.6 MB / 0.67 GB Notification: Performance of SimCode: time 6.82e-07/1.134, allocations: 3.938 kB / 0.8808 GB, free: 208.6 MB / 0.67 GB Notification: Performance of Templates: time 0.0706/1.205, allocations: 40.59 MB / 0.9204 GB, free: 197.8 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1) Environment - environmentSimulation: