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.001286/0.001286, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002429/0.002429, allocations: 278.7 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9848/0.9848, allocations: 169.2 MB / 0.4982 GB, free: 13.98 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002641/0.002641, allocations: 103.6 kB / 0.5953 GB, free: 27.87 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1443, allocations: 86.97 MB / 0.6803 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.4097/0.5541, allocations: 132.2 MB / 0.8094 GB, free: 33.55 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02509/0.5792, allocations: 23.22 MB / 0.832 GB, free: 24.67 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004283/0.5836, allocations: 125 kB / 0.8321 GB, free: 24.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003863/0.5874, allocations: 1.492 MB / 0.8336 GB, free: 23.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01062/0.5981, allocations: 4.098 MB / 0.8376 GB, free: 21.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005043/0.6031, allocations: 2.147 MB / 0.8397 GB, free: 19.63 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008091/0.6112, allocations: 6.515 MB / 0.8461 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002817/0.6141, allocations: 2.358 MB / 0.8484 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005512/0.6196, allocations: 2.739 MB / 0.851 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003033/0.6227, allocations: 1.881 MB / 0.8529 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0006026/0.6233, allocations: 247.6 kB / 0.8531 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005173/0.6285, allocations: 1.93 MB / 0.855 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005771/0.6291, allocations: 0.595 MB / 0.8556 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001936/0.631, allocations: 1.45 MB / 0.857 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00557/0.6366, allocations: 4.335 MB / 0.8612 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.6366, allocations: 0 / 0.8612 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6366, allocations: 3.938 kB / 0.8612 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.763e-05/0.6367, allocations: 6.406 kB / 0.8612 GB, free: 6.086 MB / 0.5606 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.004811/0.6415, allocations: 3.161 MB / 0.8643 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.6416, allocations: 9.75 kB / 0.8643 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001956/0.6418, allocations: 227.5 kB / 0.8646 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004063/0.6458, allocations: 0.8398 MB / 0.8654 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003303/0.6491, allocations: 2.204 MB / 0.8675 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000849/0.65, allocations: 294.8 kB / 0.8678 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001782/0.6502, allocations: 164 kB / 0.868 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003712/0.6539, allocations: 1.93 MB / 0.8699 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/0.654, allocations: 7.938 kB / 0.8699 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/0.6541, allocations: 64 kB / 0.8699 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.172e-05/0.6542, allocations: 39.94 kB / 0.87 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004977/0.6591, allocations: 1.815 MB / 0.8717 GB, free: 12.9 MB / 0.5762 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.01393/0.6731, allocations: 9.05 MB / 0.8806 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004423/0.6775, allocations: 1.19 MB / 0.8817 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001158/0.6787, allocations: 458 kB / 0.8822 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001402/0.6801, allocations: 1.722 MB / 0.8838 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.795e-05/0.6802, allocations: 54.3 kB / 0.8839 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.494e-06/0.6802, allocations: 0 / 0.8839 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.009137/0.6893, allocations: 2.324 MB / 0.8862 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.312e-05/0.6894, allocations: 85.11 kB / 0.8863 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00419/0.6936, allocations: 2.512 MB / 0.8887 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001418/0.6938, allocations: 45.7 kB / 0.8887 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001018/0.6948, allocations: 1.041 MB / 0.8898 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002995/0.6951, allocations: 264.2 kB / 0.89 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004593/0.6956, allocations: 262.6 kB / 0.8903 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.6957, allocations: 349.9 kB / 0.8906 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001919/0.6977, allocations: 0.5842 MB / 0.8912 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002299/0.7, allocations: 0.9737 MB / 0.8921 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003304/0.7033, allocations: 1.26 MB / 0.8934 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.7033, allocations: 8 kB / 0.8934 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007058/0.7104, allocations: 2.04 MB / 0.8954 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.7104, allocations: 8.625 kB / 0.8954 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.7104, allocations: 15.94 kB / 0.8954 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001678/0.7121, allocations: 431.4 kB / 0.8958 GB, free: 2.855 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/0.7134, allocations: 287.6 kB / 0.8961 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/0.7157, allocations: 1.503 MB / 0.8975 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00284/0.7186, allocations: 390 kB / 0.8979 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/0.7188, allocations: 59.97 kB / 0.898 GB, free: 0.5781 MB / 0.5919 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.0008646/0.7196, allocations: 463.9 kB / 0.8984 GB, free: 120 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005229/0.7202, allocations: 248.9 kB / 0.8986 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003786/0.7239, allocations: 1.504 MB / 0.9001 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.642e-05/0.724, allocations: 12 kB / 0.9001 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.724, allocations: 0 / 0.9001 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.724, allocations: 7.984 kB / 0.9001 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007814/0.7318, allocations: 3.599 MB / 0.9036 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.7319, allocations: 4 kB / 0.9036 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006358/0.7325, allocations: 132.1 kB / 0.9038 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001541/0.7341, allocations: 409.3 kB / 0.9042 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.779e-05/0.7342, allocations: 23.98 kB / 0.9042 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002876/0.737, allocations: 1.575 MB / 0.9057 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.7371, allocations: 4 kB / 0.9057 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006441/0.7435, allocations: 1.935 MB / 0.9076 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/0.7445, allocations: 489.6 kB / 0.9081 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003211/0.7449, allocations: 19.94 kB / 0.9081 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001642/0.7465, allocations: 147.8 kB / 0.9082 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.106e-05/0.7466, allocations: 55.86 kB / 0.9083 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.794e-05/0.7467, allocations: 43.97 kB / 0.9083 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003079/0.7498, allocations: 1.765 MB / 0.9101 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7498, allocations: 0 / 0.9101 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001863/0.7517, allocations: 0.6866 MB / 0.9107 GB, free: 3.223 MB / 0.6075 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.007582/0.7593, allocations: 3.008 MB / 0.9137 GB, free: 152 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004593/0.7639, allocations: 1.396 MB / 0.915 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.7639, allocations: 0 / 0.915 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002425/0.7663, allocations: 0.6692 MB / 0.9157 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006205/0.7726, allocations: 1.332 MB / 0.917 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03812/0.8107, allocations: 19.18 MB / 0.9357 GB, free: 8.113 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00121/0.8119, allocations: 1.49 MB / 0.9372 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001948/0.8139, allocations: 439.9 kB / 0.9376 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001222/0.8151, allocations: 0.8976 MB / 0.9385 GB, free: 5.262 MB / 0.6387 GB Notification: Performance of SimCode: time 6.02e-07/0.8151, allocations: 0 / 0.9385 GB, free: 5.262 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.12/0.9351, allocations: 68.17 MB / 1.005 GB, free: 1.992 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.56, allocations: 10.81 kB / 1.005 GB, free: 1.984 MB / 0.7012 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)