Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.602/1.602, allocations: 289.9 MB / 297.4 MB, free: 6.363 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 172.8 kB / 366.7 MB, free: 1.66 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205.2 MB / 0.626 GB, free: 7.184 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008467/0.0008468, allocations: 95.45 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.768e-05/1.785e-05, allocations: 0 / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6549/0.6549, allocations: 116.3 MB / 0.9732 GB, free: 76.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.492/6.147, allocations: 2.355 GB / 3.328 GB, free: 85.75 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/6.148, allocations: 86.89 kB / 3.328 GB, free: 85.71 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.302/8.449, allocations: 0.6229 GB / 3.951 GB, free: 198.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.563e-06/8.449, allocations: 5.141 kB / 3.951 GB, free: 198.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003674/8.449, allocations: 56.19 kB / 3.951 GB, free: 198.1 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 313 * Number of variables: 313 Notification: Performance of Generate backend data structure: time 0.005975/8.455, allocations: 2.638 MB / 3.953 GB, free: 196.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/8.456, allocations: 15.83 kB / 3.953 GB, free: 196.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002134/8.458, allocations: 455.5 kB / 3.954 GB, free: 196 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006158/8.464, allocations: 2.662 MB / 3.956 GB, free: 194.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001551/8.464, allocations: 98.7 kB / 3.957 GB, free: 194.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003274/8.464, allocations: 78.97 kB / 3.957 GB, free: 194.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002019/8.466, allocations: 1.041 MB / 3.958 GB, free: 193.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002203/8.469, allocations: 1.226 MB / 3.959 GB, free: 192.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.776e-05/8.469, allocations: 0 / 3.959 GB, free: 192.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/8.469, allocations: 7.984 kB / 3.959 GB, free: 192.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.829e-05/8.469, allocations: 42.42 kB / 3.959 GB, free: 192.1 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.009301/8.478, allocations: 6.419 MB / 3.965 GB, free: 185.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/8.48, allocations: 1.056 MB / 3.966 GB, free: 184.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007655/8.48, allocations: 0.563 MB / 3.967 GB, free: 183.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003967/8.481, allocations: 296.4 kB / 3.967 GB, free: 183.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007918/8.482, allocations: 0.5779 MB / 3.968 GB, free: 182.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=113): time 3.476e-06/8.482, allocations: 4 kB / 3.968 GB, free: 182.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=113): time 0.002839/8.484, allocations: 1.409 MB / 3.969 GB, free: 181.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/8.485, allocations: 72.66 kB / 3.969 GB, free: 181.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004649/8.489, allocations: 3.361 MB / 3.972 GB, free: 177.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001077/8.489, allocations: 33.7 kB / 3.972 GB, free: 177.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009224/8.49, allocations: 1.298 MB / 3.974 GB, free: 176.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002894/8.491, allocations: 358.7 kB / 3.974 GB, free: 176.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.226e-05/8.491, allocations: 0 / 3.974 GB, free: 176.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001055/8.491, allocations: 353.9 kB / 3.974 GB, free: 175.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005459/8.491, allocations: 406.5 kB / 3.975 GB, free: 175.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000709/8.492, allocations: 0.6622 MB / 3.975 GB, free: 174.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009225/8.493, allocations: 0.5254 MB / 3.976 GB, free: 174.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/8.493, allocations: 7.172 kB / 3.976 GB, free: 174.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002389/8.495, allocations: 1.555 MB / 3.977 GB, free: 172.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/8.495, allocations: 8 kB / 3.977 GB, free: 172.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/8.495, allocations: 8 kB / 3.977 GB, free: 172.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005526/8.496, allocations: 215.3 kB / 3.978 GB, free: 172.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008694/8.497, allocations: 243.6 kB / 3.978 GB, free: 172.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003381/8.5, allocations: 4.028 MB / 3.982 GB, free: 167.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/8.502, allocations: 174.9 kB / 3.982 GB, free: 167.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.989e-05/8.502, allocations: 48.08 kB / 3.982 GB, free: 167.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition8,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.ventRate.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y,mean.y,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,ventRate.nextTimeEvent,$PRE.ventRate.nextTimeEventScaled,ventRate.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 15,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002135/8.502, allocations: 158 kB / 3.982 GB, free: 167.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003184/8.502, allocations: 280.6 kB / 3.982 GB, free: 167.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002517/8.505, allocations: 1.514 MB / 3.984 GB, free: 165.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/8.505, allocations: 15.95 kB / 3.984 GB, free: 165.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/8.505, allocations: 4 kB / 3.984 GB, free: 165.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00166/8.506, allocations: 1.307 MB / 3.985 GB, free: 164.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005326/8.512, allocations: 3.838 MB / 3.989 GB, free: 160.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/8.512, allocations: 0 / 3.989 GB, free: 160.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007544/8.513, allocations: 175.8 kB / 3.989 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004342/8.513, allocations: 203.3 kB / 3.989 GB, free: 160 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.751e-05/8.513, allocations: 19.97 kB / 3.989 GB, free: 160 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002969/8.516, allocations: 4.048 MB / 3.993 GB, free: 155.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/8.516, allocations: 3.984 kB / 3.993 GB, free: 155.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002875/8.519, allocations: 2.288 MB / 3.996 GB, free: 153.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/8.52, allocations: 0.6223 MB / 3.996 GB, free: 152.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002742/8.52, allocations: 19.95 kB / 3.996 GB, free: 152.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009147/8.521, allocations: 103.8 kB / 3.996 GB, free: 152.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/8.521, allocations: 109.1 kB / 3.996 GB, free: 152.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.945e-05/8.521, allocations: 39.98 kB / 3.996 GB, free: 152.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002676/8.524, allocations: 2.622 MB / 3.999 GB, free: 149.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.01e-07/8.524, allocations: 0 / 3.999 GB, free: 149.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00193/8.526, allocations: 0.7214 MB / 4 GB, free: 149.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 7 (thermalZoneTwoElements.volMoiAir.dynBal.U,thermalZoneTwoElements.volMoiAir.dynBal.m,thermalZoneTwoElements.volMoiAir.dynBal.mXi[1],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) * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 15,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002281/8.528, allocations: 1.851 MB / 4.001 GB, free: 147.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001764/8.53, allocations: 1.32 MB / 4.003 GB, free: 146.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/8.53, allocations: 4.125 kB / 4.003 GB, free: 146.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009298/8.531, allocations: 0.8321 MB / 4.004 GB, free: 145.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/8.533, allocations: 0.5142 MB / 4.004 GB, free: 144.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006277/8.54, allocations: 4.95 MB / 4.009 GB, free: 139.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/8.541, allocations: 1.985 MB / 4.011 GB, free: 137.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001064/8.542, allocations: 434 kB / 4.011 GB, free: 137.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003934/8.542, allocations: 159.3 kB / 4.011 GB, free: 137.1 MB / 0.948 GB Notification: Performance of SimCode: time 7.11e-07/8.542, allocations: 0 / 4.011 GB, free: 137.1 MB / 0.948 GB Notification: Performance of Templates: time 0.05018/8.593, allocations: 33 MB / 4.044 GB, free: 104.3 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.makefile (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.sim & ./Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe 2>&1)