Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.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.CarnotVerifyCOP,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyCOP",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.007774/0.007774, allocations: 98.77 kB / 15.73 MB, free: 6.066 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.002428/0.002428, allocations: 195.9 kB / 16.68 MB, free: 5.973 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002576/0.002576, allocations: 297.4 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9958/0.9958, allocations: 169.2 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002667/0.002667, allocations: 95.86 kB / 0.681 GB, free: 7.488 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.3893, allocations: 86.96 MB / 0.7659 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1373/0.5267, allocations: 132.2 MB / 0.895 GB, free: 15.25 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03445/0.5611, allocations: 23.21 MB / 0.9177 GB, free: 7.98 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004007/0.5652, allocations: 127.2 kB / 0.9178 GB, free: 7.855 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003939/0.5692, allocations: 1.498 MB / 0.9192 GB, free: 6.348 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01075/0.58, allocations: 4.096 MB / 0.9232 GB, free: 2.234 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005374/0.5853, allocations: 2.173 MB / 0.9254 GB, free: 84 kB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.009725/0.5951, allocations: 6.529 MB / 0.9317 GB, free: 9.535 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003836/0.599, allocations: 2.351 MB / 0.934 GB, free: 7.121 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006377/0.6054, allocations: 2.751 MB / 0.9367 GB, free: 4.367 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003384/0.6088, allocations: 1.886 MB / 0.9386 GB, free: 2.473 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0004967/0.6093, allocations: 244 kB / 0.9388 GB, free: 2.234 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004233/0.6135, allocations: 1.934 MB / 0.9407 GB, free: 304 kB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006332/0.6142, allocations: 0.5954 MB / 0.9413 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001911/0.6161, allocations: 1.45 MB / 0.9427 GB, free: 14.24 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007089/0.6232, allocations: 4.408 MB / 0.947 GB, free: 9.824 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.6232, allocations: 0 / 0.947 GB, free: 9.824 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6232, allocations: 0 / 0.947 GB, free: 9.824 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.281e-05/0.6233, allocations: 0 / 0.947 GB, free: 9.824 MB / 0.7169 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.00594/0.6292, allocations: 3.262 MB / 0.9502 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.6293, allocations: 8.031 kB / 0.9502 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000274/0.6296, allocations: 220 kB / 0.9504 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004483/0.6341, allocations: 0.8608 MB / 0.9512 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004846/0.6389, allocations: 2.339 MB / 0.9535 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.6391, allocations: 123 kB / 0.9536 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000255/0.6393, allocations: 164 kB / 0.9538 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004236/0.6436, allocations: 1.923 MB / 0.9557 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.586e-05/0.6436, allocations: 3.938 kB / 0.9557 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001595/0.6438, allocations: 64 kB / 0.9557 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-05/0.6438, allocations: 39.94 kB / 0.9558 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3247/0.9685, allocations: 1.779 MB / 0.9575 GB, free: 183.9 MB / 0.7169 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.01297/0.9815, allocations: 8.988 MB / 0.9663 GB, free: 177.9 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004112/0.9856, allocations: 1.199 MB / 0.9675 GB, free: 177.6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/0.9867, allocations: 462.7 kB / 0.9679 GB, free: 177.4 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007206/0.9874, allocations: 1.725 MB / 0.9696 GB, free: 175.4 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.9875, allocations: 42.66 kB / 0.9696 GB, free: 175.4 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.495e-06/0.9875, allocations: 0 / 0.9696 GB, free: 175.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.008349/0.9958, allocations: 2.336 MB / 0.9719 GB, free: 174.6 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.9959, allocations: 95.11 kB / 0.972 GB, free: 174.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003374/0.9993, allocations: 2.49 MB / 0.9744 GB, free: 173.3 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001822/0.9995, allocations: 45.61 kB / 0.9745 GB, free: 173.2 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006474/1, allocations: 1.047 MB / 0.9755 GB, free: 172.3 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002293/1, allocations: 289.8 kB / 0.9758 GB, free: 172.1 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003673/1.001, allocations: 253.3 kB / 0.976 GB, free: 172 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.604e-05/1.001, allocations: 347.9 kB / 0.9763 GB, free: 171.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001538/1.002, allocations: 0.5741 MB / 0.9769 GB, free: 171.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001773/1.004, allocations: 0.9476 MB / 0.9778 GB, free: 170.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00268/1.007, allocations: 1.253 MB / 0.979 GB, free: 169.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/1.007, allocations: 3.938 kB / 0.9791 GB, free: 169.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006135/1.013, allocations: 2.032 MB / 0.981 GB, free: 168.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/1.013, allocations: 7.531 kB / 0.981 GB, free: 168.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/1.013, allocations: 11.78 kB / 0.9811 GB, free: 168.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001542/1.015, allocations: 417.3 kB / 0.9815 GB, free: 168.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/1.016, allocations: 289.3 kB / 0.9817 GB, free: 168.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001839/1.018, allocations: 1.503 MB / 0.9832 GB, free: 167.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002713/1.02, allocations: 368.8 kB / 0.9835 GB, free: 167 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000219/1.021, allocations: 59.97 kB / 0.9836 GB, free: 166.9 MB / 0.7169 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 (112): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0008653/1.022, allocations: 454 kB / 0.984 GB, free: 166.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005468/1.022, allocations: 266.2 kB / 0.9843 GB, free: 166.2 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003391/1.026, allocations: 1.507 MB / 0.9858 GB, free: 164.7 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.902e-05/1.026, allocations: 15.98 kB / 0.9858 GB, free: 164.7 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/1.026, allocations: 4 kB / 0.9858 GB, free: 164.7 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/1.026, allocations: 3.984 kB / 0.9858 GB, free: 164.7 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007606/1.033, allocations: 3.584 MB / 0.9893 GB, free: 161 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/1.033, allocations: 12.02 kB / 0.9893 GB, free: 161 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006062/1.034, allocations: 127.8 kB / 0.9894 GB, free: 160.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0014/1.035, allocations: 415.1 kB / 0.9898 GB, free: 160.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/1.035, allocations: 31.91 kB / 0.9898 GB, free: 160.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002204/1.038, allocations: 1.565 MB / 0.9914 GB, free: 158.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.038, allocations: 3.938 kB / 0.9914 GB, free: 158.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005612/1.043, allocations: 1.956 MB / 0.9933 GB, free: 156.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/1.044, allocations: 0.4884 MB / 0.9938 GB, free: 156.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004384/1.045, allocations: 27.94 kB / 0.9938 GB, free: 156.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001734/1.047, allocations: 135.8 kB / 0.9939 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.789e-05/1.047, allocations: 59.8 kB / 0.994 GB, free: 156.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.046e-05/1.047, allocations: 39.97 kB / 0.994 GB, free: 156.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002602/1.049, allocations: 1.753 MB / 0.9957 GB, free: 154.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.7e-07/1.049, allocations: 0 / 0.9957 GB, free: 154.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001966/1.051, allocations: 0.6924 MB / 0.9964 GB, free: 153.7 MB / 0.7169 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 (63): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006315/1.058, allocations: 3.008 MB / 0.9993 GB, free: 150.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003758/1.061, allocations: 1.342 MB / 1.001 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.062, allocations: 4 kB / 1.001 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002119/1.064, allocations: 0.6602 MB / 1.001 GB, free: 148.7 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00563/1.069, allocations: 1.327 MB / 1.003 GB, free: 147.4 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03297/1.102, allocations: 16.75 MB / 1.019 GB, free: 130.3 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006816/1.103, allocations: 1.486 MB / 1.02 GB, free: 128.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001712/1.105, allocations: 440.5 kB / 1.021 GB, free: 128.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000929/1.106, allocations: 0.9015 MB / 1.022 GB, free: 127.4 MB / 0.7169 GB Notification: Performance of SimCode: time 8.11e-07/1.106, allocations: 0 / 1.022 GB, free: 127.4 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09306/1.199, allocations: 65.91 MB / 1.086 GB, free: 62.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.3/17.5, allocations: 4 kB / 1.086 GB, free: 62.49 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)