Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001575/0.001575, 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.002041/0.002041, allocations: 195.1 kB / 16.14 MB, free: 6.688 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.395/1.395, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.761/2.761, allocations: 472.6 MB / 0.7447 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001236, allocations: 66.11 kB / 0.9113 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2854, allocations: 159.9 MB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.1655/0.451, allocations: 161.2 MB / 1.225 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.5503/1.001, allocations: 27.19 MB / 1.251 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003419/1.005, allocations: 75.25 kB / 1.252 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002446/1.007, allocations: 0.9853 MB / 1.253 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004794/1.012, allocations: 1.757 MB / 1.254 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003701/1.016, allocations: 1.664 MB / 1.256 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006784/1.023, allocations: 6.145 MB / 1.262 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004847/1.027, allocations: 4.074 MB / 1.266 GB, free: 20.92 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003146/1.031, allocations: 1.908 MB / 1.268 GB, free: 20.92 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003834/1.034, allocations: 2.586 MB / 1.27 GB, free: 20.86 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007592/1.035, allocations: 271.5 kB / 1.27 GB, free: 20.86 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002332/1.038, allocations: 0.8663 MB / 1.271 GB, free: 20.84 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001093/1.039, allocations: 1.056 MB / 1.272 GB, free: 20.68 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0031/1.042, allocations: 2.109 MB / 1.274 GB, free: 20.02 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006987/1.049, allocations: 6.347 MB / 1.281 GB, free: 19.17 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/1.049, allocations: 0 / 1.281 GB, free: 19.17 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.113e-06/1.049, allocations: 2.906 kB / 1.281 GB, free: 19.17 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001559/1.049, allocations: 1.156 kB / 1.281 GB, free: 19.17 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.01134/1.06, allocations: 5.07 MB / 1.286 GB, free: 17.12 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/1.06, allocations: 9.125 kB / 1.286 GB, free: 17.12 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01516/1.076, allocations: 2.815 MB / 1.288 GB, free: 16.84 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006011/1.082, allocations: 2.489 MB / 1.291 GB, free: 16.19 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002441/1.082, allocations: 264 kB / 1.291 GB, free: 16.18 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001251/1.083, allocations: 349.2 kB / 1.291 GB, free: 16.18 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01402/1.097, allocations: 5.584 MB / 1.297 GB, free: 15.89 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.237e-05/1.097, allocations: 8.125 kB / 1.297 GB, free: 15.89 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004962/1.098, allocations: 145.6 kB / 1.297 GB, free: 15.89 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.952e-05/1.098, allocations: 86.5 kB / 1.297 GB, free: 15.89 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01719/1.115, allocations: 6.709 MB / 1.304 GB, free: 15.83 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.0286/1.144, allocations: 16.97 MB / 1.32 GB, free: 9.793 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008784/1.153, allocations: 4.398 MB / 1.324 GB, free: 8.898 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005181/1.158, allocations: 2.779 MB / 1.327 GB, free: 8.344 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009252/1.159, allocations: 0.6722 MB / 1.328 GB, free: 7.645 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005734/1.164, allocations: 2.821 MB / 1.331 GB, free: 6.332 MB / 1.014 GB Notification: Performance of pre-optimization done (n=309): time 5.229e-06/1.164, allocations: 1.938 kB / 1.331 GB, free: 6.332 MB / 1.014 GB Notification: Performance of matching and sorting (n=309): time 0.0247/1.189, allocations: 8.857 MB / 1.339 GB, free: 1.727 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/1.189, allocations: 214.7 kB / 1.339 GB, free: 1.504 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004679/1.194, allocations: 2.64 MB / 1.342 GB, free: 208 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0007183/1.195, allocations: 83.05 kB / 1.342 GB, free: 132 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001499/1.196, allocations: 1.477 MB / 1.344 GB, free: 14.86 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001454/1.198, allocations: 1.012 MB / 1.345 GB, free: 13.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001181/1.199, allocations: 0.541 MB / 1.345 GB, free: 13.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000102/1.199, allocations: 309.1 kB / 1.345 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004882/1.204, allocations: 2.197 MB / 1.348 GB, free: 12.27 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005269/1.209, allocations: 2.527 MB / 1.35 GB, free: 10.86 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01033/1.22, allocations: 4.644 MB / 1.355 GB, free: 8.395 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/1.22, allocations: 4 kB / 1.355 GB, free: 8.391 MB / 1.029 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01357/1.233, allocations: 5.628 MB / 1.36 GB, free: 2.766 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/1.233, allocations: 9.719 kB / 1.36 GB, free: 2.758 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/1.233, allocations: 4 kB / 1.36 GB, free: 2.754 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001346/1.235, allocations: 0.5417 MB / 1.361 GB, free: 2.211 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004522/1.239, allocations: 0.8285 MB / 1.361 GB, free: 1.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008318/1.247, allocations: 5.304 MB / 1.367 GB, free: 11.99 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00538/1.253, allocations: 0.6102 MB / 1.367 GB, free: 11.38 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009932/1.254, allocations: 123.9 kB / 1.367 GB, free: 11.25 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.003444/1.257, allocations: 1.017 MB / 1.368 GB, free: 10.26 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001437/1.259, allocations: 308.2 kB / 1.369 GB, free: 9.953 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0157/1.274, allocations: 6.262 MB / 1.375 GB, free: 3.652 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.808e-05/1.275, allocations: 32 kB / 1.375 GB, free: 3.621 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/1.275, allocations: 8 kB / 1.375 GB, free: 3.613 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.702e-05/1.275, allocations: 19.88 kB / 1.375 GB, free: 3.594 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00645/1.281, allocations: 4.078 MB / 1.379 GB, free: 15.54 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-05/1.281, allocations: 0 / 1.379 GB, free: 15.54 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004326/1.285, allocations: 0.7671 MB / 1.379 GB, free: 14.8 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001402/1.287, allocations: 0.5261 MB / 1.38 GB, free: 14.26 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003743/1.287, allocations: 87.91 kB / 1.38 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007779/1.295, allocations: 6.941 MB / 1.387 GB, free: 6.965 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.295, allocations: 10.84 kB / 1.387 GB, free: 6.957 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01925/1.314, allocations: 8.905 MB / 1.396 GB, free: 14 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002667/1.317, allocations: 0.9055 MB / 1.396 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001178/1.318, allocations: 83.77 kB / 1.396 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004371/1.323, allocations: 464.5 kB / 1.397 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008106/1.323, allocations: 226.2 kB / 1.397 GB, free: 12.31 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004752/1.324, allocations: 107.9 kB / 1.397 GB, free: 12.21 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003841/1.328, allocations: 1.915 MB / 1.399 GB, free: 10.29 MB / 1.076 GB Notification: Performance of sort global known variables: time 4.61e-07/1.328, allocations: 0 / 1.399 GB, free: 10.29 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.004501/1.332, allocations: 1.208 MB / 1.4 GB, free: 9.074 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.002969/1.335, allocations: 1.052 MB / 1.401 GB, free: 8.41 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01214/1.347, allocations: 5.412 MB / 1.407 GB, free: 3 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.347, allocations: 4 kB / 1.407 GB, free: 2.996 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.00662/1.354, allocations: 3.112 MB / 1.41 GB, free: 15.92 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004157/1.358, allocations: 0.7254 MB / 1.41 GB, free: 15.2 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.01902/1.377, allocations: 10.4 MB / 1.421 GB, free: 4.773 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00297/1.38, allocations: 2.637 MB / 1.423 GB, free: 2.113 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.005923/1.386, allocations: 1.194 MB / 1.424 GB, free: 0.918 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001854/1.388, allocations: 291.2 kB / 1.425 GB, free: 0.6328 MB / 1.092 GB Notification: Performance of SimCode: time 6.81e-07/1.388, allocations: 0 / 1.425 GB, free: 0.6328 MB / 1.092 GB Notification: Performance of Templates: time 0.08679/1.475, allocations: 52.51 MB / 1.476 GB, free: 12.72 MB / 1.154 GB make -j1 -f Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile (rm -f Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)