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_HighTemperature.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_HighTemperature,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature",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.409/1.409, allocations: 252 MB / 267.3 MB, free: 10.84 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.0009729/0.0009729, allocations: 178.8 kB / 327 MB, free: 2.094 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.731/1.731, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.000738/0.0007379, allocations: 90.38 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002951/0.0002952, allocations: 9.688 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.182, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature): time 0.04122/0.2233, allocations: 59.82 MB / 0.9593 GB, free: 3.363 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01503/0.2384, allocations: 11.81 MB / 0.9709 GB, free: 7.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001878/0.2403, allocations: 55.62 kB / 0.9709 GB, free: 7.465 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001709/0.242, allocations: 0.5438 MB / 0.9714 GB, free: 6.918 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005443/0.2475, allocations: 1.793 MB / 0.9732 GB, free: 5.117 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002972/0.2505, allocations: 1.097 MB / 0.9743 GB, free: 4.031 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004412/0.2549, allocations: 3.899 MB / 0.9781 GB, free: 120 kB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001395/0.2563, allocations: 0.9032 MB / 0.9789 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002283/0.2586, allocations: 1.135 MB / 0.9801 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.26, allocations: 0.867 MB / 0.9809 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.2602, allocations: 44 kB / 0.9809 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002516/0.2627, allocations: 1.31 MB / 0.9822 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002402/0.263, allocations: 218.8 kB / 0.9824 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0007421/0.2637, allocations: 0.6389 MB / 0.9831 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003083/0.2668, allocations: 2.212 MB / 0.9852 GB, free: 8.738 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2668, allocations: 3.938 kB / 0.9852 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.344e-06/0.2669, allocations: 0 / 0.9852 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.146e-05/0.2669, allocations: 0 / 0.9852 GB, free: 8.734 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002851/0.2698, allocations: 1.524 MB / 0.9867 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.2698, allocations: 8.031 kB / 0.9867 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001544/0.27, allocations: 126.9 kB / 0.9868 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002084/0.2721, allocations: 474.8 kB / 0.9873 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002124/0.2742, allocations: 1.132 MB / 0.9884 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000354/0.2746, allocations: 133.9 kB / 0.9885 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.2747, allocations: 80 kB / 0.9886 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002239/0.277, allocations: 1.035 MB / 0.9896 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.277, allocations: 0 / 0.9896 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-05/0.2771, allocations: 36 kB / 0.9896 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/0.2771, allocations: 20 kB / 0.9897 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002499/0.2796, allocations: 0.9602 MB / 0.9906 GB, free: 3.059 MB / 0.6355 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.006325/0.286, allocations: 4.664 MB / 0.9952 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003546/0.2895, allocations: 0.9498 MB / 0.9961 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008437/0.2904, allocations: 364.4 kB / 0.9964 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006018/0.291, allocations: 0.9029 MB / 0.9973 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.291, allocations: 39 kB / 0.9974 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 1.984e-06/0.291, allocations: 0 / 0.9974 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.006763/0.2978, allocations: 1.912 MB / 0.9992 GB, free: 9.668 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.2979, allocations: 55.84 kB / 0.9993 GB, free: 9.598 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001548/0.2994, allocations: 1.072 MB / 1 GB, free: 8.512 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.3e-05/0.2995, allocations: 37.7 kB / 1 GB, free: 8.469 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004237/0.3, allocations: 0.5235 MB / 1.001 GB, free: 7.941 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.3001, allocations: 169.6 kB / 1.001 GB, free: 7.773 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.859e-05/0.3002, allocations: 8 kB / 1.001 GB, free: 7.766 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.3003, allocations: 330 kB / 1.001 GB, free: 7.438 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.3013, allocations: 356.9 kB / 1.002 GB, free: 7.086 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/0.3025, allocations: 0.5508 MB / 1.002 GB, free: 6.457 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00193/0.3044, allocations: 0.7839 MB / 1.003 GB, free: 5.621 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.3045, allocations: 4 kB / 1.003 GB, free: 5.617 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002995/0.3075, allocations: 1.116 MB / 1.004 GB, free: 4.492 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001616/0.3076, allocations: 197.4 kB / 1.004 GB, free: 4.246 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.3077, allocations: 4 kB / 1.004 GB, free: 4.242 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001294/0.3089, allocations: 337.5 kB / 1.005 GB, free: 3.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006216/0.3096, allocations: 143.7 kB / 1.005 GB, free: 3.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/0.3111, allocations: 0.9516 MB / 1.006 GB, free: 2.793 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.3124, allocations: 203.3 kB / 1.006 GB, free: 2.594 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.603e-05/0.3125, allocations: 27.98 kB / 1.006 GB, free: 2.566 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.977e-06/0.3125, allocations: 4 kB / 1.006 GB, free: 2.562 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002625/0.3151, allocations: 0.9754 MB / 1.007 GB, free: 1.582 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3152, allocations: 4 kB / 1.007 GB, free: 1.578 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/0.3163, allocations: 328.6 kB / 1.007 GB, free: 1.254 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006091/0.317, allocations: 143.8 kB / 1.007 GB, free: 1.113 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/0.3184, allocations: 0.9454 MB / 1.008 GB, free: 148 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.3197, allocations: 175.5 kB / 1.008 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-05/0.3198, allocations: 31.97 kB / 1.008 GB, free: 15.94 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (56): * Single equations (assignments): 55 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0005429/0.3203, allocations: 357.6 kB / 1.009 GB, free: 15.58 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.3205, allocations: 110.6 kB / 1.009 GB, free: 15.47 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00266/0.3232, allocations: 1.068 MB / 1.01 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/0.3232, allocations: 7.984 kB / 1.01 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.3232, allocations: 4 kB / 1.01 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.3232, allocations: 3.938 kB / 1.01 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005507/0.3287, allocations: 2.366 MB / 1.012 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.3288, allocations: 0 / 1.012 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003703/0.3291, allocations: 91.88 kB / 1.012 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001067/0.3302, allocations: 340.8 kB / 1.013 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.33e-05/0.3303, allocations: 15.98 kB / 1.013 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001552/0.3318, allocations: 0.9763 MB / 1.014 GB, free: 10.48 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.3318, allocations: 4 kB / 1.014 GB, free: 10.48 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003966/0.3358, allocations: 1.349 MB / 1.015 GB, free: 9.078 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005103/0.3363, allocations: 283.4 kB / 1.015 GB, free: 8.781 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.3365, allocations: 19.98 kB / 1.015 GB, free: 8.762 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009495/0.3374, allocations: 123.8 kB / 1.015 GB, free: 8.641 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.3376, allocations: 39.31 kB / 1.015 GB, free: 8.605 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.709e-05/0.3376, allocations: 23.98 kB / 1.015 GB, free: 8.582 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001185/0.3388, allocations: 0.7551 MB / 1.016 GB, free: 7.82 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.294e-06/0.3388, allocations: 0 / 1.016 GB, free: 7.82 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001491/0.3403, allocations: 0.5614 MB / 1.017 GB, free: 7.258 MB / 0.6667 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 (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 {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004862/0.3452, allocations: 2.163 MB / 1.019 GB, free: 5.043 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003555/0.3488, allocations: 1.284 MB / 1.02 GB, free: 3.766 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.3488, allocations: 0 / 1.02 GB, free: 3.766 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.3498, allocations: 417.4 kB / 1.02 GB, free: 3.355 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002921/0.3528, allocations: 0.5281 MB / 1.021 GB, free: 2.836 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02173/0.3745, allocations: 9.651 MB / 1.03 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006428/0.3752, allocations: 1.066 MB / 1.031 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00114/0.3763, allocations: 231.7 kB / 1.032 GB, free: 7.426 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005678/0.3769, allocations: 419.3 kB / 1.032 GB, free: 7.016 MB / 0.6823 GB Notification: Performance of SimCode: time 5.42e-07/0.3769, allocations: 0 / 1.032 GB, free: 7.016 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.422/0.799, allocations: 32.98 MB / 1.064 GB, free: 147.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001966/0.7992, allocations: 298.6 kB / 1.065 GB, free: 147.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.3/4.1, allocations: 2.875 kB / 1.065 GB, free: 147.4 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe 2>&1)