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.001582/0.001582, 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.001618/0.001618, allocations: 192.9 kB / 16.25 MB, free: 6.637 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.338/1.338, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9038/0.9038, allocations: 135.6 MB / 425.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 63.3 kB / 0.5054 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1764, allocations: 81.02 MB / 0.5845 GB, free: 4.371 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.4576/0.634, allocations: 157.9 MB / 0.7387 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03686/0.6709, allocations: 26.26 MB / 0.7643 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004052/0.675, allocations: 63.62 kB / 0.7644 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002409/0.6775, allocations: 0.8752 MB / 0.7652 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005345/0.6829, allocations: 1.479 MB / 0.7667 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004175/0.687, allocations: 1.477 MB / 0.7681 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00691/0.694, allocations: 4.571 MB / 0.7726 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005493/0.6995, allocations: 4.102 MB / 0.7766 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004215/0.7037, allocations: 1.934 MB / 0.7785 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003798/0.7075, allocations: 2.382 MB / 0.7808 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008736/0.7084, allocations: 427.9 kB / 0.7812 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002472/0.7109, allocations: 1.015 MB / 0.7822 GB, free: 2 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001058/0.712, allocations: 1.11 MB / 0.7833 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002353/0.7143, allocations: 1.928 MB / 0.7852 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007188/0.7215, allocations: 5.418 MB / 0.7905 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.7215, allocations: 0 / 0.7905 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7216, allocations: 0 / 0.7905 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001183/0.7217, allocations: 0 / 0.7905 GB, free: 9.516 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.009523/0.7312, allocations: 4.304 MB / 0.7947 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.7313, allocations: 12.03 kB / 0.7947 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01324/0.7445, allocations: 2.761 MB / 0.7974 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004779/0.7493, allocations: 2.172 MB / 0.7995 GB, free: 144 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002215/0.7496, allocations: 230.3 kB / 0.7997 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006146/0.7502, allocations: 308 kB / 0.8 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01103/0.7612, allocations: 4.955 MB / 0.8049 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-05/0.7613, allocations: 7.906 kB / 0.8049 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003423/0.7617, allocations: 128 kB / 0.805 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.656e-05/0.7618, allocations: 79.94 kB / 0.8051 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01413/0.7759, allocations: 6.103 MB / 0.811 GB, free: 4.242 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.02652/0.8025, allocations: 13.63 MB / 0.8243 GB, free: 6.18 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01037/0.8129, allocations: 4.351 MB / 0.8286 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005334/0.8182, allocations: 2.319 MB / 0.8308 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001063/0.8193, allocations: 0.6657 MB / 0.8315 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006217/0.8256, allocations: 2.37 MB / 0.8338 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=257): time 6.382e-06/0.8256, allocations: 0 / 0.8338 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=257): time 0.01792/0.8435, allocations: 6.939 MB / 0.8406 GB, free: 5.242 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001503/0.8437, allocations: 217.9 kB / 0.8408 GB, free: 4.984 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003844/0.8476, allocations: 2.303 MB / 0.843 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000331/0.8479, allocations: 65.7 kB / 0.8431 GB, free: 2.578 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001349/0.8493, allocations: 1.294 MB / 0.8444 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001041/0.8503, allocations: 0.8587 MB / 0.8452 GB, free: 404 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00115/0.8515, allocations: 484.2 kB / 0.8457 GB, free: 15.91 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.8516, allocations: 301.1 kB / 0.846 GB, free: 15.61 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004715/0.8564, allocations: 1.893 MB / 0.8478 GB, free: 13.71 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004982/0.8614, allocations: 2.193 MB / 0.8499 GB, free: 11.45 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009488/0.8709, allocations: 4.061 MB / 0.8539 GB, free: 7.293 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/0.8709, allocations: 112 / 0.8539 GB, free: 7.293 MB / 0.67 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01219/0.8831, allocations: 4.699 MB / 0.8585 GB, free: 2.539 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.26e-05/0.8832, allocations: 11.94 kB / 0.8585 GB, free: 2.527 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/0.8832, allocations: 8.156 kB / 0.8585 GB, free: 2.52 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007024/0.8839, allocations: 230.1 kB / 0.8587 GB, free: 2.293 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004112/0.888, allocations: 0.7761 MB / 0.8595 GB, free: 1.516 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.273/1.161, allocations: 3.371 MB / 0.8628 GB, free: 214.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003746/1.165, allocations: 0.5372 MB / 0.8633 GB, free: 214.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003127/1.165, allocations: 108.3 kB / 0.8634 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.00202/1.167, allocations: 0.8894 MB / 0.8643 GB, free: 214.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006486/1.168, allocations: 259.3 kB / 0.8645 GB, free: 214.2 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01053/1.178, allocations: 5.263 MB / 0.8697 GB, free: 213 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/1.178, allocations: 25.81 kB / 0.8697 GB, free: 213 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/1.178, allocations: 6.156 kB / 0.8697 GB, free: 213 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.22e-05/1.178, allocations: 16.97 kB / 0.8697 GB, free: 213 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01308/1.192, allocations: 8.813 MB / 0.8783 GB, free: 210 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/1.192, allocations: 0 / 0.8783 GB, free: 210 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00321/1.195, allocations: 0.7239 MB / 0.879 GB, free: 210 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006473/1.195, allocations: 270.2 kB / 0.8793 GB, free: 209.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001923/1.196, allocations: 70.91 kB / 0.8794 GB, free: 209.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003447/1.199, allocations: 5.227 MB / 0.8845 GB, free: 205.5 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/1.199, allocations: 0 / 0.8845 GB, free: 205.5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01305/1.212, allocations: 7.528 MB / 0.8918 GB, free: 203 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001318/1.214, allocations: 0.7729 MB / 0.8926 GB, free: 202.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004077/1.214, allocations: 61.25 kB / 0.8926 GB, free: 202.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002778/1.217, allocations: 403.7 kB / 0.893 GB, free: 202.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003729/1.217, allocations: 168.9 kB / 0.8932 GB, free: 202.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000235/1.217, allocations: 90.69 kB / 0.8933 GB, free: 202.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002114/1.219, allocations: 1.688 MB / 0.8949 GB, free: 201.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.51e-07/1.219, allocations: 0.6875 kB / 0.8949 GB, free: 201.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002855/1.222, allocations: 0.9674 MB / 0.8959 GB, free: 201.6 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.003248/1.226, allocations: 1.025 MB / 0.8969 GB, free: 201.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01823/1.244, allocations: 7.762 MB / 0.9044 GB, free: 199.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/1.244, allocations: 5.188 kB / 0.9044 GB, free: 199.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00528/1.249, allocations: 2.6 MB / 0.907 GB, free: 199 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002902/1.252, allocations: 0.6396 MB / 0.9076 GB, free: 198.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/1.265, allocations: 8.947 MB / 0.9163 GB, free: 194.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002034/1.267, allocations: 2.37 MB / 0.9187 GB, free: 193.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003912/1.271, allocations: 1.09 MB / 0.9197 GB, free: 193 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001034/1.272, allocations: 260.9 kB / 0.92 GB, free: 193 MB / 0.67 GB Notification: Performance of SimCode: time 9.61e-07/1.272, allocations: 0 / 0.92 GB, free: 193 MB / 0.67 GB Notification: Performance of Templates: time 0.05908/1.331, allocations: 43.18 MB / 0.9621 GB, free: 160.1 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)