Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.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.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001676/0.001676, allocations: 196.1 kB / 16.14 MB, free: 6.734 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.356/1.356, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.779/2.779, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 57.52 kB / 0.9113 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2603, allocations: 159.9 MB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain): time 0.7183/0.9787, allocations: 199.9 MB / 1.263 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01262/0.9913, allocations: 10.24 MB / 1.273 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001986/0.9933, allocations: 60.28 kB / 1.273 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003256/0.9966, allocations: 2.62 MB / 1.275 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004988/1.002, allocations: 2.621 MB / 1.278 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003528/1.005, allocations: 1.315 MB / 1.279 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007223/1.012, allocations: 4.887 MB / 1.284 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002679/1.015, allocations: 1.91 MB / 1.286 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00336/1.018, allocations: 1.493 MB / 1.287 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00321/1.022, allocations: 2.337 MB / 1.29 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002799/1.022, allocations: 97.22 kB / 1.29 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003308/1.025, allocations: 1.613 MB / 1.291 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007744/1.026, allocations: 0.8421 MB / 1.292 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001175/1.027, allocations: 1.192 MB / 1.293 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00379/1.031, allocations: 3.7 MB / 1.297 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/1.031, allocations: 0 / 1.297 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.02e-07/1.031, allocations: 0 / 1.297 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.866e-05/1.031, allocations: 0 / 1.297 GB, free: 4.324 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.005057/1.036, allocations: 3.304 MB / 1.3 GB, free: 18.61 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/1.036, allocations: 8.969 kB / 1.3 GB, free: 18.61 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001719/1.038, allocations: 466.6 kB / 1.3 GB, free: 18.44 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001979/1.04, allocations: 1.551 MB / 1.302 GB, free: 17.79 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/1.04, allocations: 133.5 kB / 1.302 GB, free: 17.75 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/1.04, allocations: 134.5 kB / 1.302 GB, free: 17.75 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002546/1.043, allocations: 1.517 MB / 1.304 GB, free: 17.61 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/1.043, allocations: 4.281 kB / 1.304 GB, free: 17.61 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/1.043, allocations: 52.33 kB / 1.304 GB, free: 17.61 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-05/1.043, allocations: 47.62 kB / 1.304 GB, free: 17.6 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00214/1.045, allocations: 1.26 MB / 1.305 GB, free: 17.58 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.007856/1.053, allocations: 6.526 MB / 1.311 GB, free: 14.85 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001966/1.055, allocations: 1.2 MB / 1.313 GB, free: 14.7 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001055/1.056, allocations: 0.673 MB / 1.313 GB, free: 14.69 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004201/1.057, allocations: 293.2 kB / 1.314 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001194/1.058, allocations: 0.6807 MB / 1.314 GB, free: 14.34 MB / 1.014 GB Notification: Performance of pre-optimization done (n=114): time 3.287e-06/1.058, allocations: 0 / 1.314 GB, free: 14.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=114): time 0.004804/1.063, allocations: 2.384 MB / 1.317 GB, free: 13.9 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/1.063, allocations: 70.47 kB / 1.317 GB, free: 13.83 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003683/1.066, allocations: 4.015 MB / 1.321 GB, free: 13.59 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001071/1.067, allocations: 56.47 kB / 1.321 GB, free: 13.55 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008752/1.067, allocations: 1.277 MB / 1.322 GB, free: 13.29 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002563/1.068, allocations: 380.7 kB / 1.322 GB, free: 13.06 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003043/1.068, allocations: 218.8 kB / 1.322 GB, free: 13.04 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001274/1.068, allocations: 352.6 kB / 1.323 GB, free: 12.73 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008684/1.069, allocations: 0.4958 MB / 1.323 GB, free: 12.73 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/1.07, allocations: 0.7497 MB / 1.324 GB, free: 12.48 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00186/1.072, allocations: 1.257 MB / 1.325 GB, free: 12.23 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/1.072, allocations: 2.312 kB / 1.325 GB, free: 12.23 MB / 1.014 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002954/1.075, allocations: 1.776 MB / 1.327 GB, free: 11.99 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/1.075, allocations: 7.312 kB / 1.327 GB, free: 11.99 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/1.075, allocations: 10.47 kB / 1.327 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005824/1.076, allocations: 223.8 kB / 1.327 GB, free: 11.97 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009042/1.076, allocations: 241.1 kB / 1.327 GB, free: 11.97 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004108/1.081, allocations: 4.208 MB / 1.331 GB, free: 9.238 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/1.082, allocations: 190.6 kB / 1.332 GB, free: 9.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/1.082, allocations: 45.16 kB / 1.332 GB, free: 9.18 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 35 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition8,$PRE.intGai.nextTimeEvent,$whenCondition7,$PRE.reference.nextTimeEvent,$whenCondition6,$PRE.outdoorTemp.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.ventRate.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,ventRate.nextTimeEventScaled,$PRE.ventRate.nextTimeEventScaled,ventRate.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,14,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001353/1.084, allocations: 0.8157 MB / 1.332 GB, free: 9.039 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004191/1.084, allocations: 279.4 kB / 1.333 GB, free: 8.887 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003119/1.087, allocations: 1.646 MB / 1.334 GB, free: 8.262 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/1.087, allocations: 13.72 kB / 1.334 GB, free: 8.262 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/1.087, allocations: 2.75 kB / 1.334 GB, free: 8.262 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002339/1.089, allocations: 1.443 MB / 1.336 GB, free: 7.574 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006041/1.096, allocations: 3.606 MB / 1.339 GB, free: 6.055 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/1.096, allocations: 2.25 kB / 1.339 GB, free: 6.055 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000774/1.096, allocations: 169.8 kB / 1.339 GB, free: 6.047 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004999/1.097, allocations: 207.2 kB / 1.34 GB, free: 5.98 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-05/1.097, allocations: 36.8 kB / 1.34 GB, free: 5.965 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004042/1.101, allocations: 4.222 MB / 1.344 GB, free: 2.52 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/1.101, allocations: 12.88 kB / 1.344 GB, free: 2.512 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003722/1.105, allocations: 2.336 MB / 1.346 GB, free: 1.477 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007811/1.106, allocations: 433 kB / 1.347 GB, free: 1.168 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002937/1.106, allocations: 36.77 kB / 1.347 GB, free: 1.141 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009934/1.107, allocations: 98.69 kB / 1.347 GB, free: 1.094 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002098/1.107, allocations: 102.8 kB / 1.347 GB, free: 1.039 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.282e-05/1.107, allocations: 38.92 kB / 1.347 GB, free: 1.027 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003211/1.11, allocations: 2.92 MB / 1.35 GB, free: 15.74 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.91e-07/1.11, allocations: 0 / 1.35 GB, free: 15.74 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001633/1.112, allocations: 0.5121 MB / 1.35 GB, free: 15.63 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 7 (thermalZoneTwoElements.volMoiAir.dynBal.medium.Xi[1],thermalZoneTwoElements.volMoiAir.dynBal.U,thermalZoneTwoElements.volMoiAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 22 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,ventRate.nextTimeEvent,ventRate.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,ventRate.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,ventRate.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,14,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001405/1.113, allocations: 0.6035 MB / 1.351 GB, free: 15.36 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002793/1.116, allocations: 1.527 MB / 1.352 GB, free: 14.54 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.116, allocations: 4.188 kB / 1.352 GB, free: 14.53 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001464/1.118, allocations: 0.9257 MB / 1.353 GB, free: 13.97 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002663/1.12, allocations: 0.5764 MB / 1.354 GB, free: 13.66 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008492/1.129, allocations: 6.535 MB / 1.36 GB, free: 9.902 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001748/1.131, allocations: 1.92 MB / 1.362 GB, free: 8.625 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001103/1.132, allocations: 324.7 kB / 1.362 GB, free: 8.484 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003463/1.132, allocations: 117.2 kB / 1.362 GB, free: 8.461 MB / 1.029 GB Notification: Performance of SimCode: time 5.61e-07/1.132, allocations: 4 kB / 1.362 GB, free: 8.457 MB / 1.029 GB Notification: Performance of Templates: time 0.04322/1.175, allocations: 24.53 MB / 1.386 GB, free: 1.84 MB / 1.045 GB make -j1 -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.makefile (rm -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; mkfifo Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; head -c 1048576 < Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe >> ../files/Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.sim & ./Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe 2>&1)