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.001548/0.001548, allocations: 108 kB / 15.6 MB, free: 132 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.001915/0.001915, allocations: 195.4 kB / 16.53 MB, free: 6.391 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.826/2.826, allocations: 472.6 MB / 0.7451 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 65.19 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2759, allocations: 159.9 MB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain): time 0.7923/1.068, allocations: 202.1 MB / 1.266 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01542/1.084, allocations: 10.17 MB / 1.275 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003303/1.087, allocations: 66.16 kB / 1.276 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003837/1.091, allocations: 2.726 MB / 1.278 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006764/1.098, allocations: 2.751 MB / 1.281 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004731/1.103, allocations: 1.456 MB / 1.282 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007127/1.11, allocations: 3.988 MB / 1.286 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004432/1.114, allocations: 2.159 MB / 1.288 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004979/1.119, allocations: 1.7 MB / 1.29 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004469/1.124, allocations: 2.344 MB / 1.292 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008826/1.125, allocations: 186.8 kB / 1.292 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004424/1.129, allocations: 1.492 MB / 1.294 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001426/1.13, allocations: 0.8963 MB / 1.295 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002792/1.133, allocations: 1.286 MB / 1.296 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006304/1.14, allocations: 3.704 MB / 1.3 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/1.14, allocations: 0 / 1.3 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.404e-06/1.14, allocations: 0.9375 kB / 1.3 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.086e-05/1.14, allocations: 2.953 kB / 1.3 GB, free: 4.059 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.005853/1.146, allocations: 3.294 MB / 1.303 GB, free: 18.36 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/1.146, allocations: 10.25 kB / 1.303 GB, free: 18.36 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001806/1.147, allocations: 460.6 kB / 1.303 GB, free: 18.19 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002183/1.15, allocations: 1.564 MB / 1.305 GB, free: 17.53 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001795/1.15, allocations: 133.7 kB / 1.305 GB, free: 17.5 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002004/1.15, allocations: 128.9 kB / 1.305 GB, free: 17.5 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002467/1.152, allocations: 1.516 MB / 1.307 GB, free: 17.36 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.108e-05/1.152, allocations: 2.312 kB / 1.307 GB, free: 17.36 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/1.153, allocations: 53.53 kB / 1.307 GB, free: 17.36 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.405e-05/1.153, allocations: 42.31 kB / 1.307 GB, free: 17.36 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002083/1.155, allocations: 1.263 MB / 1.308 GB, free: 17.34 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.008662/1.163, allocations: 6.562 MB / 1.314 GB, free: 14.63 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002184/1.166, allocations: 1.196 MB / 1.315 GB, free: 14.51 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/1.167, allocations: 0.6784 MB / 1.316 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004313/1.167, allocations: 294 kB / 1.316 GB, free: 14.21 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001111/1.168, allocations: 0.6811 MB / 1.317 GB, free: 14.15 MB / 1.014 GB Notification: Performance of pre-optimization done (n=114): time 3.537e-06/1.168, allocations: 0.7812 kB / 1.317 GB, free: 14.15 MB / 1.014 GB Notification: Performance of matching and sorting (n=114): time 0.004914/1.173, allocations: 2.372 MB / 1.319 GB, free: 13.73 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/1.173, allocations: 66 kB / 1.319 GB, free: 13.67 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004361/1.178, allocations: 4.02 MB / 1.323 GB, free: 13.42 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001787/1.178, allocations: 54.14 kB / 1.323 GB, free: 13.39 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009549/1.179, allocations: 1.28 MB / 1.325 GB, free: 13.13 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003482/1.179, allocations: 375.2 kB / 1.325 GB, free: 12.9 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002983/1.179, allocations: 217.5 kB / 1.325 GB, free: 12.88 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001304/1.18, allocations: 357.5 kB / 1.326 GB, free: 12.57 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008911/1.181, allocations: 0.4954 MB / 1.326 GB, free: 12.57 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/1.182, allocations: 0.7491 MB / 1.327 GB, free: 12.32 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001795/1.183, allocations: 1.261 MB / 1.328 GB, free: 12.09 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/1.183, allocations: 2.094 kB / 1.328 GB, free: 12.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003262/1.187, allocations: 1.777 MB / 1.33 GB, free: 11.85 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/1.187, allocations: 7.562 kB / 1.33 GB, free: 11.85 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/1.187, allocations: 6.031 kB / 1.33 GB, free: 11.85 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005786/1.187, allocations: 225.2 kB / 1.33 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008608/1.188, allocations: 246.5 kB / 1.33 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004251/1.192, allocations: 4.618 MB / 1.335 GB, free: 8.027 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/1.194, allocations: 146.4 kB / 1.335 GB, free: 7.945 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/1.194, allocations: 49.52 kB / 1.335 GB, free: 7.934 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.001542/1.196, allocations: 0.8082 MB / 1.336 GB, free: 7.617 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004874/1.196, allocations: 276.1 kB / 1.336 GB, free: 7.469 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002888/1.199, allocations: 1.655 MB / 1.338 GB, free: 6.828 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/1.199, allocations: 13.09 kB / 1.338 GB, free: 6.828 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.199, allocations: 2.062 kB / 1.338 GB, free: 6.828 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002184/1.201, allocations: 1.44 MB / 1.339 GB, free: 6.148 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00599/1.207, allocations: 3.61 MB / 1.343 GB, free: 4.629 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/1.207, allocations: 0 / 1.343 GB, free: 4.629 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009654/1.208, allocations: 173 kB / 1.343 GB, free: 4.621 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005802/1.209, allocations: 206.2 kB / 1.343 GB, free: 4.555 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.738e-05/1.209, allocations: 32.11 kB / 1.343 GB, free: 4.539 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004534/1.214, allocations: 4.655 MB / 1.348 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.214, allocations: 0 / 1.348 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003964/1.218, allocations: 2.344 MB / 1.35 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008467/1.218, allocations: 436.8 kB / 1.35 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002353/1.219, allocations: 28.88 kB / 1.35 GB, free: 15.35 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007799/1.219, allocations: 55.94 kB / 1.35 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002365/1.22, allocations: 95.92 kB / 1.35 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.802e-05/1.22, allocations: 42.27 kB / 1.35 GB, free: 15.3 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.003466/1.223, allocations: 2.916 MB / 1.353 GB, free: 14.39 MB / 1.029 GB Notification: Performance of sort global known variables: time 5.71e-07/1.223, allocations: 2.812 kB / 1.353 GB, free: 14.39 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001772/1.225, allocations: 0.5121 MB / 1.354 GB, free: 14.29 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.001401/1.226, allocations: 0.6063 MB / 1.354 GB, free: 14.03 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003814/1.23, allocations: 1.825 MB / 1.356 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/1.23, allocations: 0 / 1.356 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001369/1.232, allocations: 0.9296 MB / 1.357 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002603/1.234, allocations: 0.5987 MB / 1.358 GB, free: 12.34 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007496/1.242, allocations: 5.726 MB / 1.363 GB, free: 9.395 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001427/1.243, allocations: 1.924 MB / 1.365 GB, free: 8.109 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001076/1.244, allocations: 322.4 kB / 1.365 GB, free: 7.969 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000286/1.245, allocations: 119.9 kB / 1.366 GB, free: 7.941 MB / 1.029 GB Notification: Performance of SimCode: time 5.71e-07/1.245, allocations: 0 / 1.366 GB, free: 7.941 MB / 1.029 GB Notification: Performance of Templates: time 0.04449/1.289, allocations: 25.73 MB / 1.391 GB, free: 15.77 MB / 1.061 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)