Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.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.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL",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.547/1.547, allocations: 252 MB / 267 MB, free: 10.97 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.0009561/0.0009561, allocations: 177.2 kB / 326.6 MB, free: 2.219 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.532/1.532, allocations: 205.4 MB / 0.5777 GB, free: 20.27 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.0008646/0.0008645, allocations: 95.55 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.000353, allocations: 10.44 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2416, allocations: 106.4 MB / 0.9003 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.05313/0.2948, allocations: 69.42 MB / 0.9681 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01905/0.3139, allocations: 11.81 MB / 0.9796 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002881/0.3168, allocations: 55.62 kB / 0.9797 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002828/0.3197, allocations: 0.5666 MB / 0.9802 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00794/0.3276, allocations: 1.877 MB / 0.9821 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00363/0.3313, allocations: 0.9373 MB / 0.983 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007429/0.3387, allocations: 4.742 MB / 0.9876 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002487/0.3413, allocations: 0.9976 MB / 0.9886 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003778/0.3451, allocations: 1.264 MB / 0.9898 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002733/0.3479, allocations: 1.069 MB / 0.9909 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004152/0.3483, allocations: 56 kB / 0.9909 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003184/0.3515, allocations: 0.9315 MB / 0.9918 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003849/0.3519, allocations: 278.6 kB / 0.9921 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0007717/0.3527, allocations: 352.9 kB / 0.9924 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002964/0.3556, allocations: 2.077 MB / 0.9945 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.3557, allocations: 0 / 0.9945 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3557, allocations: 4 kB / 0.9945 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.797e-05/0.3557, allocations: 0 / 0.9945 GB, free: 15.11 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003809/0.3595, allocations: 1.803 MB / 0.9962 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.3596, allocations: 12.03 kB / 0.9962 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002212/0.3598, allocations: 148 kB / 0.9964 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008384/0.3607, allocations: 237.9 kB / 0.9966 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002673/0.3634, allocations: 1.427 MB / 0.998 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.106e-05/0.3635, allocations: 78 kB / 0.9981 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/0.3636, allocations: 108 kB / 0.9982 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002147/0.3658, allocations: 1.1 MB / 0.9993 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.3658, allocations: 0 / 0.9993 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.619e-05/0.3659, allocations: 47.94 kB / 0.9993 GB, free: 9.996 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.334e-05/0.366, allocations: 31.94 kB / 0.9993 GB, free: 9.965 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001967/0.3679, allocations: 0.9251 MB / 1 GB, free: 9.039 MB / 0.6511 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.006429/0.3744, allocations: 4.903 MB / 1.005 GB, free: 3.848 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.3757, allocations: 0.6435 MB / 1.006 GB, free: 3.195 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007403/0.3765, allocations: 374.3 kB / 1.006 GB, free: 2.824 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006321/0.3771, allocations: 0.8316 MB / 1.007 GB, free: 1.809 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.3772, allocations: 39.12 kB / 1.007 GB, free: 1.762 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=62): time 2.675e-06/0.3772, allocations: 4 kB / 1.007 GB, free: 1.758 MB / 0.6511 GB Notification: Performance of matching and sorting (n=62): time 0.007395/0.3846, allocations: 1.893 MB / 1.009 GB, free: 15.83 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.3847, allocations: 55.97 kB / 1.009 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001718/0.3864, allocations: 1.19 MB / 1.01 GB, free: 14.56 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001178/0.3865, allocations: 41.7 kB / 1.01 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005166/0.3871, allocations: 0.5909 MB / 1.011 GB, free: 13.92 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002307/0.3873, allocations: 224.8 kB / 1.011 GB, free: 13.7 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.3873, allocations: 12 kB / 1.011 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.3875, allocations: 337.8 kB / 1.011 GB, free: 13.35 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007173/0.3882, allocations: 305.8 kB / 1.011 GB, free: 13.05 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008228/0.389, allocations: 0.497 MB / 1.012 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000753/0.3898, allocations: 363 kB / 1.012 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.3898, allocations: 0 / 1.012 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004792/0.3946, allocations: 1.402 MB / 1.014 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001475/0.3948, allocations: 185.4 kB / 1.014 GB, free: 10.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.3948, allocations: 4 kB / 1.014 GB, free: 10.47 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007486/0.3956, allocations: 164.7 kB / 1.014 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006382/0.3962, allocations: 167.7 kB / 1.014 GB, free: 10.14 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008798/0.3971, allocations: 0.7279 MB / 1.015 GB, free: 9.391 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/0.3985, allocations: 171.1 kB / 1.015 GB, free: 9.223 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-05/0.3985, allocations: 35.98 kB / 1.015 GB, free: 9.188 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.3986, allocations: 4 kB / 1.015 GB, free: 9.184 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004455/0.403, allocations: 1.257 MB / 1.016 GB, free: 7.922 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.403, allocations: 4 kB / 1.016 GB, free: 7.918 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006057/0.4037, allocations: 169.1 kB / 1.016 GB, free: 7.75 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005938/0.4043, allocations: 159.8 kB / 1.017 GB, free: 7.594 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008061/0.4051, allocations: 0.728 MB / 1.017 GB, free: 6.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.4064, allocations: 171.1 kB / 1.017 GB, free: 6.672 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.447e-05/0.4065, allocations: 28 kB / 1.017 GB, free: 6.645 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.000707/0.4072, allocations: 421 kB / 1.018 GB, free: 6.223 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/0.4074, allocations: 130.4 kB / 1.018 GB, free: 6.094 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004585/0.412, allocations: 1.416 MB / 1.019 GB, free: 4.66 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.412, allocations: 11.98 kB / 1.019 GB, free: 4.648 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.412, allocations: 0 / 1.019 GB, free: 4.648 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004118/0.4161, allocations: 1.24 MB / 1.021 GB, free: 3.375 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006439/0.4226, allocations: 2.738 MB / 1.023 GB, free: 0.5234 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.4226, allocations: 4 kB / 1.023 GB, free: 0.5195 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004886/0.4231, allocations: 124.2 kB / 1.023 GB, free: 408 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006239/0.4238, allocations: 156.7 kB / 1.024 GB, free: 248 kB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.958e-05/0.4238, allocations: 27.94 kB / 1.024 GB, free: 220 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008785/0.4247, allocations: 0.7201 MB / 1.024 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/0.4247, allocations: 4 kB / 1.024 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005536/0.4303, allocations: 1.848 MB / 1.026 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009321/0.4312, allocations: 335.1 kB / 1.026 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.4314, allocations: 19.98 kB / 1.026 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009303/0.4324, allocations: 91.77 kB / 1.026 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.4325, allocations: 60.25 kB / 1.027 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.298e-05/0.4326, allocations: 27.98 kB / 1.027 GB, free: 13 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001319/0.4339, allocations: 0.8541 MB / 1.027 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.6e-07/0.4339, allocations: 0 / 1.027 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001761/0.4357, allocations: 0.7057 MB / 1.028 GB, free: 11.44 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.00702/0.4427, allocations: 2.71 MB / 1.031 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003064/0.4458, allocations: 1.164 MB / 1.032 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.806e-05/0.4459, allocations: 8 kB / 1.032 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.447, allocations: 411.2 kB / 1.032 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004358/0.4513, allocations: 0.7552 MB / 1.033 GB, free: 6.352 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02187/0.4732, allocations: 8.325 MB / 1.041 GB, free: 13.64 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008677/0.4742, allocations: 1.168 MB / 1.042 GB, free: 12.44 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001567/0.4757, allocations: 303 kB / 1.043 GB, free: 12.14 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007864/0.4765, allocations: 0.5071 MB / 1.043 GB, free: 11.63 MB / 0.698 GB Notification: Performance of SimCode: time 1.453e-06/0.4765, allocations: 0 / 1.043 GB, free: 11.63 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5701/1.047, allocations: 41.96 MB / 1.084 GB, free: 136.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/1.047, allocations: 269.5 kB / 1.084 GB, free: 135.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.865/4.912, allocations: 4 kB / 1.084 GB, free: 135.8 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)