Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.714/1.714, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.783/1.783, allocations: 292.6 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007692/0.0007695, allocations: 12.22 kB / 0.6737 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3148, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.06256/0.3774, allocations: 62.98 MB / 0.8487 GB, free: 12.75 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01595/0.3934, allocations: 10.88 MB / 0.8593 GB, free: 1.855 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002064/0.3956, allocations: 51.62 kB / 0.8594 GB, free: 1.805 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002535/0.3981, allocations: 0.7462 MB / 0.8601 GB, free: 1.055 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007121/0.4052, allocations: 2.251 MB / 0.8623 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004642/0.4099, allocations: 1.533 MB / 0.8638 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005457/0.4154, allocations: 2.482 MB / 0.8662 GB, free: 10.81 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00208/0.4175, allocations: 1.021 MB / 0.8672 GB, free: 9.758 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002867/0.4204, allocations: 1.148 MB / 0.8684 GB, free: 8.605 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001583/0.422, allocations: 0.7738 MB / 0.8691 GB, free: 7.828 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002134/0.4222, allocations: 56 kB / 0.8692 GB, free: 7.773 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00266/0.4249, allocations: 0.8542 MB / 0.87 GB, free: 6.918 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003268/0.4252, allocations: 262.9 kB / 0.8703 GB, free: 6.66 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005651/0.4258, allocations: 356.9 kB / 0.8706 GB, free: 6.305 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002822/0.4286, allocations: 2.022 MB / 0.8726 GB, free: 4.277 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.4286, allocations: 0 / 0.8726 GB, free: 4.277 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.527e-06/0.4286, allocations: 0 / 0.8726 GB, free: 4.277 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.806e-05/0.4287, allocations: 3.938 kB / 0.8726 GB, free: 4.273 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004074/0.4328, allocations: 1.779 MB / 0.8743 GB, free: 2.43 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.4328, allocations: 12.03 kB / 0.8743 GB, free: 2.418 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002531/0.4331, allocations: 147.9 kB / 0.8745 GB, free: 2.266 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008035/0.4339, allocations: 241.8 kB / 0.8747 GB, free: 2.027 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002331/0.4362, allocations: 1.365 MB / 0.876 GB, free: 0.6055 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.724e-05/0.4363, allocations: 85.92 kB / 0.8761 GB, free: 0.5234 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.4365, allocations: 100 kB / 0.8762 GB, free: 436 kB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001914/0.4384, allocations: 1.108 MB / 0.8773 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.4384, allocations: 0 / 0.8773 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.479e-05/0.4385, allocations: 40 kB / 0.8773 GB, free: 15.24 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.569e-05/0.4386, allocations: 31.98 kB / 0.8774 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/0.4404, allocations: 0.9212 MB / 0.8783 GB, free: 14.29 MB / 0.7012 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.005871/0.4463, allocations: 4.981 MB / 0.8831 GB, free: 9.023 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.4476, allocations: 0.6543 MB / 0.8838 GB, free: 8.363 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006121/0.4482, allocations: 0.8277 MB / 0.8846 GB, free: 7.352 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.4483, allocations: 39.12 kB / 0.8846 GB, free: 7.305 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=62): time 2.445e-06/0.4483, allocations: 0 / 0.8846 GB, free: 7.305 MB / 0.7012 GB Notification: Performance of matching and sorting (n=62): time 0.007157/0.4555, allocations: 1.893 MB / 0.8865 GB, free: 5.383 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.4555, allocations: 63.91 kB / 0.8865 GB, free: 5.309 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/0.4572, allocations: 1.237 MB / 0.8877 GB, free: 4.055 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001128/0.4574, allocations: 45.7 kB / 0.8878 GB, free: 4.004 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005167/0.4579, allocations: 0.5948 MB / 0.8883 GB, free: 3.402 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002113/0.4581, allocations: 216.9 kB / 0.8886 GB, free: 3.188 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.4582, allocations: 16 kB / 0.8886 GB, free: 3.172 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.4583, allocations: 330 kB / 0.8889 GB, free: 2.844 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006548/0.459, allocations: 301.8 kB / 0.8892 GB, free: 2.551 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008317/0.4598, allocations: 0.4912 MB / 0.8896 GB, free: 1.988 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007481/0.4606, allocations: 363 kB / 0.89 GB, free: 1.633 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.4606, allocations: 0 / 0.89 GB, free: 1.633 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004762/0.4653, allocations: 1.406 MB / 0.8914 GB, free: 220 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005684/0.4659, allocations: 1.33 MB / 0.8927 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.4659, allocations: 4 kB / 0.8927 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007117/0.4667, allocations: 168.6 kB / 0.8928 GB, free: 14.63 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006338/0.4673, allocations: 171.8 kB / 0.893 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008965/0.4682, allocations: 0.7279 MB / 0.8937 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.4695, allocations: 178.9 kB / 0.8939 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-05/0.4696, allocations: 28 kB / 0.8939 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.376e-06/0.4696, allocations: 4 kB / 0.8939 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00442/0.474, allocations: 1.254 MB / 0.8951 GB, free: 12.24 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.4741, allocations: 8.062 kB / 0.8951 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006097/0.4747, allocations: 168.6 kB / 0.8953 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005999/0.4753, allocations: 163.7 kB / 0.8955 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000855/0.4762, allocations: 0.7242 MB / 0.8962 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.4774, allocations: 171.2 kB / 0.8963 GB, free: 10.99 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.6e-05/0.4775, allocations: 27.98 kB / 0.8964 GB, free: 10.96 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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 11} Notification: Performance of prepare postOptimizeDAE: time 0.0007333/0.4783, allocations: 416.9 kB / 0.8968 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002091/0.4785, allocations: 130.4 kB / 0.8969 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004738/0.4832, allocations: 1.427 MB / 0.8983 GB, free: 8.965 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/0.4833, allocations: 8 kB / 0.8983 GB, free: 8.957 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/0.4833, allocations: 7.953 kB / 0.8983 GB, free: 8.949 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004189/0.4875, allocations: 1.236 MB / 0.8995 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007028/0.4945, allocations: 2.762 MB / 0.9022 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/0.4945, allocations: 4 kB / 0.9022 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005144/0.4951, allocations: 123.8 kB / 0.9023 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006308/0.4957, allocations: 160.9 kB / 0.9025 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.773e-05/0.4958, allocations: 23.98 kB / 0.9025 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008789/0.4966, allocations: 0.7162 MB / 0.9032 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.4967, allocations: 4 kB / 0.9032 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005432/0.5021, allocations: 2.061 MB / 0.9052 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009591/0.5031, allocations: 347.1 kB / 0.9055 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/0.5033, allocations: 24.06 kB / 0.9056 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008916/0.5042, allocations: 91.81 kB / 0.9056 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.5043, allocations: 52.27 kB / 0.9057 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.346e-05/0.5044, allocations: 39.97 kB / 0.9057 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001382/0.5058, allocations: 0.8893 MB / 0.9066 GB, free: 16 kB / 0.7169 GB Notification: Performance of sort global known variables: time 4.1e-07/0.5058, allocations: 0 / 0.9066 GB, free: 16 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001956/0.5078, allocations: 0.7135 MB / 0.9073 GB, free: 15.3 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.007092/0.5149, allocations: 3.871 MB / 0.9111 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002874/0.5178, allocations: 1.164 MB / 0.9122 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.5178, allocations: 0 / 0.9122 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009477/0.5188, allocations: 411.2 kB / 0.9126 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003966/0.5227, allocations: 0.7601 MB / 0.9134 GB, free: 9.004 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006591/0.5293, allocations: 5.776 MB / 0.919 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008276/0.5302, allocations: 1.195 MB / 0.9202 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001465/0.5317, allocations: 314.9 kB / 0.9205 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007183/0.5324, allocations: 0.511 MB / 0.921 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of SimCode: time 1.383e-06/0.5324, allocations: 0 / 0.921 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6053/1.138, allocations: 41.99 MB / 0.962 GB, free: 116.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/1.138, allocations: 246.1 kB / 0.9622 GB, free: 116.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.249/4.387, allocations: 0 / 0.9622 GB, free: 116.2 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL.fmu > Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1) Environment - environmentSimulation: