Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20160,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20160,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001269/0.00127, allocations: 109.1 kB / 16.42 MB, free: 6.461 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.00102/0.00102, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.328/1.328, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002066/0.002066, allocations: 288.2 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9407/0.9407, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 91.86 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3775, allocations: 86.97 MB / 0.7671 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain): time 0.5347/0.9122, allocations: 202.1 MB / 0.9644 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01274/0.925, allocations: 10.17 MB / 0.9744 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001774/0.9268, allocations: 67.19 kB / 0.9744 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002759/0.9296, allocations: 2.736 MB / 0.9771 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004097/0.9337, allocations: 2.821 MB / 0.9798 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002993/0.9367, allocations: 1.475 MB / 0.9813 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003263/0.94, allocations: 4.004 MB / 0.9852 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002033/0.942, allocations: 2.142 MB / 0.9873 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002494/0.9445, allocations: 1.736 MB / 0.989 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002263/0.9468, allocations: 2.335 MB / 0.9913 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002809/0.9471, allocations: 187.1 kB / 0.9914 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002539/0.9497, allocations: 1.508 MB / 0.9929 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005992/0.9503, allocations: 0.8908 MB / 0.9938 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009438/0.9512, allocations: 1.285 MB / 0.995 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003063/0.9543, allocations: 3.767 MB / 0.9987 GB, free: 388 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.9543, allocations: 7.531 kB / 0.9987 GB, free: 384 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.012e-06/0.9543, allocations: 3.938 kB / 0.9987 GB, free: 380 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.119e-05/0.9544, allocations: 1.031 kB / 0.9987 GB, free: 380 kB / 0.7169 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.004422/0.9588, allocations: 3.29 MB / 1.002 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.9588, allocations: 6.688 kB / 1.002 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001596/0.9604, allocations: 457.7 kB / 1.002 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002144/0.9626, allocations: 1.594 MB / 1.004 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001553/0.9628, allocations: 134.8 kB / 1.004 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/0.9629, allocations: 138.9 kB / 1.004 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0023/0.9652, allocations: 1.519 MB / 1.006 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/0.9653, allocations: 0 / 1.006 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/0.9654, allocations: 55.64 kB / 1.006 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.782e-05/0.9655, allocations: 49 kB / 1.006 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001929/0.9674, allocations: 1.252 MB / 1.007 GB, free: 13.66 MB / 0.7325 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.007872/0.9753, allocations: 6.51 MB / 1.013 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002035/0.9773, allocations: 1.2 MB / 1.015 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001041/0.9784, allocations: 0.6782 MB / 1.015 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004045/0.9788, allocations: 294.7 kB / 1.015 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001093/0.9799, allocations: 0.682 MB / 1.016 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=114): time 3.156e-06/0.9799, allocations: 2.438 kB / 1.016 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of matching and sorting (n=114): time 0.004625/0.9845, allocations: 2.373 MB / 1.018 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.9846, allocations: 69.09 kB / 1.019 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003618/0.9882, allocations: 4.018 MB / 1.022 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.811e-05/0.9883, allocations: 54.58 kB / 1.023 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008459/0.9892, allocations: 1.287 MB / 1.024 GB, free: 9.492 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002914/0.9895, allocations: 372.2 kB / 1.024 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002948/0.9898, allocations: 213.8 kB / 1.024 GB, free: 9.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.9899, allocations: 356.2 kB / 1.025 GB, free: 8.941 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008746/0.9908, allocations: 0.4929 MB / 1.025 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.9918, allocations: 0.7556 MB / 1.026 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001836/0.9937, allocations: 1.258 MB / 1.027 GB, free: 8.465 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.9937, allocations: 2.375 kB / 1.027 GB, free: 8.465 MB / 0.7325 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002857/0.9966, allocations: 1.774 MB / 1.029 GB, free: 8.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.9966, allocations: 7.719 kB / 1.029 GB, free: 8.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.9966, allocations: 9.219 kB / 1.029 GB, free: 8.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005702/0.9972, allocations: 225.8 kB / 1.029 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008982/0.9981, allocations: 247.7 kB / 1.029 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004384/1.002, allocations: 4.607 MB / 1.034 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/1.004, allocations: 142.1 kB / 1.034 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-05/1.004, allocations: 49.64 kB / 1.034 GB, free: 4.246 MB / 0.7325 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.001136/1.005, allocations: 0.8149 MB / 1.035 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003036/1.005, allocations: 272.4 kB / 1.035 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002792/1.008, allocations: 1.653 MB / 1.037 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002354/1.01, allocations: 1.437 MB / 1.038 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/1.01, allocations: 4 kB / 1.038 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007116/1.011, allocations: 437.2 kB / 1.038 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002258/1.011, allocations: 24 kB / 1.039 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007344/1.012, allocations: 55.95 kB / 1.039 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001944/1.012, allocations: 96.84 kB / 1.039 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003448/1.016, allocations: 1.632 MB / 1.04 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003432/1.019, allocations: 2.282 MB / 1.042 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009196/1.02, allocations: 0.5778 MB / 1.043 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003157/1.023, allocations: 2.923 MB / 1.046 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of Backend: time 1.723e-06/1.023, allocations: 0 / 1.046 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.004722/1.028, allocations: 2.363 MB / 1.048 GB, free: 7.285 MB / 0.7481 GB Notification: Performance of SimCode: time 0.008077/1.036, allocations: 5.853 MB / 1.054 GB, free: 1.43 MB / 0.7481 GB Notification: Performance of Templates: time 0.04818/1.084, allocations: 28.79 MB / 1.082 GB, free: 5.023 MB / 0.7794 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe 2>&1)