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.617/1.617, allocations: 252 MB / 267.3 MB, free: 10.86 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.001339/0.001339, allocations: 170.8 kB / 327 MB, free: 2.109 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.643/1.643, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.0007542/0.0007542, allocations: 90.36 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003216/0.0003217, allocations: 9.969 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2122, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.06024/0.2724, allocations: 73.45 MB / 0.9726 GB, free: 5.684 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01801/0.2905, allocations: 12.52 MB / 0.9849 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003034/0.2936, allocations: 51.62 kB / 0.9849 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002488/0.2961, allocations: 0.6799 MB / 0.9856 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.006891/0.303, allocations: 2.246 MB / 0.9878 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003642/0.3067, allocations: 1.242 MB / 0.989 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007165/0.3138, allocations: 5.484 MB / 0.9943 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002316/0.3162, allocations: 1.139 MB / 0.9955 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00315/0.3194, allocations: 1.341 MB / 0.9968 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002379/0.3218, allocations: 1.131 MB / 0.9979 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0004373/0.3222, allocations: 56 kB / 0.9979 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003555/0.3258, allocations: 1.251 MB / 0.9992 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0006241/0.3264, allocations: 282.6 kB / 0.9994 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0017/0.3281, allocations: 0.7984 MB / 1 GB, free: 9.359 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.005019/0.3332, allocations: 2.722 MB / 1.003 GB, free: 6.629 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3332, allocations: 4 kB / 1.003 GB, free: 6.625 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.545e-06/0.3332, allocations: 0 / 1.003 GB, free: 6.625 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.34e-05/0.3333, allocations: 0 / 1.003 GB, free: 6.625 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.004079/0.3374, allocations: 1.787 MB / 1.005 GB, free: 4.773 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.3374, allocations: 8.031 kB / 1.005 GB, free: 4.766 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003195/0.3378, allocations: 152.1 kB / 1.005 GB, free: 4.609 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009606/0.3387, allocations: 234.9 kB / 1.005 GB, free: 4.379 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002936/0.3417, allocations: 1.473 MB / 1.006 GB, free: 2.848 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.426e-05/0.3418, allocations: 74 kB / 1.006 GB, free: 2.777 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002029/0.342, allocations: 111.9 kB / 1.007 GB, free: 2.668 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002255/0.3443, allocations: 1.108 MB / 1.008 GB, free: 1.523 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.118e-05/0.3443, allocations: 4 kB / 1.008 GB, free: 1.52 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.7e-05/0.3444, allocations: 36 kB / 1.008 GB, free: 1.484 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.055e-05/0.3445, allocations: 32 kB / 1.008 GB, free: 1.453 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002179/0.3466, allocations: 0.9329 MB / 1.009 GB, free: 0.5195 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.007019/0.3537, allocations: 4.915 MB / 1.013 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.3552, allocations: 0.6588 MB / 1.014 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007508/0.356, allocations: 372.6 kB / 1.014 GB, free: 10.28 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000644/0.3566, allocations: 0.8238 MB / 1.015 GB, free: 9.273 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.3567, allocations: 47.12 kB / 1.015 GB, free: 9.219 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=62): time 2.795e-06/0.3567, allocations: 0 / 1.015 GB, free: 9.219 MB / 0.6667 GB Notification: Performance of matching and sorting (n=62): time 0.007477/0.3642, allocations: 1.896 MB / 1.017 GB, free: 7.289 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.3642, allocations: 59.97 kB / 1.017 GB, free: 7.219 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002033/0.3663, allocations: 1.198 MB / 1.018 GB, free: 6.004 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.387e-05/0.3664, allocations: 41.7 kB / 1.018 GB, free: 5.957 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005716/0.367, allocations: 0.6026 MB / 1.019 GB, free: 5.348 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002459/0.3672, allocations: 212.8 kB / 1.019 GB, free: 5.137 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.436e-05/0.3673, allocations: 16 kB / 1.019 GB, free: 5.121 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3674, allocations: 334 kB / 1.02 GB, free: 4.789 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007185/0.3682, allocations: 309.7 kB / 1.02 GB, free: 4.488 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008876/0.3691, allocations: 0.5009 MB / 1.02 GB, free: 3.914 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/0.3706, allocations: 0.7472 MB / 1.021 GB, free: 3.125 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.3706, allocations: 0 / 1.021 GB, free: 3.125 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004812/0.3754, allocations: 1.421 MB / 1.022 GB, free: 1.691 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001353/0.3756, allocations: 193.4 kB / 1.023 GB, free: 1.449 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.3756, allocations: 0 / 1.023 GB, free: 1.449 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007244/0.3763, allocations: 164.7 kB / 1.023 GB, free: 1.285 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006184/0.377, allocations: 167.8 kB / 1.023 GB, free: 1.121 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009388/0.3779, allocations: 0.7434 MB / 1.024 GB, free: 360 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.3793, allocations: 163.1 kB / 1.024 GB, free: 196 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.979e-05/0.3794, allocations: 35.98 kB / 1.024 GB, free: 160 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.3794, allocations: 6.5 kB / 1.024 GB, free: 156 kB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00448/0.3839, allocations: 1.265 MB / 1.025 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3839, allocations: 0 / 1.025 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006253/0.3845, allocations: 165.1 kB / 1.025 GB, free: 14.72 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006128/0.3852, allocations: 159.8 kB / 1.025 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008692/0.3861, allocations: 0.7396 MB / 1.026 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/0.3874, allocations: 159.1 kB / 1.026 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.758e-05/0.3875, allocations: 35.98 kB / 1.026 GB, free: 13.61 MB / 0.6823 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0007089/0.3882, allocations: 417 kB / 1.027 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003339/0.3885, allocations: 134.3 kB / 1.027 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004775/0.3933, allocations: 1.424 MB / 1.028 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.3933, allocations: 4 kB / 1.028 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3933, allocations: 0 / 1.028 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004247/0.3976, allocations: 1.252 MB / 1.029 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007479/0.4051, allocations: 2.731 MB / 1.032 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.4051, allocations: 4 kB / 1.032 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005537/0.4057, allocations: 132.2 kB / 1.032 GB, free: 7.348 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006779/0.4064, allocations: 160.6 kB / 1.032 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.648e-05/0.4065, allocations: 23.98 kB / 1.032 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008381/0.4073, allocations: 0.7256 MB / 1.033 GB, free: 6.414 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.4073, allocations: 4 kB / 1.033 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005411/0.4128, allocations: 1.859 MB / 1.035 GB, free: 4.48 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007065/0.4135, allocations: 335 kB / 1.035 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002653/0.4138, allocations: 16 kB / 1.035 GB, free: 4.117 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/0.4148, allocations: 91.88 kB / 1.035 GB, free: 4.027 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.4149, allocations: 56.25 kB / 1.035 GB, free: 3.973 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.057e-05/0.415, allocations: 35.97 kB / 1.035 GB, free: 3.938 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00146/0.4165, allocations: 0.8658 MB / 1.036 GB, free: 3.07 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4165, allocations: 0 / 1.036 GB, free: 3.07 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00253/0.419, allocations: 0.6979 MB / 1.037 GB, free: 2.371 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007036/0.4261, allocations: 2.736 MB / 1.04 GB, free: 15.56 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00284/0.429, allocations: 1.176 MB / 1.041 GB, free: 14.39 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.429, allocations: 0 / 1.041 GB, free: 14.39 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009259/0.4299, allocations: 411.3 kB / 1.041 GB, free: 13.99 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004641/0.4346, allocations: 0.8071 MB / 1.042 GB, free: 13.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0282/0.4628, allocations: 11.13 MB / 1.053 GB, free: 1.566 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/0.4639, allocations: 1.165 MB / 1.054 GB, free: 380 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001445/0.4653, allocations: 310.9 kB / 1.054 GB, free: 64 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.4408/0.9062, allocations: 0.5124 MB / 1.055 GB, free: 146.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.393e-06/0.9062, allocations: 0 / 1.055 GB, free: 146.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0793/0.9855, allocations: 42.36 MB / 1.096 GB, free: 125 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/0.9858, allocations: 282.6 kB / 1.096 GB, free: 124.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.822/4.808, allocations: 4 kB / 1.096 GB, free: 124.6 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)