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.CoolingModeNonIntegrated.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: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.665/1.665, allocations: 249.3 MB / 261.8 MB, free: 5.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 174.7 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.914/1.914, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.001/0.001, allocations: 88.05 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.909e-05/3.913e-05, allocations: 4 kB / 0.788 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2699, allocations: 106.3 MB / 0.8919 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8628/1.133, allocations: 139.5 MB / 1.028 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/1.133, allocations: 98.12 kB / 1.028 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02847/1.162, allocations: 9.874 MB / 1.038 GB, free: 2.855 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.904e-06/1.162, allocations: 0 / 1.038 GB, free: 2.855 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.265e-05/1.162, allocations: 12 kB / 1.038 GB, free: 2.844 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001794/1.164, allocations: 0.7014 MB / 1.039 GB, free: 2.113 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.891e-05/1.164, allocations: 12.03 kB / 1.039 GB, free: 2.102 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002139/1.164, allocations: 68.03 kB / 1.039 GB, free: 2.043 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002877/1.164, allocations: 47.44 kB / 1.039 GB, free: 1.996 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009857/1.165, allocations: 374.7 kB / 1.039 GB, free: 1.645 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.315e-05/1.165, allocations: 30.72 kB / 1.039 GB, free: 1.629 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.682e-05/1.165, allocations: 38.86 kB / 1.039 GB, free: 1.602 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008177/1.166, allocations: 383.9 kB / 1.04 GB, free: 1.316 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/1.166, allocations: 0 / 1.04 GB, free: 1.316 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.147e-05/1.166, allocations: 17.33 kB / 1.04 GB, free: 1.309 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-05/1.166, allocations: 16.22 kB / 1.04 GB, free: 1.297 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005697/1.167, allocations: 266.7 kB / 1.04 GB, free: 1.129 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002377/1.169, allocations: 1.127 MB / 1.041 GB, free: 224 kB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006177/1.17, allocations: 298.5 kB / 1.041 GB, free: 20 kB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002852/1.17, allocations: 142.5 kB / 1.041 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.918e-05/1.17, allocations: 7.984 kB / 1.041 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004264/1.171, allocations: 214.9 kB / 1.042 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=39): time 4.138e-06/1.171, allocations: 0 / 1.042 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of matching and sorting (n=39): time 0.0007562/1.171, allocations: 327.8 kB / 1.042 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/1.172, allocations: 114.6 kB / 1.042 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005999/1.172, allocations: 366.3 kB / 1.042 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.945e-05/1.172, allocations: 43.95 kB / 1.042 GB, free: 15.03 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/1.172, allocations: 208.5 kB / 1.043 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/1.173, allocations: 91.09 kB / 1.043 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/1.173, allocations: 11.31 kB / 1.043 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002089/1.173, allocations: 346.2 kB / 1.043 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002624/1.173, allocations: 129.5 kB / 1.043 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003572/1.173, allocations: 243.7 kB / 1.043 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/1.174, allocations: 150.5 kB / 1.043 GB, free: 14.06 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/1.174, allocations: 4 kB / 1.043 GB, free: 14.06 MB / 0.6667 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008447/1.175, allocations: 442.7 kB / 1.044 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.637e-05/1.175, allocations: 35.41 kB / 1.044 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/1.175, allocations: 4 kB / 1.044 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.723e-05/1.175, allocations: 11.89 kB / 1.044 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003619/1.175, allocations: 75.27 kB / 1.044 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.918e-05/1.175, allocations: 4 kB / 1.044 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003941/1.176, allocations: 62.67 kB / 1.044 GB, free: 13.54 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.397e-05/1.176, allocations: 15.31 kB / 1.044 GB, free: 13.52 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 47 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$whenCondition4,$PRE.chiNumOn.combiTimeTable.nextTimeEvent,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.cooModCon.freCoo.localActive,cooModCon.freCoo.localActive,$PRE.cooModCon.freCoo.newActive,cooModCon.freCoo.newActive,$PRE.cooModCon.freCoo.oldActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,$PRE.cooModCon.fulMecCoo.localActive,cooModCon.fulMecCoo.localActive,$PRE.cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.newActive,$PRE.cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con1.enableFire,cooModCon.con1.fire,$PRE.cooModCon.con1.t_start,cooModCon.con1.t_start,cooModCon.con1.condition,$PRE.cooModCon.swi.y,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,cooModCon.con2.enableFire,cooModCon.con2.fire,$PRE.cooModCon.con2.t_start,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.stateGraphRoot.activeSteps,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,$PRE.chiNumOn.combiTimeTable.nextTimeEventScaled,chiNumOn.combiTimeTable.nextTimeEventScaled,cooModCon.swi.expr[1],cooModCon.swi.expr[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002117/1.176, allocations: 155 kB / 1.044 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/1.176, allocations: 39.52 kB / 1.044 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007894/1.177, allocations: 364.5 kB / 1.045 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/1.177, allocations: 7.953 kB / 1.045 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/1.177, allocations: 0 / 1.045 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/1.177, allocations: 3.984 kB / 1.045 GB, free: 13.06 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/1.179, allocations: 0.9346 MB / 1.046 GB, free: 12.28 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/1.179, allocations: 11.89 kB / 1.046 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/1.179, allocations: 43.22 kB / 1.046 GB, free: 12.23 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/1.179, allocations: 0 / 1.046 GB, free: 12.23 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.171e-05/1.179, allocations: 11.36 kB / 1.046 GB, free: 12.22 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/1.179, allocations: 0 / 1.046 GB, free: 12.22 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/1.179, allocations: 11.92 kB / 1.046 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000698/1.18, allocations: 438.6 kB / 1.046 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001721/1.18, allocations: 124.5 kB / 1.046 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.906e-05/1.18, allocations: 15.44 kB / 1.046 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003252/1.18, allocations: 43.58 kB / 1.046 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001914/1.181, allocations: 61.41 kB / 1.046 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-05/1.181, allocations: 11.94 kB / 1.046 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003822/1.181, allocations: 266.1 kB / 1.047 GB, free: 11.4 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.61e-07/1.181, allocations: 0 / 1.047 GB, free: 11.4 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006548/1.182, allocations: 126.4 kB / 1.047 GB, free: 11.3 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 30 (cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,$cse2,$cse3,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.freCoo.newActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con1.fire,cooModCon.con1.t_start,cooModCon.con1.condition,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,cooModCon.con2.fire,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.stateGraphRoot.activeSteps,TCHWSup.T_start,TCHWSup.count,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,chiNumOn.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 6 (chiNumOn.combiTimeTable.nextTimeEvent,TCHWSup.count,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y,chiNumOn.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002286/1.184, allocations: 1.285 MB / 1.048 GB, free: 10.17 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0008273/1.185, allocations: 396.2 kB / 1.048 GB, free: 9.863 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/1.185, allocations: 0 / 1.048 GB, free: 9.863 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002672/1.185, allocations: 173.1 kB / 1.048 GB, free: 9.742 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004953/1.186, allocations: 73 kB / 1.049 GB, free: 9.691 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/1.187, allocations: 0.6318 MB / 1.049 GB, free: 9.121 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007342/1.188, allocations: 0.8276 MB / 1.05 GB, free: 8.273 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000301/1.189, allocations: 63.25 kB / 1.05 GB, free: 8.215 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002989/1.189, allocations: 137.8 kB / 1.05 GB, free: 8.168 MB / 0.6667 GB Notification: Performance of SimCode: time 1.503e-06/1.189, allocations: 4 kB / 1.05 GB, free: 8.164 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03126/1.22, allocations: 9.096 MB / 1.059 GB, free: 15.28 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002328/1.22, allocations: 245.6 kB / 1.059 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.318/3.538, allocations: 4 kB / 1.059 GB, free: 14.94 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated.fmu > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe 2>&1)