Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.416/1.416, allocations: 288.4 MB / 303.6 MB, free: 8.094 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.0008476/0.0008476, allocations: 182.8 kB / 372.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.151/1.151, allocations: 205.4 MB / 0.631 GB, free: 9.848 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.0007861/0.0007862, allocations: 100.6 kB / 0.7444 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.0003551, allocations: 16.02 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.158, allocations: 115.3 MB / 0.9802 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05654/0.2145, allocations: 65.14 MB / 1.044 GB, free: 9.891 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02195/0.2365, allocations: 17.59 MB / 1.061 GB, free: 8.266 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001995/0.2386, allocations: 63.56 kB / 1.061 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002003/0.2406, allocations: 0.516 MB / 1.062 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.006654/0.2473, allocations: 2.286 MB / 1.064 GB, free: 5.387 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003574/0.2508, allocations: 1.134 MB / 1.065 GB, free: 4.262 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.3617/0.6126, allocations: 4.412 MB / 1.069 GB, free: 26.93 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002176/0.6148, allocations: 1.126 MB / 1.07 GB, free: 26.81 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002832/0.6176, allocations: 1.42 MB / 1.072 GB, free: 26.81 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001469/0.6191, allocations: 1.04 MB / 1.073 GB, free: 26.81 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001486/0.6193, allocations: 59.66 kB / 1.073 GB, free: 26.81 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00246/0.6217, allocations: 1.161 MB / 1.074 GB, free: 26.81 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002667/0.622, allocations: 248 kB / 1.074 GB, free: 26.81 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008669/0.6229, allocations: 0.7685 MB / 1.075 GB, free: 26.78 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002989/0.6259, allocations: 2.396 MB / 1.077 GB, free: 26.71 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.6259, allocations: 0.75 kB / 1.077 GB, free: 26.71 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6259, allocations: 1.547 kB / 1.077 GB, free: 26.71 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.63e-05/0.6259, allocations: 4 kB / 1.077 GB, free: 26.71 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.003412/0.6294, allocations: 1.713 MB / 1.079 GB, free: 25.73 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.773e-05/0.6294, allocations: 9.781 kB / 1.079 GB, free: 25.73 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002522/0.6297, allocations: 159.8 kB / 1.079 GB, free: 25.69 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002331/0.632, allocations: 0.4985 MB / 1.08 GB, free: 25.59 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002458/0.6345, allocations: 1.524 MB / 1.081 GB, free: 25.18 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003758/0.6349, allocations: 141.6 kB / 1.081 GB, free: 25.17 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.6351, allocations: 103.3 kB / 1.081 GB, free: 25.17 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002652/0.6377, allocations: 1.32 MB / 1.083 GB, free: 24.92 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.6378, allocations: 0.6875 kB / 1.083 GB, free: 24.92 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.6379, allocations: 42.88 kB / 1.083 GB, free: 24.92 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.722e-05/0.6379, allocations: 25.09 kB / 1.083 GB, free: 24.92 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002876/0.6408, allocations: 1.168 MB / 1.084 GB, free: 24.89 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.008419/0.6492, allocations: 6.909 MB / 1.091 GB, free: 21.23 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003274/0.6525, allocations: 0.9418 MB / 1.091 GB, free: 21.17 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006657/0.6532, allocations: 313 kB / 1.092 GB, free: 21.16 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009335/0.6541, allocations: 1.727 MB / 1.093 GB, free: 19.19 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.6542, allocations: 43.56 kB / 1.093 GB, free: 19.15 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=52): time 2.805e-06/0.6542, allocations: 0 / 1.093 GB, free: 19.15 MB / 0.6823 GB Notification: Performance of matching and sorting (n=52): time 0.005286/0.6595, allocations: 1.49 MB / 1.095 GB, free: 18.89 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.6595, allocations: 61.34 kB / 1.095 GB, free: 18.82 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002663/0.6622, allocations: 1.521 MB / 1.096 GB, free: 18.65 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.333e-05/0.6623, allocations: 37.77 kB / 1.096 GB, free: 18.62 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005166/0.6628, allocations: 0.6636 MB / 1.097 GB, free: 18.39 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.663, allocations: 180.3 kB / 1.097 GB, free: 18.28 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.273e-05/0.6631, allocations: 20.25 kB / 1.097 GB, free: 18.28 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.263e-05/0.6631, allocations: 330.1 kB / 1.098 GB, free: 17.97 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009728/0.6641, allocations: 400.4 kB / 1.098 GB, free: 17.96 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/0.6652, allocations: 0.675 MB / 1.099 GB, free: 17.65 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001653/0.6669, allocations: 0.9128 MB / 1.1 GB, free: 17.37 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.6669, allocations: 3.625 kB / 1.1 GB, free: 17.37 MB / 0.6823 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002784/0.6697, allocations: 1.251 MB / 1.101 GB, free: 17.22 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.868e-05/0.6697, allocations: 9.312 kB / 1.101 GB, free: 17.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.6697, allocations: 6.906 kB / 1.101 GB, free: 17.22 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008027/0.6705, allocations: 230.5 kB / 1.101 GB, free: 17.19 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007829/0.6713, allocations: 203.9 kB / 1.101 GB, free: 17.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006925/0.672, allocations: 0.7266 MB / 1.102 GB, free: 16.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/0.6737, allocations: 266.2 kB / 1.102 GB, free: 16.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.289e-05/0.6738, allocations: 43.39 kB / 1.102 GB, free: 16.59 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.0005818/0.6744, allocations: 356.2 kB / 1.103 GB, free: 16.47 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/0.6746, allocations: 155 kB / 1.103 GB, free: 16.39 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002457/0.6771, allocations: 1.207 MB / 1.104 GB, free: 16.26 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/0.6771, allocations: 13.3 kB / 1.104 GB, free: 16.26 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.6771, allocations: 4.641 kB / 1.104 GB, free: 16.25 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.6771, allocations: 6.766 kB / 1.104 GB, free: 16.25 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004963/0.6821, allocations: 2.657 MB / 1.107 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/0.6821, allocations: 2.719 kB / 1.107 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000401/0.6825, allocations: 95.83 kB / 1.107 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007254/0.6833, allocations: 236.9 kB / 1.107 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-05/0.6833, allocations: 15.61 kB / 1.107 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/0.6845, allocations: 0.7981 MB / 1.108 GB, free: 15.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.6845, allocations: 6.188 kB / 1.108 GB, free: 15.26 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003089/0.6876, allocations: 1.317 MB / 1.109 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005124/0.6881, allocations: 379.3 kB / 1.109 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/0.6883, allocations: 9.312 kB / 1.109 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009347/0.6892, allocations: 108.8 kB / 1.109 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.828e-05/0.6893, allocations: 52.17 kB / 1.109 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-05/0.6894, allocations: 35.44 kB / 1.109 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001518/0.6909, allocations: 1.071 MB / 1.111 GB, free: 14.63 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2e-07/0.6909, allocations: 3.219 kB / 1.111 GB, free: 14.63 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001275/0.6922, allocations: 440.6 kB / 1.111 GB, free: 14.58 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.004179/0.6964, allocations: 2.221 MB / 1.113 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002121/0.6985, allocations: 0.8952 MB / 1.114 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.227e-06/0.6985, allocations: 1.469 kB / 1.114 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001289/0.6998, allocations: 488.9 kB / 1.114 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003546/0.7034, allocations: 0.7306 MB / 1.115 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02853/0.7319, allocations: 9.065 MB / 1.124 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008661/0.7328, allocations: 1.175 MB / 1.125 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001555/0.7344, allocations: 271.8 kB / 1.125 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008912/0.7353, allocations: 0.5469 MB / 1.126 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of SimCode: time 7.31e-07/0.7353, allocations: 3.562 kB / 1.126 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.01/1.746, allocations: 44.98 MB / 1.17 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002653/1.746, allocations: 260.1 kB / 1.17 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.6/5.346, allocations: 0 / 1.17 GB, free: 8.18 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)