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.36/1.36, allocations: 251.5 MB / 266.7 MB, free: 11.07 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.0009285/0.0009287, allocations: 175.2 kB / 325.8 MB, free: 2.715 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.435/1.435, allocations: 205 MB / 0.576 GB, free: 20.95 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.0006753/0.0006755, allocations: 90.56 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002886/0.0002887, allocations: 10.16 kB / 0.7932 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1843, allocations: 105.4 MB / 0.8962 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.04659/0.2309, allocations: 69.77 MB / 0.9643 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02229/0.2532, allocations: 18.86 MB / 0.9827 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002037/0.2553, allocations: 67.62 kB / 0.9828 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001765/0.2571, allocations: 0.6488 MB / 0.9834 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005891/0.263, allocations: 2.592 MB / 0.986 GB, free: 7.871 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003138/0.2662, allocations: 1.509 MB / 0.9874 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004481/0.2706, allocations: 5.003 MB / 0.9923 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001316/0.272, allocations: 1.132 MB / 0.9934 GB, free: 188 kB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002165/0.2741, allocations: 1.47 MB / 0.9949 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001179/0.2753, allocations: 1.116 MB / 0.996 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.2755, allocations: 56 kB / 0.996 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00212/0.2776, allocations: 1.193 MB / 0.9972 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002242/0.2778, allocations: 262.7 kB / 0.9974 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0006228/0.2785, allocations: 0.781 MB / 0.9982 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002624/0.2811, allocations: 2.955 MB / 1.001 GB, free: 8.328 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2811, allocations: 0 / 1.001 GB, free: 8.328 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2811, allocations: 0 / 1.001 GB, free: 8.328 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.639e-05/0.2811, allocations: 0 / 1.001 GB, free: 8.328 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.002637/0.2838, allocations: 1.719 MB / 1.003 GB, free: 6.547 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.2838, allocations: 12.03 kB / 1.003 GB, free: 6.535 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001614/0.284, allocations: 152.6 kB / 1.003 GB, free: 6.379 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002101/0.2861, allocations: 0.5022 MB / 1.003 GB, free: 5.875 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002153/0.2883, allocations: 1.508 MB / 1.005 GB, free: 4.309 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003571/0.2886, allocations: 150 kB / 1.005 GB, free: 4.16 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.2888, allocations: 104 kB / 1.005 GB, free: 4.059 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002345/0.2911, allocations: 1.319 MB / 1.006 GB, free: 2.652 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.2912, allocations: 7.938 kB / 1.006 GB, free: 2.645 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.026e-05/0.2913, allocations: 40 kB / 1.006 GB, free: 2.605 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.171e-05/0.2913, allocations: 28 kB / 1.006 GB, free: 2.578 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002575/0.2939, allocations: 1.179 MB / 1.008 GB, free: 1.395 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.007239/0.3011, allocations: 6.925 MB / 1.014 GB, free: 10.01 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003187/0.3043, allocations: 0.9341 MB / 1.015 GB, free: 9.07 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006076/0.3049, allocations: 318 kB / 1.016 GB, free: 8.758 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001105/0.3061, allocations: 1.718 MB / 1.017 GB, free: 6.652 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.3061, allocations: 46.98 kB / 1.017 GB, free: 6.598 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=52): time 3.567e-06/0.3061, allocations: 7.922 kB / 1.017 GB, free: 6.59 MB / 0.6667 GB Notification: Performance of matching and sorting (n=52): time 0.004556/0.3107, allocations: 1.491 MB / 1.019 GB, free: 5.07 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.3107, allocations: 63.78 kB / 1.019 GB, free: 4.996 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002043/0.3128, allocations: 1.537 MB / 1.02 GB, free: 3.449 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.253e-05/0.3128, allocations: 41.7 kB / 1.02 GB, free: 3.402 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005119/0.3134, allocations: 0.6575 MB / 1.021 GB, free: 2.738 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.3135, allocations: 181.4 kB / 1.021 GB, free: 2.559 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.741e-05/0.3136, allocations: 61.69 kB / 1.021 GB, free: 2.492 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.3137, allocations: 337.9 kB / 1.022 GB, free: 2.156 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009668/0.3147, allocations: 409.8 kB / 1.022 GB, free: 1.758 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/0.3159, allocations: 0.6783 MB / 1.023 GB, free: 0.9609 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001749/0.3176, allocations: 0.9147 MB / 1.024 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.3177, allocations: 7.938 kB / 1.024 GB, free: 15.94 MB / 0.6823 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00416/0.3218, allocations: 1.47 MB / 1.025 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.3219, allocations: 16.11 kB / 1.025 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.3219, allocations: 11.98 kB / 1.025 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007963/0.3227, allocations: 228.6 kB / 1.025 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007464/0.3234, allocations: 199.7 kB / 1.025 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007879/0.3242, allocations: 0.7318 MB / 1.026 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/0.3257, allocations: 266.7 kB / 1.026 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.731e-05/0.3258, allocations: 39.98 kB / 1.026 GB, free: 12.95 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.0004521/0.3263, allocations: 361.6 kB / 1.027 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/0.3265, allocations: 142.2 kB / 1.027 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002329/0.3288, allocations: 1.223 MB / 1.028 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.3288, allocations: 7.984 kB / 1.028 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3288, allocations: 4 kB / 1.028 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.3288, allocations: 3.984 kB / 1.028 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004923/0.3338, allocations: 2.666 MB / 1.031 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.3338, allocations: 0 / 1.031 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003771/0.3342, allocations: 96.06 kB / 1.031 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007244/0.3349, allocations: 228.6 kB / 1.031 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.561e-05/0.335, allocations: 19.98 kB / 1.031 GB, free: 8.105 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001218/0.3362, allocations: 0.8059 MB / 1.032 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.3362, allocations: 11.97 kB / 1.032 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003288/0.3395, allocations: 1.332 MB / 1.033 GB, free: 5.891 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004248/0.3399, allocations: 350.9 kB / 1.033 GB, free: 5.527 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/0.3401, allocations: 12 kB / 1.033 GB, free: 5.516 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009119/0.341, allocations: 103.8 kB / 1.034 GB, free: 5.414 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.078e-05/0.3411, allocations: 48.44 kB / 1.034 GB, free: 5.367 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.576e-05/0.3412, allocations: 31.97 kB / 1.034 GB, free: 5.336 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001534/0.3427, allocations: 1.082 MB / 1.035 GB, free: 4.258 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3427, allocations: 4 kB / 1.035 GB, free: 4.254 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001064/0.3438, allocations: 427.4 kB / 1.035 GB, free: 3.836 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.004196/0.348, allocations: 2.228 MB / 1.037 GB, free: 1.57 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001998/0.35, allocations: 0.9109 MB / 1.038 GB, free: 0.6562 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.35, allocations: 0 / 1.038 GB, free: 0.6562 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001267/0.3513, allocations: 495.6 kB / 1.039 GB, free: 180 kB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003085/0.3544, allocations: 0.7388 MB / 1.039 GB, free: 15.45 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02543/0.3798, allocations: 11.97 MB / 1.051 GB, free: 2.887 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006729/0.3806, allocations: 1.172 MB / 1.052 GB, free: 1.684 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001162/0.3817, allocations: 278.9 kB / 1.053 GB, free: 1.41 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007024/0.3824, allocations: 0.5578 MB / 1.053 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of SimCode: time 7.11e-07/0.3824, allocations: 0 / 1.053 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8026/1.185, allocations: 42.89 MB / 1.095 GB, free: 128.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001946/1.185, allocations: 295.8 kB / 1.095 GB, free: 128.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.99/4.175, allocations: 0 / 1.095 GB, free: 128.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)