Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="BuildingSystems_BuildingSystems_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.0008687/0.0008688, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.004804/0.004804, allocations: 169.8 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001709/0.001709, allocations: 266.9 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8982/0.8982, allocations: 169.5 MB / 0.5004 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003794/0.0003795, allocations: 20.09 kB / 0.5988 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.124, allocations: 88.54 MB / 0.6852 GB, free: 15 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.05785/0.1818, allocations: 73.43 MB / 0.7569 GB, free: 5.352 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.2612/0.4431, allocations: 12.65 MB / 0.7693 GB, free: 29.91 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001529/0.4447, allocations: 59.16 kB / 0.7693 GB, free: 29.91 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.446, allocations: 0.6679 MB / 0.77 GB, free: 29.91 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00417/0.4502, allocations: 2.273 MB / 0.7722 GB, free: 29.84 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002367/0.4526, allocations: 1.281 MB / 0.7735 GB, free: 29.8 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00503/0.4576, allocations: 5.55 MB / 0.7789 GB, free: 29.7 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/0.459, allocations: 1.152 MB / 0.78 GB, free: 29.53 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00204/0.4611, allocations: 1.31 MB / 0.7813 GB, free: 29.35 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001247/0.4624, allocations: 1.136 MB / 0.7824 GB, free: 29.17 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.4625, allocations: 53.94 kB / 0.7825 GB, free: 29.17 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002294/0.4648, allocations: 1.251 MB / 0.7837 GB, free: 29.05 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000226/0.465, allocations: 293.4 kB / 0.784 GB, free: 28.98 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006261/0.4657, allocations: 0.7997 MB / 0.7847 GB, free: 28.7 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00222/0.4679, allocations: 2.733 MB / 0.7874 GB, free: 28.34 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.4679, allocations: 0 / 0.7874 GB, free: 28.34 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.764e-06/0.4679, allocations: 0 / 0.7874 GB, free: 28.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.407e-05/0.4679, allocations: 0 / 0.7874 GB, free: 28.34 MB / 0.545 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.00256/0.4705, allocations: 1.789 MB / 0.7892 GB, free: 27.31 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.4705, allocations: 11.41 kB / 0.7892 GB, free: 27.31 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001434/0.4707, allocations: 142.2 kB / 0.7893 GB, free: 27.27 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006589/0.4713, allocations: 244.6 kB / 0.7895 GB, free: 27.18 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001813/0.4732, allocations: 1.495 MB / 0.791 GB, free: 26.74 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.472e-05/0.4732, allocations: 82.12 kB / 0.7911 GB, free: 26.73 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.4734, allocations: 102.4 kB / 0.7912 GB, free: 26.73 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/0.4754, allocations: 1.117 MB / 0.7923 GB, free: 26.59 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.4754, allocations: 5.156 kB / 0.7923 GB, free: 26.59 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.98e-05/0.4755, allocations: 36.44 kB / 0.7923 GB, free: 26.59 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.485e-05/0.4756, allocations: 34 kB / 0.7923 GB, free: 26.59 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00177/0.4774, allocations: 0.9278 MB / 0.7932 GB, free: 26.56 MB / 0.545 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.004312/0.4817, allocations: 4.916 MB / 0.798 GB, free: 23.28 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.4829, allocations: 0.6527 MB / 0.7987 GB, free: 22.97 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000679/0.4836, allocations: 375.4 kB / 0.799 GB, free: 22.8 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003835/0.484, allocations: 0.8321 MB / 0.7998 GB, free: 21.83 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.484, allocations: 43.47 kB / 0.7999 GB, free: 21.78 MB / 0.545 GB Notification: Performance of pre-optimization done (n=62): time 1.843e-06/0.484, allocations: 0 / 0.7999 GB, free: 21.78 MB / 0.545 GB Notification: Performance of matching and sorting (n=62): time 0.007052/0.4911, allocations: 1.897 MB / 0.8017 GB, free: 20.88 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.124e-05/0.4911, allocations: 58.22 kB / 0.8018 GB, free: 20.82 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/0.4925, allocations: 1.213 MB / 0.803 GB, free: 20.14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.203e-05/0.4925, allocations: 42.39 kB / 0.803 GB, free: 20.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003475/0.4929, allocations: 0.6002 MB / 0.8036 GB, free: 19.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.493, allocations: 218.5 kB / 0.8038 GB, free: 19.38 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.421e-05/0.4931, allocations: 62.81 kB / 0.8039 GB, free: 19.34 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.819e-05/0.4932, allocations: 336.9 kB / 0.8042 GB, free: 19.01 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006195/0.4938, allocations: 303.3 kB / 0.8045 GB, free: 18.87 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007073/0.4945, allocations: 0.4977 MB / 0.805 GB, free: 18.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001265/0.4958, allocations: 0.748 MB / 0.8057 GB, free: 18.06 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.4958, allocations: 1 kB / 0.8057 GB, free: 18.06 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004574/0.5004, allocations: 1.413 MB / 0.8071 GB, free: 17.41 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.979e-05/0.5004, allocations: 195.1 kB / 0.8073 GB, free: 17.19 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.5005, allocations: 9.281 kB / 0.8073 GB, free: 17.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000622/0.5011, allocations: 169.3 kB / 0.8074 GB, free: 17.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005464/0.5016, allocations: 161.7 kB / 0.8076 GB, free: 17.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006631/0.5023, allocations: 0.7328 MB / 0.8083 GB, free: 16.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/0.5034, allocations: 163.3 kB / 0.8085 GB, free: 16.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.927e-05/0.5035, allocations: 36.73 kB / 0.8085 GB, free: 16.33 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.062e-06/0.5035, allocations: 7.25 kB / 0.8085 GB, free: 16.33 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004181/0.5077, allocations: 1.254 MB / 0.8097 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.5077, allocations: 3.5 kB / 0.8097 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005183/0.5082, allocations: 168.8 kB / 0.8099 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005302/0.5088, allocations: 158.9 kB / 0.81 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006279/0.5094, allocations: 0.7415 MB / 0.8108 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/0.5104, allocations: 158.3 kB / 0.8109 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-05/0.5105, allocations: 39.27 kB / 0.811 GB, free: 14.92 MB / 0.545 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005296/0.511, allocations: 415.9 kB / 0.8114 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.5112, allocations: 136.2 kB / 0.8115 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004349/0.5156, allocations: 1.419 MB / 0.8129 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.5156, allocations: 10.62 kB / 0.8129 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.5156, allocations: 7.875 kB / 0.8129 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004019/0.5196, allocations: 1.245 MB / 0.8141 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005591/0.5252, allocations: 2.754 MB / 0.8168 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.5252, allocations: 2.781 kB / 0.8168 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004165/0.5257, allocations: 121.5 kB / 0.8169 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005177/0.5262, allocations: 166.2 kB / 0.8171 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.625e-05/0.5262, allocations: 22.55 kB / 0.8171 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006107/0.5268, allocations: 0.713 MB / 0.8178 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.5269, allocations: 15.28 kB / 0.8178 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004718/0.5316, allocations: 1.858 MB / 0.8196 GB, free: 9.543 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003757/0.532, allocations: 329.3 kB / 0.8199 GB, free: 9.258 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.5321, allocations: 18.28 kB / 0.8199 GB, free: 9.246 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008206/0.5329, allocations: 91.16 kB / 0.82 GB, free: 9.207 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.48e-05/0.533, allocations: 57.61 kB / 0.8201 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.71e-05/0.5331, allocations: 30.77 kB / 0.8201 GB, free: 9.164 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008802/0.534, allocations: 0.8669 MB / 0.821 GB, free: 8.68 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.534, allocations: 0 / 0.821 GB, free: 8.68 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001454/0.5354, allocations: 0.702 MB / 0.8217 GB, free: 8.535 MB / 0.545 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005383/0.5408, allocations: 2.74 MB / 0.8243 GB, free: 6.758 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002049/0.5429, allocations: 1.176 MB / 0.8255 GB, free: 5.594 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5429, allocations: 0 / 0.8255 GB, free: 5.594 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007244/0.5436, allocations: 411.2 kB / 0.8259 GB, free: 5.191 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003579/0.5472, allocations: 0.8059 MB / 0.8267 GB, free: 4.398 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02127/0.5685, allocations: 11.21 MB / 0.8376 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006587/0.5692, allocations: 1.172 MB / 0.8388 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001039/0.5702, allocations: 306.9 kB / 0.839 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006518/0.5709, allocations: 0.5148 MB / 0.8395 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of SimCode: time 4.9e-07/0.5709, allocations: 4 kB / 0.8396 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.075/3.646, allocations: 42.31 MB / 0.8809 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002597/3.646, allocations: 284 kB / 0.8811 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.725/6.371, allocations: 1.969 kB / 0.8811 GB, free: 12.77 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_Carnot_y_etaPL.fmu > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)