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.001082/0.001082, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001086/0.001086, allocations: 194.1 kB / 16.25 MB, free: 6.633 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.371/1.371, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9683/0.9683, allocations: 135.1 MB / 425.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 63.53 kB / 0.5048 GB, free: 5.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1933, allocations: 80.93 MB / 0.5839 GB, free: 4.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.5959/0.7893, allocations: 157.9 MB / 0.7381 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.04247/0.8318, allocations: 26.25 MB / 0.7637 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005549/0.8374, allocations: 67.62 kB / 0.7638 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003409/0.8409, allocations: 0.8869 MB / 0.7646 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007029/0.848, allocations: 1.462 MB / 0.7661 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006272/0.8543, allocations: 1.481 MB / 0.7675 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008313/0.8626, allocations: 4.575 MB / 0.772 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007251/0.8699, allocations: 4.109 MB / 0.776 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004273/0.8742, allocations: 1.932 MB / 0.7779 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004221/0.8784, allocations: 2.378 MB / 0.7802 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001586/0.88, allocations: 428 kB / 0.7806 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003471/0.8835, allocations: 1.011 MB / 0.7816 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001966/0.8855, allocations: 1.114 MB / 0.7827 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003595/0.8891, allocations: 1.928 MB / 0.7846 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006558/0.8957, allocations: 5.414 MB / 0.7899 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.8957, allocations: 0 / 0.7899 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8957, allocations: 0 / 0.7899 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001187/0.8958, allocations: 0 / 0.7899 GB, free: 10.16 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.009205/0.905, allocations: 4.303 MB / 0.7941 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.9051, allocations: 12.02 kB / 0.7941 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01318/0.9183, allocations: 2.753 MB / 0.7968 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005089/0.9234, allocations: 2.179 MB / 0.7989 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002134/0.9237, allocations: 234.2 kB / 0.7991 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009132/0.9246, allocations: 300 kB / 0.7994 GB, free: 268 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01189/0.9365, allocations: 4.963 MB / 0.8042 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.304e-05/0.9366, allocations: 4 kB / 0.8042 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003438/0.937, allocations: 128 kB / 0.8044 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.34e-05/0.937, allocations: 79.94 kB / 0.8044 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01397/0.951, allocations: 6.099 MB / 0.8104 GB, free: 4.895 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.03073/0.9818, allocations: 13.63 MB / 0.8237 GB, free: 6.828 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01059/0.9924, allocations: 4.352 MB / 0.828 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005115/0.9976, allocations: 2.315 MB / 0.8302 GB, free: 164 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001081/0.9987, allocations: 0.6696 MB / 0.8309 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005611/1.004, allocations: 2.37 MB / 0.8332 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=257): time 5.32e-06/1.004, allocations: 0 / 0.8332 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=257): time 0.01707/1.021, allocations: 6.939 MB / 0.84 GB, free: 5.891 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/1.022, allocations: 206 kB / 0.8402 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004212/1.026, allocations: 2.303 MB / 0.8424 GB, free: 3.309 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003587/1.026, allocations: 73.69 kB / 0.8425 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001395/1.028, allocations: 1.298 MB / 0.8437 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001037/1.029, allocations: 0.851 MB / 0.8446 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001135/1.03, allocations: 488.2 kB / 0.845 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001768/1.03, allocations: 309 kB / 0.8453 GB, free: 268 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004534/1.035, allocations: 1.89 MB / 0.8472 GB, free: 14.37 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004907/1.039, allocations: 2.189 MB / 0.8493 GB, free: 12.1 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009496/1.049, allocations: 4.069 MB / 0.8533 GB, free: 7.941 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-05/1.049, allocations: 4 kB / 0.8533 GB, free: 7.938 MB / 0.67 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01169/1.061, allocations: 4.699 MB / 0.8579 GB, free: 3.184 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.706e-05/1.061, allocations: 18.28 kB / 0.8579 GB, free: 3.168 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/1.061, allocations: 4 kB / 0.8579 GB, free: 3.164 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007032/1.062, allocations: 229.6 kB / 0.8581 GB, free: 2.938 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00384/1.065, allocations: 0.7683 MB / 0.8589 GB, free: 2.168 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4198/1.485, allocations: 3.372 MB / 0.8622 GB, free: 214.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004743/1.49, allocations: 0.531 MB / 0.8627 GB, free: 214.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004021/1.49, allocations: 105.4 kB / 0.8628 GB, free: 214.4 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.002191/1.493, allocations: 0.8959 MB / 0.8637 GB, free: 214.3 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000716/1.493, allocations: 256.9 kB / 0.8639 GB, free: 214.3 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01127/1.505, allocations: 5.271 MB / 0.8691 GB, free: 213.5 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.598e-05/1.505, allocations: 25.72 kB / 0.8691 GB, free: 213.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/1.505, allocations: 2.938 kB / 0.8691 GB, free: 213.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-05/1.505, allocations: 12.91 kB / 0.8691 GB, free: 213.5 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01586/1.521, allocations: 8.817 MB / 0.8777 GB, free: 210.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/1.521, allocations: 0 / 0.8777 GB, free: 210.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003337/1.524, allocations: 0.7225 MB / 0.8784 GB, free: 210.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007925/1.525, allocations: 265.7 kB / 0.8787 GB, free: 210.4 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002435/1.525, allocations: 74.97 kB / 0.8787 GB, free: 210.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004156/1.529, allocations: 5.234 MB / 0.8838 GB, free: 206 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.529, allocations: 0 / 0.8838 GB, free: 206 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01753/1.547, allocations: 7.525 MB / 0.8912 GB, free: 203.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002116/1.549, allocations: 0.7752 MB / 0.892 GB, free: 203 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000913/1.55, allocations: 60.27 kB / 0.892 GB, free: 203 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003625/1.553, allocations: 410.6 kB / 0.8924 GB, free: 202.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005336/1.554, allocations: 161.6 kB / 0.8926 GB, free: 202.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003252/1.554, allocations: 92.89 kB / 0.8926 GB, free: 202.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003902/1.558, allocations: 1.682 MB / 0.8943 GB, free: 202.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.41e-07/1.558, allocations: 0 / 0.8943 GB, free: 202.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00447/1.563, allocations: 0.9727 MB / 0.8952 GB, free: 202.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.003055/1.566, allocations: 1.023 MB / 0.8962 GB, free: 201.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02259/1.588, allocations: 7.76 MB / 0.9038 GB, free: 200.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/1.589, allocations: 7.984 kB / 0.9038 GB, free: 200.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007337/1.596, allocations: 2.6 MB / 0.9064 GB, free: 199.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005347/1.601, allocations: 0.6417 MB / 0.907 GB, free: 199.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01994/1.621, allocations: 8.941 MB / 0.9157 GB, free: 194.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00423/1.625, allocations: 2.369 MB / 0.918 GB, free: 193.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005248/1.631, allocations: 1.096 MB / 0.9191 GB, free: 193.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/1.632, allocations: 261.3 kB / 0.9194 GB, free: 193.5 MB / 0.67 GB Notification: Performance of SimCode: time 1.152e-06/1.632, allocations: 1.094 kB / 0.9194 GB, free: 193.5 MB / 0.67 GB Notification: Performance of Templates: time 0.0719/1.704, allocations: 43.17 MB / 0.9615 GB, free: 160.7 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)