Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.357/1.357, allocations: 251.5 MB / 267.4 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00105/0.00105, allocations: 183.6 kB / 326.5 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 205 MB / 0.5766 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008194/0.0008197, allocations: 84.59 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003108/0.0003109, allocations: 12.25 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1757, allocations: 105.4 MB / 0.8968 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode): time 0.001982/0.1777, allocations: 1.925 MB / 0.8986 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.1792, allocations: 0.959 MB / 0.8996 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002335/0.1795, allocations: 8 kB / 0.8996 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000193/0.1797, allocations: 39.66 kB / 0.8996 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001976/0.1799, allocations: 47.62 kB / 0.8997 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004631/0.1803, allocations: 211.8 kB / 0.8999 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005061/0.1809, allocations: 0.593 MB / 0.9004 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004396/0.1813, allocations: 339.8 kB / 0.9008 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001909/0.1815, allocations: 167.3 kB / 0.9009 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.1817, allocations: 187 kB / 0.9011 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.974e-05/0.1818, allocations: 24 kB / 0.9011 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.991e-05/0.1819, allocations: 32 kB / 0.9012 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.961e-05/0.182, allocations: 91.59 kB / 0.9013 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.1821, allocations: 194.8 kB / 0.9014 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003774/0.1825, allocations: 0.5917 MB / 0.902 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1825, allocations: 4 kB / 0.902 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1825, allocations: 0 / 0.902 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.1826, allocations: 4 kB / 0.902 GB, free: 62.78 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001002/0.1836, allocations: 0.6562 MB / 0.9027 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.1836, allocations: 12.03 kB / 0.9027 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/0.1838, allocations: 52.38 kB / 0.9027 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.1842, allocations: 343.5 kB / 0.9031 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.965e-05/0.1842, allocations: 45.38 kB / 0.9031 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.179e-05/0.1843, allocations: 52.38 kB / 0.9031 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008599/0.1852, allocations: 0.5294 MB / 0.9037 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.1852, allocations: 0 / 0.9037 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.1852, allocations: 16 kB / 0.9037 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.802e-05/0.1853, allocations: 32.94 kB / 0.9037 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007837/0.1861, allocations: 451.8 kB / 0.9041 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/0.1878, allocations: 1.414 MB / 0.9055 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006495/0.1885, allocations: 424.8 kB / 0.9059 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003057/0.1888, allocations: 206.1 kB / 0.9061 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.544e-05/0.1888, allocations: 16.36 kB / 0.9061 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004183/0.1893, allocations: 277.2 kB / 0.9064 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=52): time 2.084e-06/0.1893, allocations: 0 / 0.9064 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=52): time 0.0009442/0.1902, allocations: 0.5612 MB / 0.907 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.1903, allocations: 67.78 kB / 0.907 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.1905, allocations: 272.6 kB / 0.9073 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.211e-05/0.1905, allocations: 49.7 kB / 0.9073 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.646e-05/0.1906, allocations: 197.2 kB / 0.9075 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.979e-05/0.1907, allocations: 126.3 kB / 0.9076 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.514e-05/0.1908, allocations: 93.66 kB / 0.9077 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.119e-05/0.1908, allocations: 350.7 kB / 0.9081 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003298/0.1912, allocations: 189.2 kB / 0.9082 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000349/0.1915, allocations: 282 kB / 0.9085 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005546/0.1921, allocations: 417 kB / 0.9089 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.1921, allocations: 4 kB / 0.9089 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0008088/0.1929, allocations: 0.5726 MB / 0.9095 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.193, allocations: 33.7 kB / 0.9095 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.193, allocations: 0 / 0.9095 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.193, allocations: 8 kB / 0.9095 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.1933, allocations: 68.05 kB / 0.9096 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.1933, allocations: 19.88 kB / 0.9096 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003371/0.1936, allocations: 111.2 kB / 0.9097 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.255e-05/0.1937, allocations: 27.98 kB / 0.9097 GB, free: 54.58 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$PRE.cooModCon.con3.enableFire,$PRE.cooModCon.con4.enableFire,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,cooModCon.swi.expr[3],cooModCon.swi.expr[2],cooModCon.swi.expr[1],cooModCon.con3.condition,TCHWLeaWSE.count,$PRE.TCHWLeaWSE.count,TCHWLeaWSE.T_start,$PRE.TCHWLeaWSE.T_start,cooModCon.swi.firstActiveIndex,cooModCon.swi.y,$PRE.cooModCon.swi.y,cooModCon.stateGraphRoot.activeSteps,cooModCon.con4.t_start,$PRE.cooModCon.con4.t_start,cooModCon.con4.fire,cooModCon.con4.enableFire,cooModCon.con4.condition,cooModCon.con3.t_start,$PRE.cooModCon.con3.t_start,cooModCon.con3.fire,cooModCon.con3.enableFire,cooModCon.con2.t_start,$PRE.cooModCon.con2.t_start,cooModCon.con2.fire,cooModCon.con2.enableFire,cooModCon.con2.condition,cooModCon.fulMecCoo.active,cooModCon.fulMecCoo.oldActive,$PRE.cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.newActive,$PRE.cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.localActive,$PRE.cooModCon.fulMecCoo.localActive,cooModCon.freCoo.active,cooModCon.freCoo.oldActive,$PRE.cooModCon.freCoo.oldActive,cooModCon.freCoo.newActive,$PRE.cooModCon.freCoo.newActive,cooModCon.freCoo.localActive,$PRE.cooModCon.freCoo.localActive,cooModCon.parMecCoo.active,cooModCon.parMecCoo.oldActive,$PRE.cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.newActive,$PRE.cooModCon.parMecCoo.newActive,cooModCon.parMecCoo.outPort[2].available,cooModCon.parMecCoo.inPort[2].occupied,cooModCon.parMecCoo.localActive,$PRE.cooModCon.parMecCoo.localActive,cooModCon.con1.t_start,$PRE.cooModCon.con1.t_start,cooModCon.con1.fire,cooModCon.con1.enableFire,cooModCon.con1.condition,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001899/0.1939, allocations: 225.7 kB / 0.9099 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.1939, allocations: 27.62 kB / 0.91 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00073/0.1946, allocations: 0.4913 MB / 0.9104 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.1947, allocations: 0 / 0.9104 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1947, allocations: 7.922 kB / 0.9105 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.052e-05/0.1947, allocations: 112.6 kB / 0.9106 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.591e-05/0.1948, allocations: 12 kB / 0.9106 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.195, allocations: 55.95 kB / 0.9106 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.1952, allocations: 72.41 kB / 0.9107 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008371/0.196, allocations: 0.5769 MB / 0.9113 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006658/0.1967, allocations: 0.6273 MB / 0.9119 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003104/0.197, allocations: 236.4 kB / 0.9121 GB, free: 52.09 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.982e-05/0.1971, allocations: 168.4 kB / 0.9123 GB, free: 51.92 MB / 0.6042 GB Notification: Performance of Backend: time 2.5e-07/0.1971, allocations: 0 / 0.9123 GB, free: 51.92 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007849/0.1979, allocations: 461.5 kB / 0.9127 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0009111/0.1988, allocations: 1.173 MB / 0.9138 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of Templates: time 0.008024/0.2069, allocations: 4.947 MB / 0.9187 GB, free: 45.35 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe 2>&1)