Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.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: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.723/1.723, allocations: 289.9 MB / 297.4 MB, free: 6.398 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.001272/0.001273, allocations: 184.8 kB / 366.7 MB, free: 1.672 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.857/1.857, allocations: 205.2 MB / 0.626 GB, free: 7.137 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.001152/0.001152, allocations: 95.08 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.521e-05/2.515e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7679/0.768, allocations: 116.3 MB / 0.9733 GB, free: 76.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2044/0.9724, allocations: 141.2 MB / 1.111 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.9727, allocations: 96.42 kB / 1.111 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01295/0.9857, allocations: 4.623 MB / 1.116 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.192e-06/0.9857, allocations: 4 kB / 1.116 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.187e-05/0.9858, allocations: 4 kB / 1.116 GB, free: 4.215 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0008541/0.9866, allocations: 0.4991 MB / 1.116 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.9867, allocations: 8.031 kB / 1.116 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.9868, allocations: 45.94 kB / 1.116 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003926/0.9872, allocations: 263.5 kB / 1.117 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.9873, allocations: 8 kB / 1.117 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.376e-05/0.9873, allocations: 24 kB / 1.117 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004317/0.9878, allocations: 197 kB / 1.117 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004775/0.9883, allocations: 258.5 kB / 1.117 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.9883, allocations: 5.391 kB / 1.117 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/0.9883, allocations: 0 / 1.117 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.9883, allocations: 11.95 kB / 1.117 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.99, allocations: 0.8959 MB / 1.118 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004336/0.9904, allocations: 229.6 kB / 1.118 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.9906, allocations: 94.75 kB / 1.118 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.9906, allocations: 4.219 kB / 1.118 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002185/0.9908, allocations: 139.6 kB / 1.118 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=30): time 3.928e-06/0.9909, allocations: 3.984 kB / 1.118 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30): time 0.0004086/0.9913, allocations: 202.6 kB / 1.119 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.9913, allocations: 55.41 kB / 1.119 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.9915, allocations: 175 kB / 1.119 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.851e-05/0.9916, allocations: 29.7 kB / 1.119 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.9917, allocations: 156.8 kB / 1.119 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.267e-05/0.9918, allocations: 75.05 kB / 1.119 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.393e-05/0.9918, allocations: 1.875 kB / 1.119 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.9919, allocations: 334.8 kB / 1.119 GB, free: 360 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.9921, allocations: 76 kB / 1.119 GB, free: 284 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.9923, allocations: 125.1 kB / 1.12 GB, free: 140 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.9924, allocations: 79.47 kB / 1.12 GB, free: 60 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.9924, allocations: 0 / 1.12 GB, free: 60 kB / 0.7136 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004217/0.9928, allocations: 245 kB / 1.12 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.9929, allocations: 12.14 kB / 1.12 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.9929, allocations: 4 kB / 1.12 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.9929, allocations: 4 kB / 1.12 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.9931, allocations: 39.92 kB / 1.12 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.9932, allocations: 6.859 kB / 1.12 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00023/0.9934, allocations: 47.75 kB / 1.12 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/0.9934, allocations: 16 kB / 1.12 GB, free: 15.69 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.heaCon.offToOn.enableFire,$PRE.heaCon.onToOff.enableFire,$whenCondition2,$whenCondition1,$PRE.heaCon.off.localActive,heaCon.off.localActive,$PRE.heaCon.off.newActive,heaCon.off.newActive,$PRE.heaCon.off.oldActive,heaCon.off.oldActive,heaCon.off.active,$PRE.heaCon.on.localActive,heaCon.on.localActive,$PRE.heaCon.on.newActive,heaCon.on.newActive,$PRE.heaCon.on.oldActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps,heaCon.stateGraphRoot.resume,heaCon.stateGraphRoot.suspend) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001235/0.9936, allocations: 124 kB / 1.12 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003068/0.9939, allocations: 201.3 kB / 1.12 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.262e-05/0.9939, allocations: 19.81 kB / 1.12 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000447/0.9944, allocations: 230 kB / 1.121 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.9944, allocations: 8 kB / 1.121 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.9944, allocations: 0 / 1.121 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.9944, allocations: 5.953 kB / 1.121 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009153/0.9953, allocations: 0.6396 MB / 1.121 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.9954, allocations: 3.984 kB / 1.121 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.9955, allocations: 27.92 kB / 1.121 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.9955, allocations: 8 kB / 1.121 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.9956, allocations: 3.984 kB / 1.121 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.9956, allocations: 6.953 kB / 1.121 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.9956, allocations: 0 / 1.121 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003864/0.996, allocations: 303.8 kB / 1.122 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-05/0.996, allocations: 96.77 kB / 1.122 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.179e-05/0.9961, allocations: 4 kB / 1.122 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.9963, allocations: 39.95 kB / 1.122 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.9965, allocations: 35.91 kB / 1.122 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.9965, allocations: 11.98 kB / 1.122 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.189e-05/0.9966, allocations: 119.5 kB / 1.122 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.61e-07/0.9966, allocations: 0 / 1.122 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003388/0.9969, allocations: 43.94 kB / 1.122 GB, free: 13.69 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 21 (heaCon.offToOn.enableFire,heaCon.onToOff.enableFire,heaCon.on.localActive,heaCon.off.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.newActive,heaCon.off.oldActive,heaCon.off.active,heaCon.on.newActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps) * Number of discrete states: 2 (heaCon.off.newActive,heaCon.on.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007339/0.9977, allocations: 0.8644 MB / 1.123 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003666/0.998, allocations: 208.2 kB / 1.123 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.9981, allocations: 320 / 1.123 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001834/0.9983, allocations: 120.2 kB / 1.123 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.9985, allocations: 28.81 kB / 1.123 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000858/0.9994, allocations: 367.3 kB / 1.123 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.9998, allocations: 0.7678 MB / 1.124 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001308/0.9999, allocations: 30.06 kB / 1.124 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/1, allocations: 89.41 kB / 1.124 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of SimCode: time 2.7e-07/1, allocations: 0 / 1.124 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02601/1.026, allocations: 4.438 MB / 1.129 GB, free: 6.824 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002022/1.026, allocations: 172.2 kB / 1.129 GB, free: 6.633 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.784/2.811, allocations: 0 / 1.129 GB, free: 6.633 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)