Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.051/2.051, allocations: 391.2 MB / 407 MB, free: 10.87 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.001106/0.001106, allocations: 201.4 kB / 499.1 MB, free: 4.629 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.316/1.316, allocations: 222.9 MB / 0.7948 GB, free: 15.73 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.0009002/0.0009002, allocations: 111.6 kB / 0.9329 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001082, allocations: 50.8 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2058, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.1245/0.3303, allocations: 160.7 MB / 1.375 GB, free: 3.863 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.02948/0.3598, allocations: 27.28 MB / 1.402 GB, free: 8.496 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002725/0.3626, allocations: 79.62 kB / 1.402 GB, free: 8.418 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.002043/0.3647, allocations: 0.9954 MB / 1.403 GB, free: 7.418 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.004173/0.3689, allocations: 1.714 MB / 1.404 GB, free: 5.699 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.003758/0.3727, allocations: 1.762 MB / 1.406 GB, free: 3.949 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.005861/0.3785, allocations: 6.214 MB / 1.412 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004479/0.383, allocations: 4.334 MB / 1.416 GB, free: 9.309 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002084/0.3851, allocations: 1.93 MB / 1.418 GB, free: 7.371 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00265/0.3878, allocations: 2.642 MB / 1.421 GB, free: 4.719 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0005066/0.3883, allocations: 292 kB / 1.421 GB, free: 4.434 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001736/0.39, allocations: 0.8897 MB / 1.422 GB, free: 3.543 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0008652/0.3909, allocations: 1.105 MB / 1.423 GB, free: 2.434 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.001968/0.3929, allocations: 2.113 MB / 1.425 GB, free: 316 kB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.4721/0.865, allocations: 6.428 MB / 1.431 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.865, allocations: 0 / 1.431 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.021e-06/0.865, allocations: 0 / 1.431 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001752/0.8652, allocations: 0 / 1.431 GB, free: 15.94 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: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01181/0.877, allocations: 5.093 MB / 1.436 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.8771, allocations: 13.98 kB / 1.436 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0136/0.8907, allocations: 2.836 MB / 1.439 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005628/0.8963, allocations: 2.516 MB / 1.442 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002158/0.8966, allocations: 282.8 kB / 1.442 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007626/0.8974, allocations: 363.6 kB / 1.442 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01277/0.9101, allocations: 5.732 MB / 1.448 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-05/0.9102, allocations: 2.656 kB / 1.448 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003944/0.9106, allocations: 156.1 kB / 1.448 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.733e-05/0.9107, allocations: 94.16 kB / 1.448 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01591/0.9266, allocations: 6.854 MB / 1.455 GB, free: 12.68 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.02967/0.9563, allocations: 17.37 MB / 1.472 GB, free: 7.547 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00929/0.9657, allocations: 4.491 MB / 1.476 GB, free: 7.406 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005577/0.9713, allocations: 2.94 MB / 1.479 GB, free: 7.359 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008237/0.9721, allocations: 0.6805 MB / 1.48 GB, free: 6.695 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00561/0.9777, allocations: 2.72 MB / 1.482 GB, free: 6.574 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=315): time 5.019e-06/0.9778, allocations: 0 / 1.482 GB, free: 6.574 MB / 0.9167 GB Notification: Performance of matching and sorting (n=315): time 0.02531/1.003, allocations: 9.696 MB / 1.492 GB, free: 4.715 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.909e-05/1.003, allocations: 219.8 kB / 1.492 GB, free: 4.492 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003693/1.007, allocations: 2.651 MB / 1.495 GB, free: 3.863 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.000518/1.007, allocations: 79.08 kB / 1.495 GB, free: 3.832 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001046/1.008, allocations: 1.537 MB / 1.496 GB, free: 3.109 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00103/1.01, allocations: 1.049 MB / 1.497 GB, free: 2.344 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001304/1.011, allocations: 0.5462 MB / 1.498 GB, free: 2.23 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 3.506e-05/1.011, allocations: 309.1 kB / 1.498 GB, free: 1.926 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004417/1.015, allocations: 2.18 MB / 1.5 GB, free: 1.434 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004747/1.02, allocations: 2.525 MB / 1.503 GB, free: 0.6914 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009156/1.029, allocations: 4.706 MB / 1.507 GB, free: 15.05 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/1.029, allocations: 0 / 1.507 GB, free: 15.05 MB / 0.9323 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01168/1.041, allocations: 5.805 MB / 1.513 GB, free: 12.14 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/1.041, allocations: 10.81 kB / 1.513 GB, free: 12.14 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/1.041, allocations: 3.281 kB / 1.513 GB, free: 12.14 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001559/1.043, allocations: 0.8412 MB / 1.514 GB, free: 11.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003678/1.046, allocations: 0.8091 MB / 1.515 GB, free: 10.92 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008812/1.055, allocations: 7.008 MB / 1.521 GB, free: 3.809 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003983/1.059, allocations: 0.5867 MB / 1.522 GB, free: 3.219 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003164/1.059, allocations: 119.9 kB / 1.522 GB, free: 3.102 MB / 0.9323 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.001995/1.061, allocations: 1.027 MB / 1.523 GB, free: 2.094 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006384/1.062, allocations: 308.2 kB / 1.523 GB, free: 1.789 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01331/1.075, allocations: 6.389 MB / 1.53 GB, free: 11.37 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.417e-05/1.075, allocations: 32 kB / 1.53 GB, free: 11.34 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/1.075, allocations: 8 kB / 1.53 GB, free: 11.33 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.942e-05/1.075, allocations: 19.88 kB / 1.53 GB, free: 11.31 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01863/1.094, allocations: 10.72 MB / 1.54 GB, free: 0.5781 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.393e-06/1.094, allocations: 1.203 kB / 1.54 GB, free: 0.5781 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003533/1.098, allocations: 0.7711 MB / 1.541 GB, free: 15.83 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001662/1.099, allocations: 0.7301 MB / 1.542 GB, free: 15.09 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002596/1.1, allocations: 95.86 kB / 1.542 GB, free: 15 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009925/1.11, allocations: 9.793 MB / 1.551 GB, free: 4.824 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/1.11, allocations: 2.906 kB / 1.551 GB, free: 4.824 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3491/1.459, allocations: 136.3 MB / 1.684 GB, free: 11.42 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002047/1.461, allocations: 0.8946 MB / 1.685 GB, free: 10.5 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004671/1.461, allocations: 67.84 kB / 1.685 GB, free: 10.43 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002968/1.464, allocations: 439.5 kB / 1.686 GB, free: 10 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004736/1.465, allocations: 214 kB / 1.686 GB, free: 9.797 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002584/1.465, allocations: 115.9 kB / 1.686 GB, free: 9.684 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.002413/1.467, allocations: 1.92 MB / 1.688 GB, free: 7.758 MB / 1.104 GB Notification: Performance of sort global known variables: time 2.8e-07/1.467, allocations: 0 / 1.688 GB, free: 7.758 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.00534/1.473, allocations: 1.873 MB / 1.69 GB, free: 5.883 MB / 1.104 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.002346/1.475, allocations: 1.086 MB / 1.691 GB, free: 5.238 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.01112/1.486, allocations: 5.504 MB / 1.696 GB, free: 15.73 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/1.486, allocations: 0 / 1.696 GB, free: 15.73 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.006327/1.493, allocations: 3.324 MB / 1.699 GB, free: 12.42 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003817/1.496, allocations: 0.7237 MB / 1.7 GB, free: 11.71 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02094/1.517, allocations: 13.53 MB / 1.713 GB, free: 14.09 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002905/1.52, allocations: 2.823 MB / 1.716 GB, free: 11.23 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.006684/1.527, allocations: 1.487 MB / 1.717 GB, free: 9.746 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002545/1.53, allocations: 335.2 kB / 1.718 GB, free: 9.418 MB / 1.135 GB Notification: Performance of SimCode: time 7.51e-07/1.53, allocations: 5.203 kB / 1.718 GB, free: 9.414 MB / 1.135 GB Notification: Performance of Templates: time 0.1441/1.674, allocations: 106.3 MB / 1.822 GB, free: 15.72 MB / 1.245 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)