Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001276, allocations: 180.7 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6867/0.6867, allocations: 133.4 MB / 150.1 MB, free: 11.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.676/1.676, allocations: 222.9 MB / 404.7 MB, free: 6.012 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 103.6 kB / 485.9 MB, free: 7.16 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00103/0.00103, allocations: 55.92 kB / 0.5636 GB, free: 69.9 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.181, allocations: 80.43 MB / 0.6421 GB, free: 5.406 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.6155/0.7965, allocations: 160.7 MB / 0.7991 GB, free: 368 kB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.04248/0.8391, allocations: 27.26 MB / 0.8257 GB, free: 5.02 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005268/0.8444, allocations: 75.62 kB / 0.8258 GB, free: 4.945 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.003369/0.8479, allocations: 0.9954 MB / 0.8267 GB, free: 3.945 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.007083/0.855, allocations: 1.703 MB / 0.8284 GB, free: 2.238 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.006531/0.8615, allocations: 1.759 MB / 0.8301 GB, free: 0.4922 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.009643/0.8712, allocations: 6.203 MB / 0.8362 GB, free: 10.27 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007079/0.8783, allocations: 4.361 MB / 0.8404 GB, free: 5.84 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00384/0.8822, allocations: 1.926 MB / 0.8423 GB, free: 3.906 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004205/0.8864, allocations: 2.65 MB / 0.8449 GB, free: 1.246 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0007803/0.8872, allocations: 288 kB / 0.8452 GB, free: 0.9648 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002479/0.8897, allocations: 0.8819 MB / 0.846 GB, free: 84 kB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0009938/0.8907, allocations: 1.106 MB / 0.8471 GB, free: 14.97 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.002765/0.8935, allocations: 2.121 MB / 0.8492 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.006978/0.9005, allocations: 6.433 MB / 0.8555 GB, free: 6.387 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.9005, allocations: 8 kB / 0.8555 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9005, allocations: 0 / 0.8555 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001664/0.9007, allocations: 0 / 0.8555 GB, free: 6.379 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01148/0.9122, allocations: 5.087 MB / 0.8604 GB, free: 1.215 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.9122, allocations: 11.97 kB / 0.8605 GB, free: 1.203 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01326/0.9255, allocations: 2.834 MB / 0.8632 GB, free: 14.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006099/0.9317, allocations: 2.523 MB / 0.8657 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002059/0.9319, allocations: 283.5 kB / 0.866 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008666/0.9328, allocations: 364 kB / 0.8663 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01229/0.9451, allocations: 5.732 MB / 0.8719 GB, free: 5.336 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.807e-05/0.9452, allocations: 4 kB / 0.8719 GB, free: 5.332 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003727/0.9456, allocations: 152 kB / 0.8721 GB, free: 5.184 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.638e-05/0.9456, allocations: 95.94 kB / 0.8721 GB, free: 5.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01597/0.9616, allocations: 6.85 MB / 0.8788 GB, free: 14.23 MB / 0.6198 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.03641/0.9981, allocations: 17.36 MB / 0.8958 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01014/1.008, allocations: 4.489 MB / 0.9002 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006055/1.014, allocations: 2.943 MB / 0.903 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001015/1.015, allocations: 0.6738 MB / 0.9037 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006237/1.022, allocations: 2.721 MB / 0.9064 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=315): time 5.851e-06/1.022, allocations: 4 kB / 0.9064 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=315): time 0.02792/1.05, allocations: 9.694 MB / 0.9158 GB, free: 7.262 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/1.05, allocations: 214.4 kB / 0.916 GB, free: 7.008 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004867/1.055, allocations: 2.658 MB / 0.9186 GB, free: 4.336 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0004734/1.055, allocations: 81.7 kB / 0.9187 GB, free: 4.25 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001606/1.057, allocations: 1.538 MB / 0.9202 GB, free: 2.695 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.001352/1.058, allocations: 1.051 MB / 0.9212 GB, free: 1.629 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001576/1.06, allocations: 0.5408 MB / 0.9218 GB, free: 1.082 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.246e-05/1.06, allocations: 301.1 kB / 0.9221 GB, free: 0.7852 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005128/1.065, allocations: 2.183 MB / 0.9242 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005559/1.071, allocations: 2.525 MB / 0.9267 GB, free: 11.99 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01043/1.081, allocations: 4.696 MB / 0.9312 GB, free: 7.215 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-05/1.081, allocations: 0 / 0.9312 GB, free: 7.215 MB / 0.6667 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01391/1.095, allocations: 5.812 MB / 0.9369 GB, free: 1.359 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.275e-05/1.095, allocations: 11.94 kB / 0.9369 GB, free: 1.348 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/1.095, allocations: 4 kB / 0.9369 GB, free: 1.344 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001905/1.097, allocations: 0.8396 MB / 0.9378 GB, free: 0.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003894/1.101, allocations: 0.8073 MB / 0.9385 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01047/1.111, allocations: 7.005 MB / 0.9454 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004612/1.116, allocations: 0.5923 MB / 0.946 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007951/1.117, allocations: 120 kB / 0.9461 GB, free: 7.84 MB / 0.6823 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 (291): * Single equations (assignments): 290 * 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 {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003204/1.12, allocations: 1.032 MB / 0.9471 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001309/1.121, allocations: 308.1 kB / 0.9474 GB, free: 6.492 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01638/1.138, allocations: 6.385 MB / 0.9536 GB, free: 44 kB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.044e-05/1.138, allocations: 32 kB / 0.9536 GB, free: 12 kB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-05/1.138, allocations: 12 kB / 0.9537 GB, free: 0 / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3782/1.516, allocations: 13.47 kB / 0.9537 GB, free: 251.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02857/1.545, allocations: 10.72 MB / 0.9641 GB, free: 248.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/1.545, allocations: 0 / 0.9641 GB, free: 248.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00423/1.549, allocations: 0.7671 MB / 0.9649 GB, free: 248.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002024/1.551, allocations: 0.737 MB / 0.9656 GB, free: 248.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000544/1.552, allocations: 84.62 kB / 0.9657 GB, free: 248.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01054/1.562, allocations: 9.798 MB / 0.9753 GB, free: 241.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.562, allocations: 3.938 kB / 0.9753 GB, free: 241.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3809/1.943, allocations: 136.3 MB / 1.108 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003194/1.946, allocations: 0.8907 MB / 1.109 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001521/1.948, allocations: 71.78 kB / 1.109 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004213/1.952, allocations: 435.9 kB / 1.11 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001065/1.953, allocations: 206.3 kB / 1.11 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007376/1.954, allocations: 111.9 kB / 1.11 GB, free: 115.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003548/1.958, allocations: 1.92 MB / 1.112 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.81e-07/1.958, allocations: 0 / 1.112 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.008687/1.966, allocations: 1.868 MB / 1.114 GB, free: 111.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.m,thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.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 (270): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,49,100.0%), (1,3,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.003339/1.97, allocations: 1.091 MB / 1.115 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01278/1.983, allocations: 5.504 MB / 1.12 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/1.983, allocations: 0 / 1.12 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.007601/1.99, allocations: 3.321 MB / 1.123 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005649/1.996, allocations: 0.7202 MB / 1.124 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02675/2.023, allocations: 13.54 MB / 1.137 GB, free: 87.89 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005308/2.028, allocations: 2.826 MB / 1.14 GB, free: 85.03 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.01052/2.039, allocations: 1.483 MB / 1.142 GB, free: 83.55 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004182/2.043, allocations: 343.2 kB / 1.142 GB, free: 83.21 MB / 0.6823 GB Notification: Performance of SimCode: time 2.073e-06/2.043, allocations: 0 / 1.142 GB, free: 83.21 MB / 0.6823 GB Notification: Performance of Templates: time 0.501/2.544, allocations: 106.2 MB / 1.246 GB, free: 229.3 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)