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.592/1.592, allocations: 252 MB / 267 MB, free: 10.96 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.001041/0.001041, allocations: 183.2 kB / 326.6 MB, free: 2.207 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.789/1.789, allocations: 205.4 MB / 0.5777 GB, free: 20.52 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.0007856/0.0007856, allocations: 89.77 kB / 0.6822 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003309, allocations: 8.344 kB / 0.7964 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2582, allocations: 106.3 MB / 0.9003 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.04654/0.3048, allocations: 65.12 MB / 0.9639 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02357/0.3284, allocations: 17.56 MB / 0.981 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002754/0.3312, allocations: 63.5 kB / 0.9811 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002375/0.3336, allocations: 0.5238 MB / 0.9816 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.008208/0.3418, allocations: 2.094 MB / 0.9837 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004485/0.3463, allocations: 1.103 MB / 0.9847 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007522/0.3539, allocations: 4.361 MB / 0.989 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002346/0.3562, allocations: 1.022 MB / 0.99 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003849/0.3601, allocations: 1.33 MB / 0.9913 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00252/0.3627, allocations: 1.054 MB / 0.9923 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003675/0.3631, allocations: 56 kB / 0.9924 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003077/0.3662, allocations: 0.9005 MB / 0.9932 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003333/0.3665, allocations: 246.8 kB / 0.9935 GB, free: 496 kB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0007705/0.3673, allocations: 372.8 kB / 0.9938 GB, free: 116 kB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003118/0.3704, allocations: 2.295 MB / 0.9961 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.3704, allocations: 0 / 0.9961 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.345e-06/0.3705, allocations: 0 / 0.9961 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.186e-05/0.3705, allocations: 4 kB / 0.9961 GB, free: 13.81 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.003464/0.374, allocations: 1.727 MB / 0.9978 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/0.374, allocations: 8.031 kB / 0.9978 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002224/0.3743, allocations: 152.4 kB / 0.9979 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002388/0.3767, allocations: 0.4975 MB / 0.9984 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003048/0.3797, allocations: 1.474 MB / 0.9998 GB, free: 9.824 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004029/0.3801, allocations: 150 kB / 1 GB, free: 9.676 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.3803, allocations: 100 kB / 1 GB, free: 9.578 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002822/0.3831, allocations: 1.319 MB / 1.001 GB, free: 8.172 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.3832, allocations: 3.938 kB / 1.001 GB, free: 8.168 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/0.3833, allocations: 40 kB / 1.001 GB, free: 8.129 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/0.3833, allocations: 28 kB / 1.001 GB, free: 8.102 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002873/0.3862, allocations: 1.159 MB / 1.003 GB, free: 6.941 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.0101/0.3963, allocations: 6.939 MB / 1.009 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003509/0.3999, allocations: 0.9265 MB / 1.01 GB, free: 14.61 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007149/0.4006, allocations: 318 kB / 1.011 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00147/0.4021, allocations: 1.722 MB / 1.012 GB, free: 12.19 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.4022, allocations: 43 kB / 1.012 GB, free: 12.14 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=52): time 3.126e-06/0.4022, allocations: 3.938 kB / 1.012 GB, free: 12.13 MB / 0.6667 GB Notification: Performance of matching and sorting (n=52): time 0.005394/0.4076, allocations: 1.487 MB / 1.014 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.4077, allocations: 63.78 kB / 1.014 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002751/0.4104, allocations: 1.525 MB / 1.015 GB, free: 9.012 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001101/0.4105, allocations: 37.7 kB / 1.015 GB, free: 8.969 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006117/0.4112, allocations: 0.6654 MB / 1.016 GB, free: 8.297 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.4114, allocations: 181.4 kB / 1.016 GB, free: 8.117 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/0.4115, allocations: 12 kB / 1.016 GB, free: 8.105 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.4116, allocations: 341.8 kB / 1.016 GB, free: 7.766 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/0.4127, allocations: 397.8 kB / 1.017 GB, free: 7.375 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/0.414, allocations: 0.6744 MB / 1.018 GB, free: 6.582 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.4151, allocations: 461.9 kB / 1.018 GB, free: 6.129 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.4151, allocations: 0 / 1.018 GB, free: 6.129 MB / 0.6667 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003343/0.4185, allocations: 1.243 MB / 1.019 GB, free: 4.871 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.4185, allocations: 8 kB / 1.019 GB, free: 4.863 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.4186, allocations: 4.75 kB / 1.019 GB, free: 4.859 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009458/0.4195, allocations: 236.5 kB / 1.019 GB, free: 4.625 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007969/0.4203, allocations: 207.7 kB / 1.02 GB, free: 4.422 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009093/0.4213, allocations: 0.7279 MB / 1.02 GB, free: 3.668 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/0.423, allocations: 258.7 kB / 1.021 GB, free: 3.414 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.4232, allocations: 51.91 kB / 1.021 GB, free: 3.363 MB / 0.6667 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 (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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0007056/0.4239, allocations: 353.6 kB / 1.021 GB, free: 3.008 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002097/0.4241, allocations: 146.2 kB / 1.021 GB, free: 2.863 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002534/0.4266, allocations: 1.221 MB / 1.022 GB, free: 1.633 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/0.4267, allocations: 11.98 kB / 1.022 GB, free: 1.621 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.4267, allocations: 0 / 1.022 GB, free: 1.621 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.4267, allocations: 7.984 kB / 1.022 GB, free: 1.613 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005427/0.4321, allocations: 2.655 MB / 1.025 GB, free: 14.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.4322, allocations: 0 / 1.025 GB, free: 14.87 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004367/0.4326, allocations: 95.88 kB / 1.025 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008275/0.4334, allocations: 232.8 kB / 1.025 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-05/0.4335, allocations: 19.98 kB / 1.025 GB, free: 14.53 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/0.4349, allocations: 0.7943 MB / 1.026 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/0.4349, allocations: 7.984 kB / 1.026 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003706/0.4386, allocations: 1.316 MB / 1.027 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007519/0.4394, allocations: 378.8 kB / 1.028 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/0.4395, allocations: 12 kB / 1.028 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/0.4406, allocations: 115.8 kB / 1.028 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.809e-05/0.4407, allocations: 40.45 kB / 1.028 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.625e-05/0.4407, allocations: 35.97 kB / 1.028 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001885/0.4426, allocations: 1.07 MB / 1.029 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.6e-07/0.4426, allocations: 0 / 1.029 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001398/0.444, allocations: 427.4 kB / 1.029 GB, free: 10.27 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 (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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.004907/0.449, allocations: 2.215 MB / 1.031 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002399/0.4514, allocations: 0.8952 MB / 1.032 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.4514, allocations: 384 / 1.032 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001394/0.4528, allocations: 495.3 kB / 1.033 GB, free: 6.633 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00339/0.4562, allocations: 0.7251 MB / 1.034 GB, free: 5.918 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0255/0.4817, allocations: 9.058 MB / 1.042 GB, free: 12.43 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/0.4828, allocations: 1.18 MB / 1.044 GB, free: 11.22 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002177/0.485, allocations: 270.8 kB / 1.044 GB, free: 10.95 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008735/0.4859, allocations: 0.5461 MB / 1.044 GB, free: 10.41 MB / 0.698 GB Notification: Performance of SimCode: time 3.036e-06/0.4859, allocations: 0 / 1.044 GB, free: 10.41 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4499/0.9358, allocations: 43.51 MB / 1.087 GB, free: 135 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001474/0.936, allocations: 275.4 kB / 1.087 GB, free: 134.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.444/4.38, allocations: 0 / 1.087 GB, free: 134.7 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)