Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.013/2.013, allocations: 391.2 MB / 407 MB, free: 10.9 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 195.4 kB / 499.1 MB, free: 4.68 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 222.9 MB / 0.7948 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009731/0.0009731, allocations: 107.5 kB / 0.9329 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001046/0.001047, allocations: 51.67 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2257, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1344/0.3601, allocations: 158.4 MB / 1.373 GB, free: 6.25 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.03038/0.3905, allocations: 26.63 MB / 1.399 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002996/0.3935, allocations: 67.62 kB / 1.399 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.001898/0.3955, allocations: 0.9023 MB / 1.4 GB, free: 10.57 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.003865/0.3994, allocations: 1.51 MB / 1.401 GB, free: 9.055 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.003329/0.4027, allocations: 1.511 MB / 1.403 GB, free: 7.555 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.004836/0.4076, allocations: 5.098 MB / 1.408 GB, free: 2.441 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004008/0.4116, allocations: 3.845 MB / 1.411 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001864/0.4135, allocations: 1.669 MB / 1.413 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002178/0.4156, allocations: 2.276 MB / 1.415 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0003948/0.416, allocations: 240 kB / 1.416 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001631/0.4177, allocations: 0.8389 MB / 1.416 GB, free: 9.496 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0006948/0.4184, allocations: 0.9497 MB / 1.417 GB, free: 8.543 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.001573/0.42, allocations: 1.806 MB / 1.419 GB, free: 6.727 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.004418/0.4244, allocations: 5.511 MB / 1.424 GB, free: 1.199 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.4244, allocations: 0 / 1.424 GB, free: 1.199 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.72e-07/0.4244, allocations: 0 / 1.424 GB, free: 1.199 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.645e-05/0.4245, allocations: 0 / 1.424 GB, free: 1.199 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.4477/0.8722, allocations: 4.479 MB / 1.429 GB, free: 203.2 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.8723, allocations: 13.77 kB / 1.429 GB, free: 203.2 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01329/0.8856, allocations: 2.77 MB / 1.431 GB, free: 203 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005093/0.8907, allocations: 2.261 MB / 1.434 GB, free: 201.8 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001882/0.8909, allocations: 242.6 kB / 1.434 GB, free: 201.7 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006063/0.8916, allocations: 318.1 kB / 1.434 GB, free: 201.5 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01121/0.9028, allocations: 5.139 MB / 1.439 GB, free: 199.9 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.785e-05/0.9029, allocations: 2.812 kB / 1.439 GB, free: 199.9 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003008/0.9032, allocations: 136.7 kB / 1.439 GB, free: 199.8 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.094e-05/0.9033, allocations: 77.41 kB / 1.439 GB, free: 199.8 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01325/0.9165, allocations: 6.292 MB / 1.446 GB, free: 197.3 MB / 0.9167 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.02354/0.9401, allocations: 14.52 MB / 1.46 GB, free: 186.5 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007862/0.948, allocations: 4.514 MB / 1.464 GB, free: 182 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00398/0.952, allocations: 2.454 MB / 1.467 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006878/0.9527, allocations: 0.6668 MB / 1.467 GB, free: 178.8 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004236/0.9569, allocations: 2.465 MB / 1.47 GB, free: 176.3 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=270): time 4.789e-06/0.9569, allocations: 0 / 1.47 GB, free: 176.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=270): time 0.0149/0.9718, allocations: 7.539 MB / 1.477 GB, free: 168.6 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/0.9719, allocations: 210 kB / 1.477 GB, free: 168.3 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002383/0.9743, allocations: 2.397 MB / 1.48 GB, free: 165.9 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002151/0.9745, allocations: 73.7 kB / 1.48 GB, free: 165.8 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000763/0.9753, allocations: 1.352 MB / 1.481 GB, free: 164.5 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005929/0.9759, allocations: 0.8913 MB / 1.482 GB, free: 163.6 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007208/0.9766, allocations: 0.4927 MB / 1.482 GB, free: 163.1 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 3.982e-05/0.9767, allocations: 301.1 kB / 1.483 GB, free: 162.8 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003656/0.9803, allocations: 1.975 MB / 1.485 GB, free: 160.8 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003843/0.9842, allocations: 2.273 MB / 1.487 GB, free: 158.5 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007455/0.9917, allocations: 4.224 MB / 1.491 GB, free: 154.2 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.9917, allocations: 0 / 1.491 GB, free: 154.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.009276/1.001, allocations: 4.955 MB / 1.496 GB, free: 149.2 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/1.001, allocations: 8.781 kB / 1.496 GB, free: 149.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/1.001, allocations: 4 kB / 1.496 GB, free: 149.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007131/1.002, allocations: 354.1 kB / 1.496 GB, free: 148.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003264/1.005, allocations: 0.7839 MB / 1.497 GB, free: 148 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003785/1.009, allocations: 3.923 MB / 1.501 GB, free: 144 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003303/1.012, allocations: 0.5401 MB / 1.501 GB, free: 143.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002489/1.012, allocations: 111.9 kB / 1.501 GB, free: 143.3 MB / 0.9167 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 (278): * Single equations (assignments): 277 * 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 {(3,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001381/1.014, allocations: 0.9227 MB / 1.502 GB, free: 142.4 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000502/1.014, allocations: 268.6 kB / 1.502 GB, free: 142.1 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01042/1.025, allocations: 5.551 MB / 1.508 GB, free: 136.5 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/1.025, allocations: 28 kB / 1.508 GB, free: 136.5 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/1.025, allocations: 4 kB / 1.508 GB, free: 136.5 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.981e-05/1.025, allocations: 15.94 kB / 1.508 GB, free: 136.4 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01468/1.04, allocations: 9.293 MB / 1.517 GB, free: 127.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.884e-06/1.04, allocations: 8 kB / 1.517 GB, free: 127.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003128/1.043, allocations: 0.7293 MB / 1.518 GB, free: 126.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000865/1.044, allocations: 386.3 kB / 1.518 GB, free: 126 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002075/1.044, allocations: 75.94 kB / 1.518 GB, free: 125.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004311/1.048, allocations: 5.773 MB / 1.524 GB, free: 119.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.048, allocations: 48 / 1.524 GB, free: 119.8 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.309/1.357, allocations: 125.4 MB / 1.646 GB, free: 9.277 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002392/1.36, allocations: 0.8016 MB / 1.647 GB, free: 8.453 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001031/1.361, allocations: 59.84 kB / 1.647 GB, free: 8.395 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003449/1.364, allocations: 408.6 kB / 1.647 GB, free: 7.996 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006436/1.365, allocations: 174 kB / 1.648 GB, free: 7.824 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004495/1.365, allocations: 95.92 kB / 1.648 GB, free: 7.73 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002843/1.368, allocations: 1.749 MB / 1.649 GB, free: 5.969 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.6e-07/1.368, allocations: 4 kB / 1.649 GB, free: 5.965 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.005791/1.374, allocations: 1.575 MB / 1.651 GB, free: 4.41 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[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 (254): * Single equations (assignments): 247 * 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 {(3,25,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.002715/1.377, allocations: 1.088 MB / 1.652 GB, free: 3.719 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01109/1.388, allocations: 4.797 MB / 1.657 GB, free: 14.87 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/1.388, allocations: 0 / 1.657 GB, free: 14.87 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.006154/1.394, allocations: 2.754 MB / 1.659 GB, free: 12.09 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004109/1.398, allocations: 0.6234 MB / 1.66 GB, free: 11.48 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02124/1.419, allocations: 11.66 MB / 1.671 GB, free: 15.73 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003193/1.423, allocations: 2.529 MB / 1.674 GB, free: 13.17 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.007475/1.43, allocations: 1.431 MB / 1.675 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003256/1.433, allocations: 327.2 kB / 1.676 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of SimCode: time 1.132e-06/1.433, allocations: 0 / 1.676 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of Templates: time 0.1393/1.573, allocations: 94.86 MB / 1.768 GB, free: 12.7 MB / 1.057 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)