Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000918/0.0009179, allocations: 89.89 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.005401/0.005401, allocations: 171 kB / 16.26 MB, free: 6.613 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.482/1.482, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.993/2.993, allocations: 473.4 MB / 0.7469 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003333/0.0003333, allocations: 17.64 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2853, allocations: 162.2 MB / 1.074 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1574/0.4427, allocations: 157.4 MB / 1.228 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.5891/1.032, allocations: 26.47 MB / 1.254 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002802/1.035, allocations: 64.12 kB / 1.254 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002231/1.037, allocations: 0.9234 MB / 1.255 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005064/1.042, allocations: 1.614 MB / 1.256 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003652/1.046, allocations: 1.527 MB / 1.258 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007617/1.053, allocations: 5.467 MB / 1.263 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005367/1.059, allocations: 3.389 MB / 1.266 GB, free: 21.41 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003196/1.062, allocations: 1.448 MB / 1.268 GB, free: 21.41 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004474/1.066, allocations: 1.966 MB / 1.27 GB, free: 21.4 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007006/1.067, allocations: 109.6 kB / 1.27 GB, free: 21.4 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002669/1.07, allocations: 0.7051 MB / 1.27 GB, free: 21.38 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0009832/1.071, allocations: 0.7399 MB / 1.271 GB, free: 21.38 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003219/1.074, allocations: 1.659 MB / 1.273 GB, free: 21.24 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01099/1.085, allocations: 5.476 MB / 1.278 GB, free: 20.47 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/1.085, allocations: 0 / 1.278 GB, free: 20.47 MB / 1.014 GB Notification: Performance of FrontEnd: time 4.829e-06/1.085, allocations: 0 / 1.278 GB, free: 20.47 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0003791/1.086, allocations: 1.219 kB / 1.278 GB, free: 20.47 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: 816 * Number of variables: 816 Notification: Performance of Generate backend data structure: time 0.01277/1.098, allocations: 3.945 MB / 1.282 GB, free: 18.67 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/1.098, allocations: 12.22 kB / 1.282 GB, free: 18.67 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01462/1.113, allocations: 2.887 MB / 1.285 GB, free: 18.41 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004984/1.118, allocations: 2.302 MB / 1.287 GB, free: 17.79 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001948/1.118, allocations: 240.5 kB / 1.287 GB, free: 17.78 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007415/1.119, allocations: 313.8 kB / 1.288 GB, free: 17.77 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01348/1.132, allocations: 5.206 MB / 1.293 GB, free: 17.48 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-05/1.133, allocations: 0 / 1.293 GB, free: 17.48 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004269/1.133, allocations: 131.2 kB / 1.293 GB, free: 17.48 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.882e-05/1.133, allocations: 77.75 kB / 1.293 GB, free: 17.48 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01513/1.148, allocations: 6.377 MB / 1.299 GB, free: 17.41 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.02645/1.175, allocations: 14.95 MB / 1.314 GB, free: 12.73 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00992/1.185, allocations: 4.726 MB / 1.318 GB, free: 11.71 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005047/1.19, allocations: 2.441 MB / 1.321 GB, free: 11.19 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009862/1.191, allocations: 0.6667 MB / 1.321 GB, free: 10.49 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005419/1.196, allocations: 2.633 MB / 1.324 GB, free: 9.594 MB / 1.014 GB Notification: Performance of pre-optimization done (n=278): time 4.819e-06/1.196, allocations: 0 / 1.324 GB, free: 9.594 MB / 1.014 GB Notification: Performance of matching and sorting (n=278): time 0.01733/1.214, allocations: 7.427 MB / 1.331 GB, free: 7.461 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001512/1.214, allocations: 218.4 kB / 1.331 GB, free: 7.23 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003471/1.217, allocations: 2.429 MB / 1.334 GB, free: 6.637 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000386/1.218, allocations: 78.8 kB / 1.334 GB, free: 6.605 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001196/1.219, allocations: 1.334 MB / 1.335 GB, free: 5.965 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001014/1.22, allocations: 0.8992 MB / 1.336 GB, free: 5.316 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003728/1.22, allocations: 203.5 kB / 1.336 GB, free: 5.27 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.73e-05/1.22, allocations: 301.1 kB / 1.337 GB, free: 4.973 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004641/1.225, allocations: 2.036 MB / 1.339 GB, free: 4.496 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004951/1.23, allocations: 2.357 MB / 1.341 GB, free: 3.551 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009948/1.24, allocations: 4.29 MB / 1.345 GB, free: 1.285 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.167e-05/1.24, allocations: 3.594 kB / 1.345 GB, free: 1.285 MB / 1.014 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.01204/1.252, allocations: 5.015 MB / 1.35 GB, free: 14.77 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/1.252, allocations: 11.11 kB / 1.35 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/1.252, allocations: 9.875 kB / 1.35 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006335/1.253, allocations: 233.6 kB / 1.35 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004035/1.257, allocations: 0.8133 MB / 1.351 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00402/1.261, allocations: 3.097 MB / 1.354 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004578/1.265, allocations: 0.5935 MB / 1.355 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005453/1.266, allocations: 114.4 kB / 1.355 GB, free: 11.63 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 (300): * Single equations (assignments): 299 * 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 {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002818/1.269, allocations: 0.9519 MB / 1.356 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009794/1.27, allocations: 274.5 kB / 1.356 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01567/1.285, allocations: 5.642 MB / 1.361 GB, free: 6.094 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-05/1.285, allocations: 28 kB / 1.361 GB, free: 6.066 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.02e-05/1.286, allocations: 6.906 kB / 1.361 GB, free: 6.062 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-05/1.286, allocations: 11.95 kB / 1.361 GB, free: 6.051 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008154/1.294, allocations: 3.686 MB / 1.365 GB, free: 2.383 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.181e-05/1.294, allocations: 0 / 1.365 GB, free: 2.383 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004497/1.298, allocations: 0.7446 MB / 1.366 GB, free: 1.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001036/1.299, allocations: 267.2 kB / 1.366 GB, free: 1.395 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000831/1.3, allocations: 79.92 kB / 1.366 GB, free: 1.316 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005254/1.306, allocations: 4.814 MB / 1.371 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.306, allocations: 0 / 1.371 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02227/1.328, allocations: 8.047 MB / 1.379 GB, free: 4.109 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002704/1.331, allocations: 0.8714 MB / 1.379 GB, free: 3.215 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00123/1.332, allocations: 63.98 kB / 1.38 GB, free: 3.152 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004424/1.336, allocations: 459.3 kB / 1.38 GB, free: 2.703 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008536/1.337, allocations: 208.9 kB / 1.38 GB, free: 2.5 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006494/1.338, allocations: 107.9 kB / 1.38 GB, free: 2.395 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003722/1.342, allocations: 1.777 MB / 1.382 GB, free: 0.6055 MB / 1.045 GB Notification: Performance of sort global known variables: time 3.91e-07/1.342, allocations: 0 / 1.382 GB, free: 0.6055 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.006218/1.348, allocations: 1.067 MB / 1.383 GB, free: 15.54 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.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 (276): * Single equations (assignments): 262 * 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 {(2,16,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.003777/1.352, allocations: 1.045 MB / 1.384 GB, free: 14.89 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01445/1.366, allocations: 4.909 MB / 1.389 GB, free: 9.973 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/1.366, allocations: 0.6875 kB / 1.389 GB, free: 9.973 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.007561/1.374, allocations: 2.781 MB / 1.392 GB, free: 7.211 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005606/1.379, allocations: 0.6582 MB / 1.392 GB, free: 6.566 MB / 1.061 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.399, allocations: 9.536 MB / 1.402 GB, free: 12.99 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003334/1.402, allocations: 2.462 MB / 1.404 GB, free: 10.5 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.005915/1.408, allocations: 1.144 MB / 1.405 GB, free: 9.352 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001899/1.41, allocations: 271.2 kB / 1.405 GB, free: 9.086 MB / 1.076 GB Notification: Performance of SimCode: time 9.32e-07/1.41, allocations: 4 kB / 1.405 GB, free: 9.082 MB / 1.076 GB Notification: Performance of Templates: time 0.0837/1.494, allocations: 45.68 MB / 1.45 GB, free: 11.93 MB / 1.123 GB make -j1 -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (rm -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)