Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.993/1.993, 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.00108/0.00108, allocations: 195.1 kB / 499.1 MB, free: 4.691 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.329/1.329, allocations: 222.9 MB / 0.7948 GB, free: 15.85 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.000963/0.0009632, allocations: 107.7 kB / 0.9329 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001115, allocations: 48.23 kB / 1.081 GB, free: 218.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.243, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.127/0.3701, allocations: 159.4 MB / 1.374 GB, free: 5.305 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.03357/0.4037, allocations: 26.88 MB / 1.4 GB, free: 10.34 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004075/0.4078, allocations: 71.62 kB / 1.4 GB, free: 10.27 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.002236/0.4101, allocations: 0.9488 MB / 1.401 GB, free: 9.32 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.004249/0.4144, allocations: 1.586 MB / 1.403 GB, free: 7.73 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.003825/0.4182, allocations: 1.59 MB / 1.404 GB, free: 6.152 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.005993/0.4242, allocations: 5.509 MB / 1.409 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004796/0.429, allocations: 4.036 MB / 1.413 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002819/0.4319, allocations: 1.778 MB / 1.415 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003039/0.4349, allocations: 2.424 MB / 1.417 GB, free: 8.301 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0005587/0.4355, allocations: 264 kB / 1.418 GB, free: 8.043 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002065/0.4376, allocations: 0.8507 MB / 1.419 GB, free: 7.191 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.000831/0.4384, allocations: 1.004 MB / 1.42 GB, free: 6.184 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.002218/0.4407, allocations: 1.935 MB / 1.421 GB, free: 4.238 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.5073/0.948, allocations: 5.901 MB / 1.427 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.9481, allocations: 0 / 1.427 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9481, allocations: 0.5 kB / 1.427 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001832/0.9483, allocations: 0.625 kB / 1.427 GB, free: 15.73 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: 882 * Number of variables: 882 Notification: Performance of Generate backend data structure: time 0.01122/0.9595, allocations: 4.742 MB / 1.432 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.9595, allocations: 14.11 kB / 1.432 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01471/0.9743, allocations: 2.788 MB / 1.435 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006311/0.9806, allocations: 2.383 MB / 1.437 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000214/0.9809, allocations: 260.3 kB / 1.437 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008848/0.9818, allocations: 337.4 kB / 1.437 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01213/0.9939, allocations: 5.386 MB / 1.443 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.981e-05/0.994, allocations: 1.219 kB / 1.443 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003839/0.9944, allocations: 139.2 kB / 1.443 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.296e-05/0.9945, allocations: 82.69 kB / 1.443 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01402/1.008, allocations: 6.526 MB / 1.449 GB, free: 12.76 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.02457/1.033, allocations: 15.72 MB / 1.465 GB, free: 8.449 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007558/1.041, allocations: 4.076 MB / 1.469 GB, free: 8.336 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004941/1.046, allocations: 2.655 MB / 1.471 GB, free: 8.293 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007481/1.046, allocations: 0.6793 MB / 1.472 GB, free: 7.629 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005057/1.052, allocations: 2.568 MB / 1.474 GB, free: 7.508 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=288): time 5.31e-06/1.052, allocations: 0 / 1.474 GB, free: 7.508 MB / 0.9167 GB Notification: Performance of matching and sorting (n=288): time 0.01947/1.071, allocations: 8.387 MB / 1.483 GB, free: 6.742 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.82e-05/1.071, allocations: 220.4 kB / 1.483 GB, free: 6.52 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005198/1.076, allocations: 2.505 MB / 1.485 GB, free: 6.293 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0008615/1.077, allocations: 74.86 kB / 1.485 GB, free: 6.262 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001248/1.079, allocations: 1.434 MB / 1.487 GB, free: 5.734 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001396/1.08, allocations: 0.9592 MB / 1.488 GB, free: 5.117 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001644/1.082, allocations: 0.5081 MB / 1.488 GB, free: 5.086 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 3.905e-05/1.082, allocations: 301.7 kB / 1.488 GB, free: 4.789 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004475/1.086, allocations: 2.061 MB / 1.49 GB, free: 4.766 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004957/1.091, allocations: 2.37 MB / 1.493 GB, free: 4.184 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009239/1.1, allocations: 4.426 MB / 1.497 GB, free: 3.172 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/1.1, allocations: 1.312 kB / 1.497 GB, free: 3.172 MB / 0.9167 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.0121/1.113, allocations: 5.327 MB / 1.502 GB, free: 1.879 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/1.113, allocations: 7.625 kB / 1.502 GB, free: 1.879 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/1.113, allocations: 3.062 kB / 1.502 GB, free: 1.879 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001179/1.114, allocations: 0.5448 MB / 1.503 GB, free: 1.777 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003674/1.117, allocations: 0.8005 MB / 1.504 GB, free: 1.547 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006581/1.124, allocations: 5.292 MB / 1.509 GB, free: 13.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004182/1.128, allocations: 0.5655 MB / 1.509 GB, free: 13.57 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007627/1.129, allocations: 113.4 kB / 1.509 GB, free: 13.53 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 (282): * Single equations (assignments): 281 * 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 {(4,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002551/1.132, allocations: 0.9748 MB / 1.51 GB, free: 12.95 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0011/1.133, allocations: 287.6 kB / 1.511 GB, free: 12.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01381/1.147, allocations: 5.883 MB / 1.516 GB, free: 7.523 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.14e-05/1.147, allocations: 32 kB / 1.516 GB, free: 7.492 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.669e-05/1.147, allocations: 4 kB / 1.516 GB, free: 7.488 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-05/1.147, allocations: 23.92 kB / 1.516 GB, free: 7.465 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02012/1.167, allocations: 9.896 MB / 1.526 GB, free: 13.55 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/1.167, allocations: 0 / 1.526 GB, free: 13.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003647/1.171, allocations: 0.7497 MB / 1.527 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001347/1.172, allocations: 0.5275 MB / 1.527 GB, free: 12.29 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004504/1.172, allocations: 83.88 kB / 1.527 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007562/1.18, allocations: 6.944 MB / 1.534 GB, free: 4.996 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/1.18, allocations: 3.938 kB / 1.534 GB, free: 4.992 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3565/1.536, allocations: 129.4 MB / 1.661 GB, free: 2.609 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002973/1.54, allocations: 0.8403 MB / 1.661 GB, free: 1.746 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001179/1.541, allocations: 63.84 kB / 1.661 GB, free: 1.684 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003635/1.544, allocations: 415.3 kB / 1.662 GB, free: 1.277 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007096/1.545, allocations: 198 kB / 1.662 GB, free: 1.082 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005023/1.546, allocations: 108.9 kB / 1.662 GB, free: 0.9805 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.002923/1.549, allocations: 1.823 MB / 1.664 GB, free: 15.15 MB / 1.089 GB Notification: Performance of sort global known variables: time 2.31e-07/1.549, allocations: 0 / 1.664 GB, free: 15.15 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.006107/1.555, allocations: 1.705 MB / 1.666 GB, free: 13.44 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneThreeElements.volAir.dynBal.U,thermalZoneThreeElements.volAir.dynBal.m,thermalZoneThreeElements.extWallRC.thermCapExt[1].T,thermalZoneThreeElements.intWallRC.thermCapInt[1].T,thermalZoneThreeElements.floorRC.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 (260): * Single equations (assignments): 253 * 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 {(4,36,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.002578/1.557, allocations: 1.088 MB / 1.667 GB, free: 12.8 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.0113/1.569, allocations: 5.09 MB / 1.672 GB, free: 7.703 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.569, allocations: 0 / 1.672 GB, free: 7.703 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.005645/1.574, allocations: 2.951 MB / 1.675 GB, free: 4.77 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003271/1.578, allocations: 0.6739 MB / 1.675 GB, free: 4.109 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01806/1.596, allocations: 12.38 MB / 1.687 GB, free: 7.656 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002176/1.598, allocations: 2.647 MB / 1.69 GB, free: 4.98 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.006314/1.604, allocations: 1.439 MB / 1.691 GB, free: 3.539 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002489/1.607, allocations: 335.2 kB / 1.692 GB, free: 3.211 MB / 1.104 GB Notification: Performance of SimCode: time 8.92e-07/1.607, allocations: 0 / 1.692 GB, free: 3.211 MB / 1.104 GB Notification: Performance of Templates: time 0.1396/1.746, allocations: 99.73 MB / 1.789 GB, free: 15.96 MB / 1.214 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)