Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.402/1.402, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.776/2.776, allocations: 472.6 MB / 0.7451 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 66.77 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2732, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.1636/0.4368, allocations: 163.6 MB / 1.228 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.5503/0.9871, allocations: 27.38 MB / 1.255 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002641/0.9898, allocations: 80 kB / 1.255 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002014/0.9918, allocations: 1.117 MB / 1.256 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004431/0.9963, allocations: 1.94 MB / 1.258 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004126/1, allocations: 1.878 MB / 1.26 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006119/1.007, allocations: 5.917 MB / 1.265 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00588/1.012, allocations: 4.571 MB / 1.27 GB, free: 21.23 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004224/1.017, allocations: 2.299 MB / 1.272 GB, free: 21.23 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004617/1.021, allocations: 2.769 MB / 1.275 GB, free: 21.14 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.00138/1.023, allocations: 0.5063 MB / 1.275 GB, free: 21.14 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003117/1.026, allocations: 1.098 MB / 1.276 GB, free: 21.12 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001173/1.027, allocations: 1.31 MB / 1.278 GB, free: 20.96 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003862/1.031, allocations: 2.386 MB / 1.28 GB, free: 20.3 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.008174/1.039, allocations: 6.558 MB / 1.286 GB, free: 19.46 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/1.039, allocations: 1 kB / 1.286 GB, free: 19.46 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.493e-06/1.039, allocations: 0 / 1.286 GB, free: 19.46 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001514/1.039, allocations: 2.281 kB / 1.286 GB, free: 19.46 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: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.01139/1.051, allocations: 5.075 MB / 1.291 GB, free: 17.45 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/1.051, allocations: 10.25 kB / 1.291 GB, free: 17.45 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01416/1.065, allocations: 2.813 MB / 1.294 GB, free: 17.21 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005415/1.07, allocations: 2.464 MB / 1.296 GB, free: 16.56 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002148/1.071, allocations: 267.9 kB / 1.297 GB, free: 16.55 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007462/1.071, allocations: 346.2 kB / 1.297 GB, free: 16.55 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0123/1.084, allocations: 5.58 MB / 1.302 GB, free: 16.29 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.623e-05/1.084, allocations: 4.031 kB / 1.303 GB, free: 16.29 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004393/1.084, allocations: 151.1 kB / 1.303 GB, free: 16.29 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-05/1.084, allocations: 86.72 kB / 1.303 GB, free: 16.29 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01466/1.099, allocations: 6.711 MB / 1.309 GB, free: 16.24 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.02706/1.126, allocations: 17.01 MB / 1.326 GB, free: 9.852 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009476/1.136, allocations: 4.414 MB / 1.33 GB, free: 7.621 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005431/1.141, allocations: 2.781 MB / 1.333 GB, free: 6.223 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009608/1.142, allocations: 0.6729 MB / 1.334 GB, free: 5.512 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005855/1.148, allocations: 2.819 MB / 1.336 GB, free: 3.887 MB / 1.014 GB Notification: Performance of pre-optimization done (n=309): time 7.283e-06/1.148, allocations: 7.984 kB / 1.336 GB, free: 3.879 MB / 1.014 GB Notification: Performance of matching and sorting (n=309): time 0.02295/1.171, allocations: 8.849 MB / 1.345 GB, free: 15.28 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/1.171, allocations: 212.9 kB / 1.345 GB, free: 15.06 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003801/1.175, allocations: 2.644 MB / 1.348 GB, free: 13.75 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0004069/1.175, allocations: 88.3 kB / 1.348 GB, free: 13.68 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001322/1.177, allocations: 1.48 MB / 1.349 GB, free: 12.39 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001039/1.178, allocations: 1.009 MB / 1.35 GB, free: 11.53 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001032/1.179, allocations: 0.5433 MB / 1.351 GB, free: 11.22 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 8.85e-05/1.179, allocations: 305.1 kB / 1.351 GB, free: 10.92 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004943/1.184, allocations: 2.198 MB / 1.353 GB, free: 9.809 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005194/1.189, allocations: 2.525 MB / 1.356 GB, free: 8.406 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01001/1.199, allocations: 4.642 MB / 1.36 GB, free: 4.672 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/1.199, allocations: 0 / 1.36 GB, free: 4.672 MB / 1.029 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01274/1.212, allocations: 5.625 MB / 1.366 GB, free: 15.05 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.983e-05/1.212, allocations: 8 kB / 1.366 GB, free: 15.04 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/1.212, allocations: 8.156 kB / 1.366 GB, free: 15.03 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/1.213, allocations: 0.5415 MB / 1.366 GB, free: 14.49 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004287/1.217, allocations: 0.8305 MB / 1.367 GB, free: 13.69 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007511/1.225, allocations: 5.74 MB / 1.373 GB, free: 7.824 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004667/1.23, allocations: 0.5803 MB / 1.373 GB, free: 7.242 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004219/1.23, allocations: 127.9 kB / 1.373 GB, free: 7.117 MB / 1.045 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 (310): * Single equations (assignments): 309 * 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.002414/1.232, allocations: 1.025 MB / 1.374 GB, free: 6.113 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008052/1.233, allocations: 304.2 kB / 1.375 GB, free: 5.812 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01393/1.247, allocations: 6.257 MB / 1.381 GB, free: 15.52 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.451e-05/1.247, allocations: 31.94 kB / 1.381 GB, free: 15.48 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/1.247, allocations: 8 kB / 1.381 GB, free: 15.48 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-05/1.247, allocations: 15.94 kB / 1.381 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005334/1.253, allocations: 4.079 MB / 1.385 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/1.253, allocations: 4 kB / 1.385 GB, free: 11.4 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003893/1.257, allocations: 0.769 MB / 1.386 GB, free: 10.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001343/1.258, allocations: 0.5297 MB / 1.386 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002952/1.258, allocations: 91.92 kB / 1.386 GB, free: 10.03 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008055/1.266, allocations: 7.553 MB / 1.394 GB, free: 2.199 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.266, allocations: 0 / 1.394 GB, free: 2.199 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01907/1.285, allocations: 8.903 MB / 1.402 GB, free: 9.242 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002156/1.288, allocations: 0.8987 MB / 1.403 GB, free: 8.32 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006499/1.288, allocations: 75.83 kB / 1.403 GB, free: 8.246 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003378/1.292, allocations: 432.9 kB / 1.404 GB, free: 7.824 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005343/1.292, allocations: 218.3 kB / 1.404 GB, free: 7.609 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003315/1.292, allocations: 123.8 kB / 1.404 GB, free: 7.488 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002608/1.295, allocations: 1.919 MB / 1.406 GB, free: 5.562 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.7e-07/1.295, allocations: 0 / 1.406 GB, free: 5.562 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003087/1.298, allocations: 1.204 MB / 1.407 GB, free: 4.355 MB / 1.076 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: 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 (285): * Single equations (assignments): 271 * 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 {(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.002407/1.301, allocations: 1.065 MB / 1.408 GB, free: 3.684 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.02241/1.323, allocations: 9.421 MB / 1.417 GB, free: 10.29 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.323, allocations: 0 / 1.417 GB, free: 10.29 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.006427/1.329, allocations: 3.111 MB / 1.42 GB, free: 7.203 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00379/1.333, allocations: 0.7825 MB / 1.421 GB, free: 6.461 MB / 1.092 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.01645/1.35, allocations: 8.816 MB / 1.43 GB, free: 13.62 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002871/1.353, allocations: 2.641 MB / 1.432 GB, free: 10.95 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.005478/1.358, allocations: 1.184 MB / 1.433 GB, free: 9.766 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001569/1.36, allocations: 295.2 kB / 1.434 GB, free: 9.477 MB / 1.107 GB Notification: Performance of SimCode: time 6.61e-07/1.36, allocations: 0 / 1.434 GB, free: 9.477 MB / 1.107 GB Notification: Performance of Templates: time 0.08656/1.446, allocations: 54.74 MB / 1.487 GB, free: 3.332 MB / 1.154 GB make -j1 -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile (rm -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)