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_2ndLaw.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_2ndLaw,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",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.571/1.571, allocations: 252 MB / 267.3 MB, free: 10.85 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.001043/0.001043, allocations: 180.8 kB / 327 MB, free: 2.082 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.66/1.66, allocations: 205.4 MB / 0.578 GB, free: 20.43 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.0007334/0.0007335, allocations: 95.86 kB / 0.6826 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.0003372, allocations: 9.031 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1804, allocations: 106.3 MB / 0.9009 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.04794/0.2283, allocations: 68.87 MB / 0.9682 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02435/0.2527, allocations: 18.65 MB / 0.9864 GB, free: 7.93 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002263/0.2551, allocations: 59.56 kB / 0.9864 GB, free: 7.871 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001925/0.257, allocations: 0.6565 MB / 0.9871 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.007323/0.2643, allocations: 2.588 MB / 0.9896 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003946/0.2683, allocations: 1.515 MB / 0.9911 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006181/0.2745, allocations: 4.999 MB / 0.996 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001937/0.2765, allocations: 1.148 MB / 0.9971 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003264/0.2797, allocations: 1.466 MB / 0.9985 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001973/0.2817, allocations: 1.112 MB / 0.9996 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001867/0.2819, allocations: 60 kB / 0.9996 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002792/0.2847, allocations: 1.193 MB / 1.001 GB, free: 9.059 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0003187/0.2851, allocations: 266.6 kB / 1.001 GB, free: 8.797 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0009842/0.2861, allocations: 0.806 MB / 1.002 GB, free: 7.98 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004586/0.2907, allocations: 2.948 MB / 1.005 GB, free: 5.023 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2907, allocations: 0 / 1.005 GB, free: 5.023 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2907, allocations: 0 / 1.005 GB, free: 5.023 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.605e-05/0.2907, allocations: 0 / 1.005 GB, free: 5.023 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003513/0.2943, allocations: 1.719 MB / 1.006 GB, free: 3.242 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.2943, allocations: 16.03 kB / 1.006 GB, free: 3.227 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002057/0.2945, allocations: 152.6 kB / 1.007 GB, free: 3.07 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002278/0.2968, allocations: 0.4983 MB / 1.007 GB, free: 2.57 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002796/0.2996, allocations: 1.516 MB / 1.009 GB, free: 0.9961 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003925/0.3001, allocations: 142 kB / 1.009 GB, free: 0.8555 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.3002, allocations: 104 kB / 1.009 GB, free: 0.7539 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002623/0.3028, allocations: 1.323 MB / 1.01 GB, free: 15.34 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.3029, allocations: 3.984 kB / 1.01 GB, free: 15.34 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.303, allocations: 44 kB / 1.01 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.314e-05/0.303, allocations: 28 kB / 1.01 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002813/0.3058, allocations: 1.171 MB / 1.011 GB, free: 14.1 MB / 0.6667 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.009036/0.3149, allocations: 6.943 MB / 1.018 GB, free: 6.699 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003315/0.3182, allocations: 0.9418 MB / 1.019 GB, free: 5.75 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006909/0.319, allocations: 314 kB / 1.019 GB, free: 5.441 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001422/0.3204, allocations: 1.73 MB / 1.021 GB, free: 3.324 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.3204, allocations: 35 kB / 1.021 GB, free: 3.277 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=52): time 2.816e-06/0.3204, allocations: 0 / 1.021 GB, free: 3.277 MB / 0.6667 GB Notification: Performance of matching and sorting (n=52): time 0.004986/0.3254, allocations: 1.502 MB / 1.022 GB, free: 1.75 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.3255, allocations: 55.84 kB / 1.023 GB, free: 1.684 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002444/0.3279, allocations: 1.533 MB / 1.024 GB, free: 144 kB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.598e-05/0.328, allocations: 41.7 kB / 1.024 GB, free: 96 kB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006046/0.3286, allocations: 0.6614 MB / 1.025 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/0.3288, allocations: 181.5 kB / 1.025 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-05/0.3289, allocations: 12 kB / 1.025 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.329, allocations: 334 kB / 1.025 GB, free: 14.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.33, allocations: 405.8 kB / 1.026 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00126/0.3313, allocations: 0.6822 MB / 1.026 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001831/0.3331, allocations: 0.9147 MB / 1.027 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.3332, allocations: 4 kB / 1.027 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003047/0.3362, allocations: 1.256 MB / 1.028 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.3363, allocations: 12.16 kB / 1.028 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.3363, allocations: 8 kB / 1.028 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008739/0.3372, allocations: 228.6 kB / 1.029 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000802/0.338, allocations: 207.7 kB / 1.029 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008662/0.3388, allocations: 0.724 MB / 1.03 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/0.3405, allocations: 266.6 kB / 1.03 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.326e-05/0.3406, allocations: 43.97 kB / 1.03 GB, free: 9.918 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 81 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0005884/0.3412, allocations: 357.6 kB / 1.03 GB, free: 9.559 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001838/0.3414, allocations: 142.2 kB / 1.03 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002516/0.3439, allocations: 1.232 MB / 1.032 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.017e-05/0.3439, allocations: 16.08 kB / 1.032 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.344, allocations: 3.938 kB / 1.032 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.344, allocations: 3.984 kB / 1.032 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005471/0.3494, allocations: 2.654 MB / 1.034 GB, free: 5.406 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/0.3495, allocations: 0 / 1.034 GB, free: 5.406 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004208/0.3499, allocations: 100.1 kB / 1.034 GB, free: 5.309 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008662/0.3508, allocations: 220.6 kB / 1.034 GB, free: 5.09 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.602e-05/0.3509, allocations: 23.98 kB / 1.034 GB, free: 5.066 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/0.3523, allocations: 0.7982 MB / 1.035 GB, free: 4.242 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.3524, allocations: 7.922 kB / 1.035 GB, free: 4.234 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003971/0.3563, allocations: 1.328 MB / 1.037 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008088/0.3572, allocations: 378.8 kB / 1.037 GB, free: 2.477 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/0.3573, allocations: 12 kB / 1.037 GB, free: 2.465 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009677/0.3583, allocations: 115.7 kB / 1.037 GB, free: 2.352 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.3584, allocations: 36.52 kB / 1.037 GB, free: 2.316 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.202e-05/0.3585, allocations: 27.97 kB / 1.037 GB, free: 2.289 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001862/0.3604, allocations: 1.086 MB / 1.038 GB, free: 1.207 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3604, allocations: 4 kB / 1.038 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001254/0.3617, allocations: 431.4 kB / 1.039 GB, free: 0.7812 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (56): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004577/0.3662, allocations: 2.221 MB / 1.041 GB, free: 14.52 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002234/0.3685, allocations: 0.9032 MB / 1.042 GB, free: 13.61 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.3685, allocations: 3.938 kB / 1.042 GB, free: 13.61 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001323/0.3698, allocations: 495.6 kB / 1.042 GB, free: 13.13 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003594/0.3734, allocations: 0.7301 MB / 1.043 GB, free: 12.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3999/0.7733, allocations: 12.45 MB / 1.055 GB, free: 147 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006479/0.774, allocations: 1.174 MB / 1.056 GB, free: 146.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001497/0.7755, allocations: 270.4 kB / 1.056 GB, free: 146.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007459/0.7763, allocations: 0.5524 MB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.452e-06/0.7763, allocations: 0 / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0689/0.8452, allocations: 42.81 MB / 1.099 GB, free: 122.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/0.8454, allocations: 295.5 kB / 1.099 GB, free: 122.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.508/4.353, allocations: 4 kB / 1.099 GB, free: 122.5 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)