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.791/1.791, allocations: 289.7 MB / 302.2 MB, free: 2.102 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.001231/0.001231, allocations: 184.3 kB / 371.6 MB, free: 3.371 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.241/2.241, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.001028/0.001029, allocations: 90.12 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.685e-05/3.686e-05, allocations: 4 kB / 0.8662 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3326, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.738/8.071, allocations: 2.355 GB / 3.335 GB, free: 211 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/8.071, allocations: 85.05 kB / 3.335 GB, free: 211 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.47/10.54, allocations: 0.6297 GB / 3.965 GB, free: 156.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.174e-06/10.54, allocations: 0 / 3.965 GB, free: 156.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002691/10.54, allocations: 61.88 kB / 3.965 GB, free: 156.6 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.006934/10.55, allocations: 2.644 MB / 3.967 GB, free: 155.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/10.55, allocations: 9.641 kB / 3.967 GB, free: 155.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002552/10.55, allocations: 456.7 kB / 3.968 GB, free: 155.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007658/10.56, allocations: 2.669 MB / 3.971 GB, free: 155 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/10.56, allocations: 145.5 kB / 3.971 GB, free: 154.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002403/10.56, allocations: 129.5 kB / 3.971 GB, free: 154.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002501/10.56, allocations: 1.4 MB / 3.972 GB, free: 154.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.19e-05/10.56, allocations: 2.219 kB / 3.972 GB, free: 154.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/10.56, allocations: 48.84 kB / 3.972 GB, free: 154.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.371e-05/10.56, allocations: 49.41 kB / 3.972 GB, free: 154.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001782/10.56, allocations: 1.114 MB / 3.973 GB, free: 154.8 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.009989/10.57, allocations: 6.652 MB / 3.98 GB, free: 152.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/10.58, allocations: 1.107 MB / 3.981 GB, free: 152.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008408/10.58, allocations: 0.5947 MB / 3.981 GB, free: 152.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004101/10.58, allocations: 297.4 kB / 3.982 GB, free: 151.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009262/10.58, allocations: 0.6044 MB / 3.982 GB, free: 151.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=113): time 6.492e-06/10.58, allocations: 0 / 3.982 GB, free: 151.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=113): time 0.00327/10.58, allocations: 1.447 MB / 3.984 GB, free: 151.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/10.58, allocations: 64.75 kB / 3.984 GB, free: 151.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006199/10.59, allocations: 3.535 MB / 3.987 GB, free: 151.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002933/10.59, allocations: 59.45 kB / 3.987 GB, free: 151.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009887/10.59, allocations: 1.283 MB / 3.989 GB, free: 150.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004011/10.59, allocations: 365.8 kB / 3.989 GB, free: 150.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.337e-05/10.59, allocations: 24.75 kB / 3.989 GB, free: 150.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.997e-05/10.59, allocations: 360.7 kB / 3.989 GB, free: 150.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006735/10.59, allocations: 433.6 kB / 3.99 GB, free: 150.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007633/10.59, allocations: 0.686 MB / 3.99 GB, free: 150.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008015/10.59, allocations: 0.5241 MB / 3.991 GB, free: 150.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/10.59, allocations: 3.094 kB / 3.991 GB, free: 150.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002843/10.59, allocations: 1.64 MB / 3.993 GB, free: 149.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/10.59, allocations: 7.781 kB / 3.993 GB, free: 149.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/10.59, allocations: 7.469 kB / 3.993 GB, free: 149.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005653/10.6, allocations: 224.7 kB / 3.993 GB, free: 149.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008738/10.6, allocations: 249.6 kB / 3.993 GB, free: 149.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003579/10.6, allocations: 4.183 MB / 3.997 GB, free: 147.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/10.6, allocations: 198.8 kB / 3.997 GB, free: 147.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/10.6, allocations: 56.08 kB / 3.997 GB, free: 147.1 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.0003927/10.6, allocations: 195.3 kB / 3.997 GB, free: 147 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00059/10.6, allocations: 289.4 kB / 3.998 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003399/10.61, allocations: 1.574 MB / 3.999 GB, free: 146.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/10.61, allocations: 11.28 kB / 3.999 GB, free: 146.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/10.61, allocations: 6.812 kB / 3.999 GB, free: 146.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001924/10.61, allocations: 1.349 MB / 4.001 GB, free: 146.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008802/10.62, allocations: 4.045 MB / 4.005 GB, free: 145.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/10.62, allocations: 10 kB / 4.005 GB, free: 145.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007846/10.62, allocations: 175.6 kB / 4.005 GB, free: 145.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005181/10.62, allocations: 215.7 kB / 4.005 GB, free: 145.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/10.62, allocations: 31.95 kB / 4.005 GB, free: 145.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003728/10.62, allocations: 4.198 MB / 4.009 GB, free: 143.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/10.62, allocations: 0 / 4.009 GB, free: 143.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004519/10.63, allocations: 2.348 MB / 4.011 GB, free: 142.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00218/10.63, allocations: 0.6413 MB / 4.012 GB, free: 142.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009037/10.63, allocations: 34 kB / 4.012 GB, free: 142.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001901/10.63, allocations: 111 kB / 4.012 GB, free: 142.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003186/10.63, allocations: 105.6 kB / 4.012 GB, free: 142.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/10.63, allocations: 45.56 kB / 4.012 GB, free: 142.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006796/10.64, allocations: 2.802 MB / 4.015 GB, free: 142.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.8e-07/10.64, allocations: 0 / 4.015 GB, free: 142.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004079/10.64, allocations: 0.7845 MB / 4.016 GB, free: 142.2 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.003526/10.65, allocations: 1.717 MB / 4.017 GB, free: 141.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003111/10.65, allocations: 1.408 MB / 4.019 GB, free: 141.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/10.65, allocations: 3.125 kB / 4.019 GB, free: 141.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001744/10.65, allocations: 0.882 MB / 4.02 GB, free: 141.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003886/10.66, allocations: 0.5372 MB / 4.02 GB, free: 141.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01801/10.67, allocations: 5.006 MB / 4.025 GB, free: 140.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004296/10.68, allocations: 1.981 MB / 4.027 GB, free: 139.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003437/10.68, allocations: 435.3 kB / 4.027 GB, free: 139.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001273/10.68, allocations: 158.1 kB / 4.028 GB, free: 139.5 MB / 0.948 GB Notification: Performance of SimCode: time 2.494e-06/10.68, allocations: 0 / 4.028 GB, free: 139.5 MB / 0.948 GB Notification: Performance of Templates: time 0.1297/10.81, allocations: 47.34 MB / 4.074 GB, free: 137 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)