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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.001307/0.001307, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001188/0.001188, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 14.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7918/0.7918, allocations: 132.2 MB / 423.3 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002361/0.002362, allocations: 63.89 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3475, allocations: 80.18 MB / 0.5815 GB, free: 27.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1676/0.5152, allocations: 160.1 MB / 0.7379 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3291/0.8443, allocations: 26.58 MB / 0.7638 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002974/0.8474, allocations: 74.38 kB / 0.7639 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002243/0.8497, allocations: 0.9824 MB / 0.7648 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00459/0.8543, allocations: 1.609 MB / 0.7664 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003928/0.8582, allocations: 1.643 MB / 0.768 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006232/0.8645, allocations: 4.574 MB / 0.7725 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005706/0.8702, allocations: 4.092 MB / 0.7765 GB, free: 17.06 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004173/0.8744, allocations: 1.936 MB / 0.7784 GB, free: 17.06 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003579/0.878, allocations: 2.334 MB / 0.7807 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008385/0.8789, allocations: 425.8 kB / 0.7811 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002274/0.8811, allocations: 1.043 MB / 0.7821 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007828/0.8819, allocations: 1.105 MB / 0.7832 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001933/0.8839, allocations: 1.927 MB / 0.785 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005361/0.8893, allocations: 5.511 MB / 0.7904 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.8893, allocations: 3.406 kB / 0.7904 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.764e-06/0.8893, allocations: 0.875 kB / 0.7904 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.579e-05/0.8894, allocations: 0 / 0.7904 GB, free: 15.53 MB / 0.5919 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.008421/0.8978, allocations: 4.296 MB / 0.7946 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.8979, allocations: 14.66 kB / 0.7946 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01277/0.9107, allocations: 2.747 MB / 0.7973 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005135/0.9158, allocations: 2.211 MB / 0.7995 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000142/0.916, allocations: 232.4 kB / 0.7997 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006033/0.9166, allocations: 302.5 kB / 0.8 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01009/0.9267, allocations: 4.959 MB / 0.8048 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.978e-05/0.9268, allocations: 11 kB / 0.8048 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003349/0.9271, allocations: 125.7 kB / 0.805 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.287e-05/0.9272, allocations: 73.41 kB / 0.805 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01355/0.9407, allocations: 6.107 MB / 0.811 GB, free: 10.39 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.02767/0.9684, allocations: 13.54 MB / 0.8242 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01061/0.9791, allocations: 4.344 MB / 0.8285 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00544/0.9846, allocations: 2.315 MB / 0.8307 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001041/0.9856, allocations: 0.6673 MB / 0.8314 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006043/0.9917, allocations: 2.377 MB / 0.8337 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=257): time 5.39e-06/0.9917, allocations: 0 / 0.8337 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=257): time 0.01919/1.011, allocations: 6.939 MB / 0.8405 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/1.011, allocations: 213 kB / 0.8407 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003827/1.015, allocations: 2.307 MB / 0.8429 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0005048/1.015, allocations: 73.7 kB / 0.843 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001252/1.017, allocations: 1.3 MB / 0.8443 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001055/1.018, allocations: 0.8477 MB / 0.8451 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001191/1.019, allocations: 484.1 kB / 0.8456 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.878e-05/1.019, allocations: 301.1 kB / 0.8458 GB, free: 9.406 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004405/1.023, allocations: 1.893 MB / 0.8477 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004751/1.028, allocations: 2.191 MB / 0.8498 GB, free: 5.246 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009156/1.037, allocations: 4.06 MB / 0.8538 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.21e-05/1.037, allocations: 3.938 kB / 0.8538 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01117/1.049, allocations: 4.698 MB / 0.8584 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/1.049, allocations: 10.34 kB / 0.8584 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/1.049, allocations: 16.09 kB / 0.8584 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006557/1.049, allocations: 231.3 kB / 0.8586 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00394/1.053, allocations: 0.7767 MB / 0.8594 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004443/1.058, allocations: 3.368 MB / 0.8627 GB, free: 7.891 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004474/1.062, allocations: 0.5208 MB / 0.8632 GB, free: 7.367 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00072/1.063, allocations: 103.9 kB / 0.8633 GB, free: 7.266 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: 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 (272): * Single equations (assignments): 271 * 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 {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002703/1.066, allocations: 0.8921 MB / 0.8642 GB, free: 6.391 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001096/1.067, allocations: 260.7 kB / 0.8644 GB, free: 6.133 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01445/1.081, allocations: 5.262 MB / 0.8695 GB, free: 0.8125 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-05/1.081, allocations: 28 kB / 0.8696 GB, free: 0.7852 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.73e-05/1.081, allocations: 8 kB / 0.8696 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-05/1.081, allocations: 15.89 kB / 0.8696 GB, free: 0.7617 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01892/1.1, allocations: 8.817 MB / 0.8782 GB, free: 7.898 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/1.1, allocations: 0 / 0.8782 GB, free: 7.898 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003659/1.104, allocations: 0.7198 MB / 0.8789 GB, free: 7.199 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008011/1.105, allocations: 269.5 kB / 0.8792 GB, free: 6.93 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000257/1.105, allocations: 71.94 kB / 0.8792 GB, free: 6.859 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00514/1.11, allocations: 5.234 MB / 0.8843 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.11, allocations: 0 / 0.8843 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01624/1.127, allocations: 7.534 MB / 0.8917 GB, free: 9.734 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002041/1.129, allocations: 0.7666 MB / 0.8925 GB, free: 8.945 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005219/1.129, allocations: 55.84 kB / 0.8925 GB, free: 8.891 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002786/1.132, allocations: 398.1 kB / 0.8929 GB, free: 8.504 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003743/1.132, allocations: 165.9 kB / 0.893 GB, free: 8.34 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002499/1.133, allocations: 87.94 kB / 0.8931 GB, free: 8.254 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002273/1.135, allocations: 1.696 MB / 0.8948 GB, free: 6.543 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.61e-07/1.135, allocations: 0 / 0.8948 GB, free: 6.543 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002607/1.137, allocations: 0.966 MB / 0.8957 GB, free: 5.574 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 (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 {(2,16,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.002444/1.14, allocations: 1.038 MB / 0.8967 GB, free: 4.988 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01102/1.151, allocations: 4.58 MB / 0.9012 GB, free: 408 kB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/1.151, allocations: 4.688 kB / 0.9012 GB, free: 404 kB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005815/1.157, allocations: 2.607 MB / 0.9038 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003141/1.16, allocations: 0.6465 MB / 0.9044 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01365/1.174, allocations: 7.457 MB / 0.9117 GB, free: 5.715 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002007/1.176, allocations: 2.378 MB / 0.914 GB, free: 3.309 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.003835/1.18, allocations: 1.087 MB / 0.9151 GB, free: 2.223 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001126/1.181, allocations: 263.2 kB / 0.9153 GB, free: 1.965 MB / 0.6856 GB Notification: Performance of SimCode: time 1.312e-06/1.181, allocations: 0 / 0.9153 GB, free: 1.965 MB / 0.6856 GB Notification: Performance of Templates: time 0.07048/1.251, allocations: 43.46 MB / 0.9577 GB, free: 6.945 MB / 0.7325 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)