Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",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.885/2.885, allocations: 287.3 MB / 302.3 MB, free: 8.285 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.001576/0.001575, allocations: 175.3 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.282/2.282, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001166/0.001166, allocations: 93.95 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004966/0.0004968, allocations: 11.25 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2201, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.854/1.074, allocations: 110.7 MB / 1.086 GB, free: 31.8 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.04073/1.115, allocations: 19.75 MB / 1.106 GB, free: 31.57 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005513/1.12, allocations: 97.56 kB / 1.106 GB, free: 31.57 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.006853/1.127, allocations: 1.371 MB / 1.107 GB, free: 31.43 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.02002/1.147, allocations: 4.095 MB / 1.111 GB, free: 30.14 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01269/1.16, allocations: 2.598 MB / 1.114 GB, free: 29.38 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01152/1.172, allocations: 3.893 MB / 1.117 GB, free: 28.18 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004666/1.176, allocations: 1.693 MB / 1.119 GB, free: 27.58 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007485/1.184, allocations: 2.023 MB / 1.121 GB, free: 26.74 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004142/1.188, allocations: 1.258 MB / 1.122 GB, free: 26.25 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0009458/1.189, allocations: 91.44 kB / 1.122 GB, free: 26.25 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00737/1.197, allocations: 1.337 MB / 1.124 GB, free: 25.96 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001179/1.198, allocations: 405.5 kB / 1.124 GB, free: 25.77 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.00172/1.2, allocations: 0.5553 MB / 1.125 GB, free: 25.45 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00745/1.207, allocations: 3.119 MB / 1.128 GB, free: 24.82 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/1.207, allocations: 0 / 1.128 GB, free: 24.82 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.344e-06/1.207, allocations: 0 / 1.128 GB, free: 24.82 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001348/1.207, allocations: 0.9688 kB / 1.128 GB, free: 24.82 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: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.009157/1.216, allocations: 2.716 MB / 1.13 GB, free: 23.14 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/1.216, allocations: 10.19 kB / 1.13 GB, free: 23.14 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008287/1.217, allocations: 218.4 kB / 1.131 GB, free: 23 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008479/1.226, allocations: 0.9538 MB / 1.131 GB, free: 22.79 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007261/1.233, allocations: 2.075 MB / 1.133 GB, free: 21.23 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001892/1.235, allocations: 321 kB / 1.134 GB, free: 21.11 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005685/1.236, allocations: 161.8 kB / 1.134 GB, free: 21.05 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007492/1.243, allocations: 1.965 MB / 1.136 GB, free: 19.86 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.743e-05/1.243, allocations: 1.062 kB / 1.136 GB, free: 19.86 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002608/1.244, allocations: 63.83 kB / 1.136 GB, free: 19.81 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.067e-05/1.244, allocations: 38.16 kB / 1.136 GB, free: 19.81 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009607/1.253, allocations: 1.903 MB / 1.138 GB, free: 18.9 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.0241/1.277, allocations: 9.206 MB / 1.147 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008561/1.286, allocations: 1.333 MB / 1.148 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001304/1.287, allocations: 1.714 MB / 1.15 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/1.287, allocations: 50.73 kB / 1.15 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=76): time 4.068e-06/1.287, allocations: 4 kB / 1.15 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.01747/1.305, allocations: 2.485 MB / 1.152 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/1.305, allocations: 85.17 kB / 1.152 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006765/1.312, allocations: 2.576 MB / 1.155 GB, free: 5.637 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003196/1.312, allocations: 43.36 kB / 1.155 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001186/1.313, allocations: 1.056 MB / 1.156 GB, free: 4.66 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000434/1.314, allocations: 269.4 kB / 1.156 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/1.314, allocations: 25.72 kB / 1.156 GB, free: 4.406 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.931e-05/1.314, allocations: 355.6 kB / 1.157 GB, free: 4.062 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003306/1.317, allocations: 0.6262 MB / 1.157 GB, free: 3.773 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003802/1.321, allocations: 1.005 MB / 1.158 GB, free: 3.023 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003467/1.325, allocations: 0.6833 MB / 1.159 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.331e-05/1.325, allocations: 2.5 kB / 1.159 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.009452/1.334, allocations: 1.962 MB / 1.161 GB, free: 1.77 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.575e-05/1.334, allocations: 7.812 kB / 1.161 GB, free: 1.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/1.334, allocations: 19.45 kB / 1.161 GB, free: 1.758 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003028/1.337, allocations: 0.4956 MB / 1.161 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002522/1.34, allocations: 302.6 kB / 1.162 GB, free: 1.426 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003467/1.344, allocations: 1.566 MB / 1.163 GB, free: 116 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006043/1.35, allocations: 487.9 kB / 1.164 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005519/1.35, allocations: 56.06 kB / 1.164 GB, free: 15.87 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (111): * Single equations (assignments): 109 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 14,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.001755/1.352, allocations: 460.5 kB / 1.164 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001072/1.353, allocations: 252.8 kB / 1.164 GB, free: 15.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007033/1.36, allocations: 1.549 MB / 1.166 GB, free: 14.55 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.964e-05/1.36, allocations: 19.27 kB / 1.166 GB, free: 14.55 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.406e-05/1.36, allocations: 0 / 1.166 GB, free: 14.55 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.743e-05/1.36, allocations: 3.984 kB / 1.166 GB, free: 14.54 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01452/1.375, allocations: 3.741 MB / 1.169 GB, free: 11.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/1.375, allocations: 4 kB / 1.169 GB, free: 11.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/1.376, allocations: 132.2 kB / 1.17 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002982/1.379, allocations: 0.5088 MB / 1.17 GB, free: 10.88 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/1.379, allocations: 23.98 kB / 1.17 GB, free: 10.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004549/1.384, allocations: 1.649 MB / 1.172 GB, free: 9.156 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/1.384, allocations: 4 kB / 1.172 GB, free: 9.152 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01133/1.395, allocations: 2.349 MB / 1.174 GB, free: 6.645 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001968/1.397, allocations: 0.5287 MB / 1.175 GB, free: 6.094 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000531/1.398, allocations: 20 kB / 1.175 GB, free: 6.074 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003459/1.401, allocations: 199.7 kB / 1.175 GB, free: 5.879 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/1.401, allocations: 55.81 kB / 1.175 GB, free: 5.824 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001716/1.402, allocations: 43.97 kB / 1.175 GB, free: 5.781 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.005723/1.407, allocations: 1.809 MB / 1.177 GB, free: 3.969 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.91e-07/1.407, allocations: 0 / 1.177 GB, free: 3.969 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004252/1.412, allocations: 0.6945 MB / 1.177 GB, free: 3.273 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 16,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.01453/1.426, allocations: 4.179 MB / 1.181 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00781/1.434, allocations: 1.436 MB / 1.183 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/1.434, allocations: 0 / 1.183 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00455/1.439, allocations: 0.7252 MB / 1.183 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01151/1.45, allocations: 1.273 MB / 1.185 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01913/1.469, allocations: 10.89 MB / 1.195 GB, free: 328 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001701/1.471, allocations: 1.532 MB / 1.197 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003615/1.475, allocations: 443.5 kB / 1.197 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002266/1.477, allocations: 0.8937 MB / 1.198 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of SimCode: time 1.522e-06/1.477, allocations: 4 kB / 1.198 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1965/1.674, allocations: 68.55 MB / 1.265 GB, free: 9.582 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004237/1.674, allocations: 257.8 kB / 1.265 GB, free: 9.242 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.501/7.175, allocations: 0 / 1.265 GB, free: 9.242 MB / 0.7917 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)