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.00115/0.00115, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008946/0.008947, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.404/1.404, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9364/0.9364, allocations: 135.3 MB / 426.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005154/0.0005154, allocations: 8.844 kB / 0.5076 GB, free: 4.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2152, allocations: 82.3 MB / 0.588 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.5661/0.7814, allocations: 155.6 MB / 0.7399 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.04107/0.8225, allocations: 26.15 MB / 0.7654 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004614/0.8272, allocations: 63.62 kB / 0.7655 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002822/0.83, allocations: 0.8713 MB / 0.7663 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006291/0.8364, allocations: 1.456 MB / 0.7677 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004909/0.8413, allocations: 1.452 MB / 0.7692 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007126/0.8484, allocations: 4.774 MB / 0.7738 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00563/0.8541, allocations: 3.367 MB / 0.7771 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002913/0.857, allocations: 1.299 MB / 0.7784 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003489/0.8605, allocations: 1.812 MB / 0.7801 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008511/0.8614, allocations: 103.9 kB / 0.7802 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002759/0.8641, allocations: 0.6983 MB / 0.7809 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001226/0.8654, allocations: 0.6883 MB / 0.7816 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002872/0.8683, allocations: 1.484 MB / 0.7831 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006328/0.8746, allocations: 5.034 MB / 0.788 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.8746, allocations: 0 / 0.788 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8746, allocations: 0 / 0.788 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.85e-05/0.8747, allocations: 0 / 0.788 GB, free: 14.9 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: 790 * Number of variables: 790 Notification: Performance of Generate backend data structure: time 0.007486/0.8822, allocations: 3.666 MB / 0.7915 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.8823, allocations: 8.031 kB / 0.7916 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01344/0.8957, allocations: 2.878 MB / 0.7944 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005009/0.9008, allocations: 2.171 MB / 0.7965 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001925/0.901, allocations: 238.2 kB / 0.7967 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006116/0.9016, allocations: 300 kB / 0.797 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01141/0.913, allocations: 5.002 MB / 0.8019 GB, free: 448 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.14e-05/0.9131, allocations: 3.984 kB / 0.8019 GB, free: 444 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000363/0.9135, allocations: 132 kB / 0.802 GB, free: 312 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.241e-05/0.9136, allocations: 79.94 kB / 0.8021 GB, free: 232 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01442/0.928, allocations: 6.193 MB / 0.8081 GB, free: 10.02 MB / 0.6231 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.02825/0.9563, allocations: 13.66 MB / 0.8215 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01057/0.9669, allocations: 4.359 MB / 0.8257 GB, free: 7.555 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00538/0.9723, allocations: 2.319 MB / 0.828 GB, free: 5.238 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000993/0.9733, allocations: 0.6735 MB / 0.8287 GB, free: 4.434 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005836/0.9792, allocations: 2.374 MB / 0.831 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=257): time 7.324e-06/0.9792, allocations: 0 / 0.831 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of matching and sorting (n=257): time 0.0187/0.9979, allocations: 6.986 MB / 0.8378 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001783/0.9982, allocations: 206 kB / 0.838 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005133/1.003, allocations: 2.307 MB / 0.8403 GB, free: 8.328 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0005811/1.004, allocations: 77.7 kB / 0.8403 GB, free: 8.246 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001821/1.006, allocations: 1.294 MB / 0.8416 GB, free: 6.934 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001275/1.007, allocations: 0.8509 MB / 0.8424 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005344/1.008, allocations: 186.3 kB / 0.8426 GB, free: 5.883 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001308/1.008, allocations: 301.1 kB / 0.8429 GB, free: 5.586 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005093/1.013, allocations: 1.901 MB / 0.8447 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005492/1.018, allocations: 2.189 MB / 0.8469 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01083/1.029, allocations: 4.085 MB / 0.8509 GB, free: 13.24 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.638e-05/1.029, allocations: 4 kB / 0.8509 GB, free: 13.23 MB / 0.67 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01366/1.043, allocations: 4.711 MB / 0.8555 GB, free: 8.469 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.58e-05/1.043, allocations: 10.59 kB / 0.8555 GB, free: 8.461 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/1.043, allocations: 11.94 kB / 0.8555 GB, free: 8.449 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009722/1.044, allocations: 232.6 kB / 0.8557 GB, free: 8.219 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004201/1.048, allocations: 0.7722 MB / 0.8565 GB, free: 7.445 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005135/1.053, allocations: 3.101 MB / 0.8595 GB, free: 4.207 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004289/1.058, allocations: 0.5325 MB / 0.86 GB, free: 3.672 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007125/1.058, allocations: 119.8 kB / 0.8601 GB, free: 3.555 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 (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.00338/1.062, allocations: 0.8837 MB / 0.861 GB, free: 2.66 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001061/1.063, allocations: 260.8 kB / 0.8612 GB, free: 2.402 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.382/1.445, allocations: 5.273 MB / 0.8664 GB, free: 213.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.738e-05/1.445, allocations: 26.19 kB / 0.8664 GB, free: 213.4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/1.445, allocations: 3.906 kB / 0.8664 GB, free: 213.4 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.62e-05/1.445, allocations: 13.59 kB / 0.8664 GB, free: 213.4 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01532/1.46, allocations: 8.826 MB / 0.8751 GB, free: 211.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.779e-06/1.46, allocations: 3.5 kB / 0.8751 GB, free: 211.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003321/1.464, allocations: 0.723 MB / 0.8758 GB, free: 211.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007455/1.465, allocations: 266.9 kB / 0.876 GB, free: 211.8 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002526/1.465, allocations: 69.5 kB / 0.8761 GB, free: 211.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00379/1.469, allocations: 4.803 MB / 0.8808 GB, free: 207.8 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.469, allocations: 0 / 0.8808 GB, free: 207.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01874/1.487, allocations: 7.546 MB / 0.8881 GB, free: 205.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001844/1.489, allocations: 0.8195 MB / 0.8889 GB, free: 205.1 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006967/1.49, allocations: 48.12 kB / 0.889 GB, free: 205 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00317/1.493, allocations: 416.3 kB / 0.8894 GB, free: 205 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004321/1.494, allocations: 163.3 kB / 0.8895 GB, free: 205 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002616/1.494, allocations: 100.1 kB / 0.8896 GB, free: 204.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002572/1.496, allocations: 1.681 MB / 0.8913 GB, free: 204.4 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.61e-07/1.496, allocations: 2.875 kB / 0.8913 GB, free: 204.4 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003004/1.499, allocations: 0.9723 MB / 0.8922 GB, free: 204.1 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.002647/1.502, allocations: 1.022 MB / 0.8932 GB, free: 203.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01139/1.514, allocations: 4.589 MB / 0.8977 GB, free: 202.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.343e-06/1.514, allocations: 2.188 kB / 0.8977 GB, free: 202.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006277/1.52, allocations: 2.619 MB / 0.9003 GB, free: 201.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00461/1.525, allocations: 0.591 MB / 0.9008 GB, free: 201.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01971/1.544, allocations: 9.036 MB / 0.9097 GB, free: 196.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004533/1.549, allocations: 2.378 MB / 0.912 GB, free: 195.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006296/1.555, allocations: 1.092 MB / 0.9131 GB, free: 195.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001912/1.557, allocations: 256.7 kB / 0.9133 GB, free: 195.6 MB / 0.67 GB Notification: Performance of SimCode: time 9.02e-07/1.557, allocations: 0 / 0.9133 GB, free: 195.6 MB / 0.67 GB Notification: Performance of Templates: time 0.07745/1.635, allocations: 41.18 MB / 0.9535 GB, free: 171 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (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)