Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001082, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.00604/0.00604, allocations: 171.2 kB / 16.26 MB, free: 6.676 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.342/1.342, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.725/2.725, allocations: 473.4 MB / 0.7469 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000332/0.0003321, allocations: 15.09 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.319, allocations: 162.2 MB / 1.074 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1621/0.4812, allocations: 158 MB / 1.228 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6203/1.102, allocations: 26.64 MB / 1.254 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003209/1.105, allocations: 69.25 kB / 1.255 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00222/1.107, allocations: 0.948 MB / 1.255 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004765/1.112, allocations: 1.681 MB / 1.257 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003634/1.116, allocations: 1.57 MB / 1.259 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006839/1.122, allocations: 5.735 MB / 1.264 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005075/1.127, allocations: 3.528 MB / 1.268 GB, free: 21.38 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002815/1.13, allocations: 1.5 MB / 1.269 GB, free: 21.37 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003628/1.134, allocations: 2.064 MB / 1.271 GB, free: 21.36 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001538/1.135, allocations: 117 kB / 1.271 GB, free: 21.36 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004664/1.14, allocations: 0.7159 MB / 1.272 GB, free: 21.34 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001683/1.142, allocations: 0.7761 MB / 1.273 GB, free: 21.34 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003822/1.146, allocations: 1.741 MB / 1.274 GB, free: 21.15 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.009594/1.155, allocations: 5.742 MB / 1.28 GB, free: 20.34 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/1.155, allocations: 0 / 1.28 GB, free: 20.34 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.584e-06/1.155, allocations: 0.9375 kB / 1.28 GB, free: 20.34 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002355/1.156, allocations: 4 kB / 1.28 GB, free: 20.34 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 852 * Number of variables: 852 Notification: Performance of Generate backend data structure: time 0.01085/1.166, allocations: 4.108 MB / 1.284 GB, free: 18.48 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/1.167, allocations: 9.25 kB / 1.284 GB, free: 18.48 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01488/1.181, allocations: 2.907 MB / 1.287 GB, free: 18.21 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005653/1.187, allocations: 2.385 MB / 1.289 GB, free: 17.56 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002282/1.187, allocations: 255.8 kB / 1.289 GB, free: 17.55 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009712/1.188, allocations: 324.5 kB / 1.29 GB, free: 17.55 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01254/1.201, allocations: 5.382 MB / 1.295 GB, free: 17.26 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-05/1.201, allocations: 2.188 kB / 1.295 GB, free: 17.26 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004069/1.201, allocations: 138.8 kB / 1.295 GB, free: 17.26 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.541e-05/1.202, allocations: 81.31 kB / 1.295 GB, free: 17.26 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01615/1.218, allocations: 6.557 MB / 1.302 GB, free: 17.19 MB / 1.014 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.03028/1.248, allocations: 15.84 MB / 1.317 GB, free: 11.54 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01027/1.258, allocations: 4.875 MB / 1.322 GB, free: 10.52 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005084/1.263, allocations: 2.591 MB / 1.324 GB, free: 9.984 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008792/1.264, allocations: 0.6639 MB / 1.325 GB, free: 9.289 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005513/1.27, allocations: 2.722 MB / 1.328 GB, free: 8.371 MB / 1.014 GB Notification: Performance of pre-optimization done (n=291): time 5.3e-06/1.27, allocations: 0 / 1.328 GB, free: 8.371 MB / 1.014 GB Notification: Performance of matching and sorting (n=291): time 0.02004/1.29, allocations: 8.055 MB / 1.336 GB, free: 6.043 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001402/1.29, allocations: 215.5 kB / 1.336 GB, free: 5.816 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004304/1.294, allocations: 2.527 MB / 1.338 GB, free: 5.203 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0006931/1.295, allocations: 84.78 kB / 1.338 GB, free: 5.168 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001482/1.297, allocations: 1.39 MB / 1.34 GB, free: 4.383 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001204/1.298, allocations: 0.9522 MB / 1.341 GB, free: 3.566 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004005/1.298, allocations: 211.6 kB / 1.341 GB, free: 3.438 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001055/1.298, allocations: 303.7 kB / 1.341 GB, free: 3.141 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00489/1.303, allocations: 2.107 MB / 1.343 GB, free: 2.078 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005541/1.309, allocations: 2.428 MB / 1.346 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01013/1.319, allocations: 4.459 MB / 1.35 GB, free: 14.37 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/1.319, allocations: 3.125 kB / 1.35 GB, free: 14.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01231/1.331, allocations: 5.267 MB / 1.355 GB, free: 11.74 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/1.331, allocations: 7.75 kB / 1.355 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/1.331, allocations: 6.094 kB / 1.355 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008519/1.332, allocations: 353.5 kB / 1.355 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004237/1.336, allocations: 0.8273 MB / 1.356 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005165/1.342, allocations: 3.882 MB / 1.36 GB, free: 7.852 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004771/1.346, allocations: 0.6091 MB / 1.361 GB, free: 7.242 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005347/1.347, allocations: 119.9 kB / 1.361 GB, free: 7.125 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,$PRE.HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,$PRE.HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,$PRE.HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,$PRE.HDifTil[1].incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (306): * Single equations (assignments): 305 * 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.002527/1.35, allocations: 0.9894 MB / 1.362 GB, free: 6.156 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008525/1.35, allocations: 284.4 kB / 1.362 GB, free: 5.875 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0154/1.366, allocations: 5.927 MB / 1.368 GB, free: 15.9 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.67e-05/1.366, allocations: 28 kB / 1.368 GB, free: 15.88 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/1.366, allocations: 8 kB / 1.368 GB, free: 15.87 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.839e-05/1.366, allocations: 15.94 kB / 1.368 GB, free: 15.85 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006639/1.373, allocations: 3.838 MB / 1.372 GB, free: 12.03 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/1.373, allocations: 3.938 kB / 1.372 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003852/1.376, allocations: 0.763 MB / 1.372 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001078/1.378, allocations: 375.5 kB / 1.373 GB, free: 10.91 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003504/1.378, allocations: 87.92 kB / 1.373 GB, free: 10.82 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006136/1.384, allocations: 5.8 MB / 1.378 GB, free: 4.762 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.384, allocations: 0 / 1.378 GB, free: 4.762 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0189/1.403, allocations: 8.438 MB / 1.387 GB, free: 12.25 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002318/1.405, allocations: 0.9064 MB / 1.388 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006363/1.406, allocations: 63.98 kB / 1.388 GB, free: 11.26 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00355/1.41, allocations: 470.8 kB / 1.388 GB, free: 10.8 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004981/1.41, allocations: 218.1 kB / 1.388 GB, free: 10.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000292/1.41, allocations: 111.9 kB / 1.388 GB, free: 10.48 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002713/1.413, allocations: 1.834 MB / 1.39 GB, free: 8.637 MB / 1.061 GB Notification: Performance of sort global known variables: time 3.2e-07/1.413, allocations: 0 / 1.39 GB, free: 8.637 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0036/1.417, allocations: 1.134 MB / 1.391 GB, free: 7.5 MB / 1.061 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: 21 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDirTil[2].incAng.decAng.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 11 (intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.tNext,weaDat.locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.00265/1.419, allocations: 1.037 MB / 1.392 GB, free: 6.855 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01252/1.432, allocations: 5.147 MB / 1.397 GB, free: 1.703 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/1.432, allocations: 0 / 1.397 GB, free: 1.703 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.007093/1.439, allocations: 2.934 MB / 1.4 GB, free: 14.79 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004304/1.443, allocations: 0.6814 MB / 1.401 GB, free: 14.12 MB / 1.076 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01702/1.46, allocations: 9.974 MB / 1.411 GB, free: 4.121 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002244/1.463, allocations: 2.534 MB / 1.413 GB, free: 1.559 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.004728/1.467, allocations: 1.158 MB / 1.414 GB, free: 408 kB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001211/1.469, allocations: 283.2 kB / 1.414 GB, free: 124 kB / 1.076 GB Notification: Performance of SimCode: time 7.52e-07/1.469, allocations: 0 / 1.414 GB, free: 124 kB / 1.076 GB Notification: Performance of Templates: time 0.08391/1.553, allocations: 48.14 MB / 1.461 GB, free: 0.5391 MB / 1.123 GB make -j1 -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)