Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.599/2.599, allocations: 287.3 MB / 302.3 MB, free: 8.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001502/0.001501, allocations: 168.9 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.09/2.09, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001168/0.001167, allocations: 94.89 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005087/0.0005089, allocations: 21.45 kB / 0.8657 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2207, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08834/0.3091, allocations: 59.18 MB / 1.036 GB, free: 0.9922 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03198/0.3412, allocations: 14.96 MB / 1.051 GB, free: 2.004 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002655/0.3439, allocations: 59.5 kB / 1.051 GB, free: 1.945 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003792/0.3477, allocations: 0.7035 MB / 1.051 GB, free: 1.238 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01062/0.3584, allocations: 2.268 MB / 1.054 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007601/0.3661, allocations: 1.561 MB / 1.055 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006654/0.3727, allocations: 2.273 MB / 1.057 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002896/0.3757, allocations: 1.042 MB / 1.058 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004852/0.3806, allocations: 1.269 MB / 1.06 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002471/0.3831, allocations: 0.7934 MB / 1.06 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005053/0.3837, allocations: 60 kB / 1.06 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0044/0.3881, allocations: 0.9713 MB / 1.061 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007013/0.3888, allocations: 246.9 kB / 1.062 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008241/0.3897, allocations: 368.9 kB / 1.062 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005369/0.3951, allocations: 2.299 MB / 1.064 GB, free: 4.074 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3951, allocations: 4 kB / 1.064 GB, free: 4.07 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.016e-06/0.3952, allocations: 0 / 1.064 GB, free: 4.07 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.204e-05/0.3953, allocations: 0 / 1.064 GB, free: 4.07 MB / 0.6823 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.005674/0.4009, allocations: 1.727 MB / 1.066 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/0.401, allocations: 8.031 kB / 1.066 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004919/0.4015, allocations: 152.4 kB / 1.066 GB, free: 2.117 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004298/0.4058, allocations: 0.5014 MB / 1.067 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004411/0.4103, allocations: 1.439 MB / 1.068 GB, free: 120 kB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.63/1.04, allocations: 140.3 kB / 1.068 GB, free: 91.23 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005144/1.041, allocations: 106.1 kB / 1.068 GB, free: 91.23 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005441/1.046, allocations: 1.305 MB / 1.07 GB, free: 90.95 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.08e-05/1.046, allocations: 1.094 kB / 1.07 GB, free: 90.95 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000164/1.047, allocations: 44.72 kB / 1.07 GB, free: 90.91 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.176e-05/1.047, allocations: 25.62 kB / 1.07 GB, free: 90.91 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005427/1.052, allocations: 1.169 MB / 1.071 GB, free: 90.53 MB / 0.6823 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.01476/1.067, allocations: 6.938 MB / 1.077 GB, free: 85.54 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006464/1.073, allocations: 0.9414 MB / 1.078 GB, free: 85.27 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001428/1.075, allocations: 1.716 MB / 1.08 GB, free: 83.28 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/1.075, allocations: 40.19 kB / 1.08 GB, free: 83.24 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=52): time 3.156e-06/1.075, allocations: 0 / 1.08 GB, free: 83.24 MB / 0.6823 GB Notification: Performance of matching and sorting (n=52): time 0.009509/1.085, allocations: 1.485 MB / 1.082 GB, free: 82.75 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/1.085, allocations: 58.31 kB / 1.082 GB, free: 82.68 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004285/1.089, allocations: 1.547 MB / 1.083 GB, free: 82.07 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001933/1.089, allocations: 38.47 kB / 1.083 GB, free: 82.03 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007665/1.09, allocations: 0.6621 MB / 1.084 GB, free: 81.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002502/1.09, allocations: 183.6 kB / 1.084 GB, free: 81.36 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.974e-05/1.09, allocations: 11.22 kB / 1.084 GB, free: 81.36 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.764e-05/1.09, allocations: 339.6 kB / 1.084 GB, free: 81.04 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002006/1.092, allocations: 398.9 kB / 1.085 GB, free: 80.92 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002274/1.095, allocations: 0.6748 MB / 1.085 GB, free: 80.46 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002159/1.097, allocations: 454.5 kB / 1.086 GB, free: 80.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.201e-05/1.097, allocations: 2.25 kB / 1.086 GB, free: 80.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.005677/1.103, allocations: 1.249 MB / 1.087 GB, free: 79.82 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.475e-05/1.103, allocations: 9.203 kB / 1.087 GB, free: 79.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/1.103, allocations: 11.58 kB / 1.087 GB, free: 79.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001526/1.104, allocations: 226.2 kB / 1.087 GB, free: 79.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/1.106, allocations: 204 kB / 1.087 GB, free: 79.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/1.107, allocations: 0.7249 MB / 1.088 GB, free: 79.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003152/1.11, allocations: 272.1 kB / 1.088 GB, free: 79.06 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002149/1.111, allocations: 45.48 kB / 1.088 GB, free: 79.05 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 (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.0009791/1.112, allocations: 354.9 kB / 1.089 GB, free: 78.79 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004148/1.112, allocations: 150.8 kB / 1.089 GB, free: 78.71 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00437/1.117, allocations: 1.211 MB / 1.09 GB, free: 78.24 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.839e-05/1.117, allocations: 13.94 kB / 1.09 GB, free: 78.23 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/1.117, allocations: 4 kB / 1.09 GB, free: 78.23 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.625e-05/1.117, allocations: 6.797 kB / 1.09 GB, free: 78.23 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009972/1.127, allocations: 2.67 MB / 1.093 GB, free: 77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.755e-05/1.127, allocations: 2.719 kB / 1.093 GB, free: 77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008419/1.128, allocations: 92.56 kB / 1.093 GB, free: 76.99 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001382/1.129, allocations: 219.7 kB / 1.093 GB, free: 76.94 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/1.129, allocations: 17.75 kB / 1.093 GB, free: 76.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002168/1.131, allocations: 0.8064 MB / 1.094 GB, free: 76.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/1.131, allocations: 6.969 kB / 1.094 GB, free: 76.32 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006672/1.138, allocations: 1.408 MB / 1.095 GB, free: 75.62 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/1.139, allocations: 392 kB / 1.096 GB, free: 75.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000314/1.14, allocations: 13.19 kB / 1.096 GB, free: 75.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001879/1.141, allocations: 106.2 kB / 1.096 GB, free: 75.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/1.142, allocations: 40.62 kB / 1.096 GB, free: 75.29 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/1.142, allocations: 26.42 kB / 1.096 GB, free: 75.29 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003301/1.145, allocations: 1.093 MB / 1.097 GB, free: 74.84 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.32e-07/1.145, allocations: 0 / 1.097 GB, free: 74.84 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002476/1.148, allocations: 447.4 kB / 1.097 GB, free: 74.77 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.008176/1.156, allocations: 2.719 MB / 1.1 GB, free: 73.09 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004123/1.16, allocations: 0.8983 MB / 1.101 GB, free: 72.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/1.16, allocations: 1.406 kB / 1.101 GB, free: 72.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002597/1.163, allocations: 491.5 kB / 1.101 GB, free: 72.67 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00625/1.169, allocations: 0.7221 MB / 1.102 GB, free: 72.46 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/1.181, allocations: 8.509 MB / 1.11 GB, free: 65.14 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001494/1.182, allocations: 1.206 MB / 1.111 GB, free: 64.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003009/1.185, allocations: 271.7 kB / 1.112 GB, free: 64.32 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001409/1.187, allocations: 0.5525 MB / 1.112 GB, free: 63.91 MB / 0.6823 GB Notification: Performance of SimCode: time 1.472e-06/1.187, allocations: 3.938 kB / 1.112 GB, free: 63.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1423/1.329, allocations: 43.1 MB / 1.154 GB, free: 30.39 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/1.329, allocations: 259 kB / 1.155 GB, free: 30.05 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.077/5.406, allocations: 0 / 1.155 GB, free: 30.05 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)