Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001493/0.001492, allocations: 196.5 kB / 16.14 MB, free: 6.695 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.31/1.31, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.719/2.719, allocations: 472.6 MB / 0.7447 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001233, allocations: 65.33 kB / 0.9113 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2947, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.1601/0.4548, allocations: 162.6 MB / 1.226 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6017/1.057, allocations: 27.6 MB / 1.253 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004223/1.061, allocations: 82.25 kB / 1.253 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003191/1.064, allocations: 1.051 MB / 1.254 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0062/1.07, allocations: 1.864 MB / 1.256 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005094/1.075, allocations: 1.831 MB / 1.258 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009279/1.085, allocations: 6.867 MB / 1.265 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006951/1.092, allocations: 4.35 MB / 1.269 GB, free: 20.97 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007033/1.099, allocations: 2.065 MB / 1.271 GB, free: 20.97 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008563/1.107, allocations: 2.813 MB / 1.274 GB, free: 20.83 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.003408/1.111, allocations: 299 kB / 1.274 GB, free: 20.83 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005786/1.117, allocations: 0.8935 MB / 1.275 GB, free: 20.8 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003035/1.12, allocations: 1.151 MB / 1.276 GB, free: 20.63 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.007844/1.128, allocations: 2.299 MB / 1.278 GB, free: 19.92 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01493/1.143, allocations: 6.881 MB / 1.285 GB, free: 19 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/1.143, allocations: 0 / 1.285 GB, free: 19 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.124e-06/1.143, allocations: 0.9688 kB / 1.285 GB, free: 19 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002829/1.143, allocations: 0 / 1.285 GB, free: 19 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: 989 * Number of variables: 989 Notification: Performance of Generate backend data structure: time 0.01679/1.16, allocations: 5.449 MB / 1.29 GB, free: 16.82 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/1.16, allocations: 11.84 kB / 1.29 GB, free: 16.82 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01412/1.174, allocations: 2.857 MB / 1.293 GB, free: 16.52 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006657/1.181, allocations: 2.627 MB / 1.296 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003232/1.181, allocations: 295.4 kB / 1.296 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001772/1.183, allocations: 377.3 kB / 1.296 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01539/1.198, allocations: 5.926 MB / 1.302 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-05/1.198, allocations: 10.81 kB / 1.302 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005059/1.199, allocations: 163.5 kB / 1.302 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.035e-05/1.199, allocations: 96.78 kB / 1.302 GB, free: 15.53 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01719/1.216, allocations: 7.037 MB / 1.309 GB, free: 15.47 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.03339/1.249, allocations: 18.65 MB / 1.327 GB, free: 7.449 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009658/1.259, allocations: 4.805 MB / 1.332 GB, free: 5.582 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005927/1.265, allocations: 3.062 MB / 1.335 GB, free: 4.055 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009762/1.266, allocations: 0.6819 MB / 1.336 GB, free: 3.34 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006565/1.273, allocations: 2.97 MB / 1.339 GB, free: 1.641 MB / 1.014 GB Notification: Performance of pre-optimization done (n=336): time 6.322e-06/1.273, allocations: 0 / 1.339 GB, free: 1.641 MB / 1.014 GB Notification: Performance of matching and sorting (n=336): time 0.02656/1.299, allocations: 10.17 MB / 1.349 GB, free: 12.32 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/1.299, allocations: 214.6 kB / 1.349 GB, free: 12.1 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003836/1.303, allocations: 2.801 MB / 1.351 GB, free: 10.71 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0006027/1.304, allocations: 90.36 kB / 1.352 GB, free: 10.63 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001362/1.305, allocations: 1.593 MB / 1.353 GB, free: 9.258 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001179/1.306, allocations: 1.101 MB / 1.354 GB, free: 8.309 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001065/1.308, allocations: 0.5739 MB / 1.355 GB, free: 7.988 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 8.737e-05/1.308, allocations: 305.1 kB / 1.355 GB, free: 7.688 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004963/1.313, allocations: 2.32 MB / 1.357 GB, free: 6.508 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005541/1.318, allocations: 2.68 MB / 1.36 GB, free: 3.77 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01049/1.329, allocations: 4.924 MB / 1.365 GB, free: 14.78 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/1.329, allocations: 0 / 1.365 GB, free: 14.78 MB / 1.045 GB Notification: Performance of matching and sorting (n=383) (initialization): time 0.01406/1.343, allocations: 6.099 MB / 1.371 GB, free: 8.688 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/1.343, allocations: 8 kB / 1.371 GB, free: 8.68 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/1.343, allocations: 7.062 kB / 1.371 GB, free: 8.676 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001794/1.345, allocations: 0.8239 MB / 1.372 GB, free: 7.852 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004475/1.349, allocations: 0.852 MB / 1.372 GB, free: 7.027 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009969/1.359, allocations: 7.008 MB / 1.379 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005454/1.365, allocations: 0.6333 MB / 1.38 GB, free: 15.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008793/1.366, allocations: 131.9 kB / 1.38 GB, free: 15.14 MB / 1.061 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 (319): * Single equations (assignments): 318 * 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.003143/1.369, allocations: 1.086 MB / 1.381 GB, free: 14.09 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001127/1.37, allocations: 324 kB / 1.381 GB, free: 13.77 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01556/1.385, allocations: 6.757 MB / 1.388 GB, free: 6.98 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.959e-05/1.385, allocations: 32 kB / 1.388 GB, free: 6.949 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-05/1.385, allocations: 12 kB / 1.388 GB, free: 6.938 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.961e-05/1.386, allocations: 23.92 kB / 1.388 GB, free: 6.914 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00727/1.393, allocations: 4.389 MB / 1.392 GB, free: 2.535 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-05/1.393, allocations: 0 / 1.392 GB, free: 2.535 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004375/1.397, allocations: 0.7906 MB / 1.393 GB, free: 1.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002021/1.399, allocations: 0.7377 MB / 1.394 GB, free: 1.023 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000774/1.4, allocations: 91.92 kB / 1.394 GB, free: 0.9336 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01093/1.411, allocations: 9.793 MB / 1.403 GB, free: 6.758 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.411, allocations: 0 / 1.403 GB, free: 6.758 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02208/1.433, allocations: 9.574 MB / 1.413 GB, free: 13.13 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003006/1.436, allocations: 0.9608 MB / 1.414 GB, free: 12.15 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001057/1.437, allocations: 83.83 kB / 1.414 GB, free: 12.07 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004077/1.441, allocations: 467.1 kB / 1.414 GB, free: 11.61 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006369/1.442, allocations: 249.3 kB / 1.414 GB, free: 11.37 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003254/1.442, allocations: 123.9 kB / 1.415 GB, free: 11.25 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.003053/1.445, allocations: 2.017 MB / 1.417 GB, free: 9.227 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.9e-07/1.445, allocations: 0 / 1.417 GB, free: 9.227 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.004385/1.45, allocations: 1.333 MB / 1.418 GB, free: 7.891 MB / 1.092 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: 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 (295): * Single equations (assignments): 280 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.002648/1.452, allocations: 1.047 MB / 1.419 GB, free: 7.23 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01346/1.466, allocations: 5.822 MB / 1.425 GB, free: 1.414 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/1.466, allocations: 6.906 kB / 1.425 GB, free: 1.41 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.007727/1.474, allocations: 3.476 MB / 1.428 GB, free: 13.95 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00474/1.478, allocations: 0.7797 MB / 1.429 GB, free: 13.18 MB / 1.107 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.01942/1.498, allocations: 11.2 MB / 1.44 GB, free: 1.957 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002364/1.5, allocations: 2.779 MB / 1.442 GB, free: 15.15 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.00505/1.505, allocations: 1.217 MB / 1.444 GB, free: 13.93 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001328/1.507, allocations: 303.2 kB / 1.444 GB, free: 13.63 MB / 1.123 GB Notification: Performance of SimCode: time 7.92e-07/1.507, allocations: 2.906 kB / 1.444 GB, free: 13.63 MB / 1.123 GB Notification: Performance of Templates: time 0.09338/1.6, allocations: 57.17 MB / 1.5 GB, free: 5.094 MB / 1.17 GB make -j1 -f Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (rm -f Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)