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.001268/0.001268, allocations: 108 kB / 15.61 MB, free: 152 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.001315/0.001315, allocations: 192.7 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.303/1.303, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002051/0.002051, allocations: 278.6 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9257/0.9257, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 109.6 kB / 0.5953 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.151, allocations: 86.98 MB / 0.6803 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.379/0.53, allocations: 132.2 MB / 0.8094 GB, free: 33.57 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02528/0.5554, allocations: 23.22 MB / 0.832 GB, free: 24.7 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005274/0.5607, allocations: 124.5 kB / 0.8322 GB, free: 24.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003107/0.5638, allocations: 1.492 MB / 0.8336 GB, free: 23.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00918/0.573, allocations: 4.097 MB / 0.8376 GB, free: 21.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004279/0.5773, allocations: 2.151 MB / 0.8397 GB, free: 19.68 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006253/0.5836, allocations: 6.521 MB / 0.8461 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002301/0.5859, allocations: 2.353 MB / 0.8484 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004322/0.5902, allocations: 2.734 MB / 0.851 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001849/0.5921, allocations: 1.88 MB / 0.8529 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000308/0.5924, allocations: 246.8 kB / 0.8531 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003585/0.596, allocations: 1.929 MB / 0.855 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003958/0.5964, allocations: 0.5979 MB / 0.8556 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001115/0.5975, allocations: 1.459 MB / 0.857 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004373/0.6019, allocations: 4.331 MB / 0.8612 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.6019, allocations: 0 / 0.8612 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6019, allocations: 4 kB / 0.8612 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.431e-05/0.602, allocations: 0 / 0.8612 GB, free: 6.137 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.004509/0.6065, allocations: 3.164 MB / 0.8643 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.6065, allocations: 12.53 kB / 0.8643 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001979/0.6067, allocations: 218.2 kB / 0.8646 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004337/0.6111, allocations: 0.8407 MB / 0.8654 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003718/0.6148, allocations: 2.206 MB / 0.8675 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008426/0.6157, allocations: 298.8 kB / 0.8678 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001841/0.6159, allocations: 156 kB / 0.868 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003631/0.6195, allocations: 1.934 MB / 0.8698 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.838e-05/0.6196, allocations: 11.94 kB / 0.8699 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001418/0.6197, allocations: 60 kB / 0.8699 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.985e-05/0.6197, allocations: 43.94 kB / 0.87 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004694/0.6244, allocations: 1.811 MB / 0.8717 GB, free: 12.95 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.01206/0.6365, allocations: 9.05 MB / 0.8806 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004278/0.6408, allocations: 1.188 MB / 0.8817 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/0.6419, allocations: 462 kB / 0.8822 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001122/0.6431, allocations: 1.726 MB / 0.8839 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.6431, allocations: 42.31 kB / 0.8839 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.845e-06/0.6431, allocations: 0 / 0.8839 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.00874/0.6519, allocations: 2.328 MB / 0.8862 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.6519, allocations: 89.09 kB / 0.8863 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003621/0.6555, allocations: 2.516 MB / 0.8887 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.6557, allocations: 41.7 kB / 0.8887 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000845/0.6565, allocations: 1.034 MB / 0.8898 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002487/0.6568, allocations: 276.2 kB / 0.89 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004064/0.6572, allocations: 250.6 kB / 0.8903 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.6573, allocations: 357.9 kB / 0.8906 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001802/0.6591, allocations: 0.5842 MB / 0.8912 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002103/0.6613, allocations: 0.966 MB / 0.8921 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003068/0.6643, allocations: 1.268 MB / 0.8934 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.6644, allocations: 7.938 kB / 0.8934 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006658/0.671, allocations: 2.04 MB / 0.8954 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.671, allocations: 11.98 kB / 0.8954 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.6711, allocations: 12.03 kB / 0.8954 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00157/0.6726, allocations: 421.2 kB / 0.8958 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/0.6739, allocations: 295.5 kB / 0.8961 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002131/0.6761, allocations: 1.501 MB / 0.8975 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002739/0.6788, allocations: 390 kB / 0.8979 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/0.6789, allocations: 59.97 kB / 0.898 GB, free: 0.6289 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.0007451/0.6797, allocations: 462.8 kB / 0.8984 GB, free: 172 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004122/0.6801, allocations: 248.3 kB / 0.8986 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003572/0.6837, allocations: 1.5 MB / 0.9001 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/0.6837, allocations: 12 kB / 0.9001 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.6837, allocations: 0 / 0.9001 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.6838, allocations: 3.984 kB / 0.9001 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007107/0.6909, allocations: 3.607 MB / 0.9036 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.6909, allocations: 4 kB / 0.9036 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006195/0.6915, allocations: 128.2 kB / 0.9038 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001379/0.6929, allocations: 418.9 kB / 0.9042 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-05/0.693, allocations: 31.98 kB / 0.9042 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002615/0.6956, allocations: 1.573 MB / 0.9057 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.6956, allocations: 4.031 kB / 0.9057 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00601/0.7016, allocations: 1.931 MB / 0.9076 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007681/0.7024, allocations: 493.5 kB / 0.9081 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003071/0.7027, allocations: 20 kB / 0.9081 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00171/0.7044, allocations: 143.8 kB / 0.9082 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.588e-05/0.7045, allocations: 59.81 kB / 0.9083 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-05/0.7046, allocations: 39.95 kB / 0.9083 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002771/0.7074, allocations: 1.765 MB / 0.9101 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7074, allocations: 0 / 0.9101 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001749/0.7092, allocations: 0.6906 MB / 0.9107 GB, free: 3.262 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.007095/0.7163, allocations: 3.001 MB / 0.9137 GB, free: 200 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004277/0.7206, allocations: 1.392 MB / 0.915 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.7206, allocations: 0 / 0.915 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002377/0.723, allocations: 0.6692 MB / 0.9157 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005642/0.7286, allocations: 1.34 MB / 0.917 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.034/0.7626, allocations: 19.19 MB / 0.9357 GB, free: 8.156 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009401/0.7636, allocations: 1.49 MB / 0.9372 GB, free: 6.633 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001834/0.7654, allocations: 432.1 kB / 0.9376 GB, free: 6.211 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001045/0.7665, allocations: 0.8976 MB / 0.9385 GB, free: 5.312 MB / 0.6387 GB Notification: Performance of SimCode: time 9.22e-07/0.7665, allocations: 0 / 0.9385 GB, free: 5.312 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1064/0.8729, allocations: 68.17 MB / 1.005 GB, free: 2.047 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.81, allocations: 7.938 kB / 1.005 GB, free: 2.039 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)