Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_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_TEva_etaPL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_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.492/1.492, allocations: 251.9 MB / 266.9 MB, free: 11.05 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.001144/0.001144, allocations: 188.5 kB / 326.5 MB, free: 2.23 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.775/1.775, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0008905/0.0008905, allocations: 88.64 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005394/0.0005396, allocations: 12 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2224, allocations: 106.3 MB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.03944/0.2619, allocations: 51.34 MB / 0.9503 GB, free: 12.37 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01234/0.2743, allocations: 10.21 MB / 0.9602 GB, free: 2.145 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002912/0.2772, allocations: 47.62 kB / 0.9603 GB, free: 2.098 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002269/0.2795, allocations: 0.6335 MB / 0.9609 GB, free: 1.461 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.006948/0.2865, allocations: 1.899 MB / 0.9628 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004685/0.2912, allocations: 1.235 MB / 0.964 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003975/0.2952, allocations: 1.843 MB / 0.9658 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001357/0.2966, allocations: 0.794 MB / 0.9665 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002384/0.299, allocations: 0.9731 MB / 0.9675 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001607/0.3006, allocations: 0.6221 MB / 0.9681 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001982/0.3008, allocations: 40 kB / 0.9681 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002706/0.3035, allocations: 1.014 MB / 0.9691 GB, free: 9.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002332/0.3038, allocations: 203.1 kB / 0.9693 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004125/0.3042, allocations: 281 kB / 0.9696 GB, free: 8.539 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001994/0.3062, allocations: 1.598 MB / 0.9712 GB, free: 6.934 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.3062, allocations: 0 / 0.9712 GB, free: 6.934 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3062, allocations: 0 / 0.9712 GB, free: 6.934 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.959e-05/0.3063, allocations: 3.938 kB / 0.9712 GB, free: 6.93 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002656/0.3089, allocations: 1.498 MB / 0.9726 GB, free: 5.375 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.309, allocations: 12.03 kB / 0.9726 GB, free: 5.363 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001682/0.3092, allocations: 122.7 kB / 0.9727 GB, free: 5.234 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001649/0.3108, allocations: 390 kB / 0.9731 GB, free: 4.852 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001868/0.3127, allocations: 1.047 MB / 0.9741 GB, free: 3.746 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003485/0.3131, allocations: 125.9 kB / 0.9743 GB, free: 3.625 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.3132, allocations: 84 kB / 0.9743 GB, free: 3.543 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001839/0.315, allocations: 0.9566 MB / 0.9753 GB, free: 2.547 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.3151, allocations: 0 / 0.9753 GB, free: 2.547 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-05/0.3151, allocations: 32 kB / 0.9753 GB, free: 2.516 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.889e-05/0.3152, allocations: 24 kB / 0.9753 GB, free: 2.492 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002056/0.3172, allocations: 0.8625 MB / 0.9762 GB, free: 1.629 MB / 0.6198 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.006482/0.3237, allocations: 4.584 MB / 0.9806 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/0.3254, allocations: 0.6515 MB / 0.9813 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001447/0.3269, allocations: 1.396 MB / 0.9826 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.3269, allocations: 39 kB / 0.9827 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=48): time 2.795e-06/0.327, allocations: 0 / 0.9827 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.006344/0.3333, allocations: 1.745 MB / 0.9844 GB, free: 8.555 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.3334, allocations: 55.84 kB / 0.9844 GB, free: 8.488 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001653/0.335, allocations: 1.067 MB / 0.9855 GB, free: 7.406 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.535e-05/0.3351, allocations: 37.7 kB / 0.9855 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004607/0.3356, allocations: 0.5275 MB / 0.986 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.3358, allocations: 165.6 kB / 0.9862 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.3358, allocations: 8 kB / 0.9862 GB, free: 6.66 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.336, allocations: 337.9 kB / 0.9865 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007778/0.3367, allocations: 296.9 kB / 0.9868 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009597/0.3377, allocations: 495.4 kB / 0.9873 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008482/0.3386, allocations: 328.6 kB / 0.9876 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.932e-06/0.3386, allocations: 0 / 0.9876 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003629/0.3422, allocations: 1.159 MB / 0.9887 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005118/0.3428, allocations: 1.323 MB / 0.99 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.3428, allocations: 7.984 kB / 0.99 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001287/0.3441, allocations: 336.5 kB / 0.9903 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004834/0.3446, allocations: 115.9 kB / 0.9905 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001548/0.3461, allocations: 0.9476 MB / 0.9914 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.3475, allocations: 183.2 kB / 0.9916 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.897e-05/0.3476, allocations: 27.98 kB / 0.9916 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/0.3476, allocations: 4 kB / 0.9916 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003108/0.3507, allocations: 1.022 MB / 0.9926 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.3508, allocations: 4 kB / 0.9926 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/0.3519, allocations: 326.5 kB / 0.9929 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004697/0.3523, allocations: 131.8 kB / 0.993 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.3537, allocations: 0.927 MB / 0.9939 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.3549, allocations: 159.4 kB / 0.9941 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.169e-05/0.355, allocations: 27.98 kB / 0.9941 GB, free: 14.32 MB / 0.6511 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 (55): * Single equations (assignments): 54 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005235/0.3555, allocations: 356.9 kB / 0.9944 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/0.3557, allocations: 114.6 kB / 0.9946 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003177/0.3589, allocations: 1.116 MB / 0.9956 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/0.3589, allocations: 15.94 kB / 0.9957 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.3589, allocations: 3.984 kB / 0.9957 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.3589, allocations: 0 / 0.9957 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005188/0.3641, allocations: 2.257 MB / 0.9979 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/0.3642, allocations: 4 kB / 0.9979 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.3645, allocations: 59.91 kB / 0.9979 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001129/0.3656, allocations: 344.6 kB / 0.9983 GB, free: 9.957 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.602e-05/0.3657, allocations: 23.98 kB / 0.9983 GB, free: 9.934 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001483/0.3672, allocations: 0.9543 MB / 0.9992 GB, free: 8.953 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.3672, allocations: 12.03 kB / 0.9992 GB, free: 8.941 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003728/0.3709, allocations: 1.359 MB / 1.001 GB, free: 7.488 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007021/0.3716, allocations: 295.4 kB / 1.001 GB, free: 7.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.3718, allocations: 8 kB / 1.001 GB, free: 7.172 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008434/0.3726, allocations: 103.8 kB / 1.001 GB, free: 7.07 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.364e-05/0.3727, allocations: 43.22 kB / 1.001 GB, free: 7.031 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.264e-05/0.3728, allocations: 23.98 kB / 1.001 GB, free: 7.008 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001198/0.374, allocations: 0.7547 MB / 1.002 GB, free: 6.246 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.2e-07/0.374, allocations: 0 / 1.002 GB, free: 6.246 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001516/0.3755, allocations: 0.5809 MB / 1.002 GB, free: 5.664 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (38): * Single equations (assignments): 33 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.00484/0.3804, allocations: 2.8 MB / 1.005 GB, free: 2.773 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002934/0.3833, allocations: 1.108 MB / 1.006 GB, free: 1.672 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.3834, allocations: 0 / 1.006 GB, free: 1.672 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008366/0.3842, allocations: 362.9 kB / 1.006 GB, free: 1.316 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002726/0.387, allocations: 0.5175 MB / 1.007 GB, free: 0.8008 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006343/0.3933, allocations: 5.21 MB / 1.012 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007374/0.3941, allocations: 1.094 MB / 1.013 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001172/0.3953, allocations: 232.8 kB / 1.013 GB, free: 10.09 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006256/0.3959, allocations: 419.3 kB / 1.014 GB, free: 9.684 MB / 0.6667 GB Notification: Performance of SimCode: time 1.032e-06/0.3959, allocations: 0 / 1.014 GB, free: 9.684 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06022/0.4562, allocations: 33.91 MB / 1.047 GB, free: 8.148 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/0.4564, allocations: 259.8 kB / 1.047 GB, free: 7.793 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.308/3.764, allocations: 3.094 kB / 1.047 GB, free: 7.793 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe 2>&1)