Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="IBPSA_latest_IBPSA_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.001094/0.001094, allocations: 101.2 kB / 16.27 MB, free: 5.973 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.001146/0.001146, allocations: 188.6 kB / 17.19 MB, free: 5.602 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.287/1.287, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7031/0.7031, allocations: 122.8 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 63.89 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3177, allocations: 77.92 MB / 0.5673 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1128/0.4305, allocations: 132.2 MB / 0.6964 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02929/0.4598, allocations: 23.21 MB / 0.719 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003836/0.4637, allocations: 127.2 kB / 0.7191 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004011/0.4677, allocations: 1.494 MB / 0.7206 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01053/0.4783, allocations: 4.089 MB / 0.7246 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00508/0.4834, allocations: 2.145 MB / 0.7267 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008202/0.4916, allocations: 6.524 MB / 0.7331 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00415/0.4958, allocations: 2.353 MB / 0.7354 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006834/0.5027, allocations: 2.737 MB / 0.738 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003523/0.5062, allocations: 1.875 MB / 0.7399 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00114/0.5074, allocations: 247.9 kB / 0.7401 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005787/0.5132, allocations: 1.942 MB / 0.742 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001079/0.5143, allocations: 0.5914 MB / 0.7426 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002709/0.517, allocations: 1.454 MB / 0.744 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007265/0.5243, allocations: 4.304 MB / 0.7482 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.5243, allocations: 0 / 0.7482 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5243, allocations: 0 / 0.7482 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000111/0.5244, allocations: 0 / 0.7482 GB, free: 1.004 MB / 0.5762 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.2558/0.7802, allocations: 3.167 MB / 0.7513 GB, free: 167 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.7803, allocations: 11 kB / 0.7513 GB, free: 167 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003042/0.7806, allocations: 220 kB / 0.7515 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005019/0.7856, allocations: 0.8395 MB / 0.7523 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005455/0.7911, allocations: 2.204 MB / 0.7545 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001112/0.7922, allocations: 295.1 kB / 0.7548 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004664/0.7927, allocations: 161.9 kB / 0.7549 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006319/0.799, allocations: 1.938 MB / 0.7568 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.659e-05/0.7991, allocations: 2.438 kB / 0.7568 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001745/0.7993, allocations: 62.28 kB / 0.7569 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.498e-05/0.7993, allocations: 39.62 kB / 0.7569 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005274/0.8046, allocations: 1.817 MB / 0.7587 GB, free: 164 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.01232/0.817, allocations: 9.053 MB / 0.7675 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004064/0.821, allocations: 1.193 MB / 0.7687 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.8221, allocations: 463.2 kB / 0.7691 GB, free: 156.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008413/0.823, allocations: 1.72 MB / 0.7708 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.823, allocations: 42.28 kB / 0.7709 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 2.475e-06/0.823, allocations: 3.969 kB / 0.7709 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.008471/0.8315, allocations: 2.317 MB / 0.7731 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.8315, allocations: 90.02 kB / 0.7732 GB, free: 153 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004011/0.8356, allocations: 2.515 MB / 0.7757 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001682/0.8358, allocations: 45.33 kB / 0.7757 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006349/0.8364, allocations: 1.032 MB / 0.7767 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002128/0.8366, allocations: 275 kB / 0.777 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003727/0.837, allocations: 261.4 kB / 0.7772 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.683e-05/0.8371, allocations: 346.1 kB / 0.7776 GB, free: 150 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001751/0.8388, allocations: 0.5876 MB / 0.7781 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001972/0.8408, allocations: 0.9652 MB / 0.7791 GB, free: 149 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002888/0.8437, allocations: 1.263 MB / 0.7803 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.8437, allocations: 6.125 kB / 0.7803 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006554/0.8503, allocations: 2.043 MB / 0.7823 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.8503, allocations: 7.844 kB / 0.7823 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.8503, allocations: 11.97 kB / 0.7823 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001477/0.8518, allocations: 427.9 kB / 0.7827 GB, free: 146.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.853, allocations: 285.1 kB / 0.783 GB, free: 146.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001781/0.8548, allocations: 1.503 MB / 0.7845 GB, free: 145.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002882/0.8576, allocations: 400 kB / 0.7849 GB, free: 145.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/0.8578, allocations: 63.53 kB / 0.7849 GB, free: 145.3 MB / 0.5762 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.0007258/0.8585, allocations: 461.1 kB / 0.7854 GB, free: 145 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004678/0.859, allocations: 242.3 kB / 0.7856 GB, free: 144.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003304/0.8623, allocations: 1.489 MB / 0.787 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/0.8623, allocations: 15.89 kB / 0.7871 GB, free: 144 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.8624, allocations: 3.969 kB / 0.7871 GB, free: 144 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.8624, allocations: 11.86 kB / 0.7871 GB, free: 144 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00667/0.869, allocations: 3.596 MB / 0.7906 GB, free: 141.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/0.8691, allocations: 7.984 kB / 0.7906 GB, free: 141.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005824/0.8697, allocations: 132.2 kB / 0.7907 GB, free: 141.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001368/0.8711, allocations: 417 kB / 0.7911 GB, free: 140.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.248e-05/0.8711, allocations: 31.97 kB / 0.7911 GB, free: 140.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002171/0.8733, allocations: 1.56 MB / 0.7927 GB, free: 139.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.8733, allocations: 7.938 kB / 0.7927 GB, free: 139 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005543/0.8789, allocations: 1.936 MB / 0.7946 GB, free: 137 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/0.88, allocations: 485.6 kB / 0.795 GB, free: 136.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003778/0.8804, allocations: 23.98 kB / 0.7951 GB, free: 136.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00166/0.8821, allocations: 139.8 kB / 0.7952 GB, free: 136.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.434e-05/0.8822, allocations: 63.8 kB / 0.7952 GB, free: 136.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.994e-05/0.8823, allocations: 39.97 kB / 0.7953 GB, free: 136.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002319/0.8846, allocations: 1.769 MB / 0.797 GB, free: 134.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8846, allocations: 0 / 0.797 GB, free: 134.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001567/0.8862, allocations: 0.6789 MB / 0.7977 GB, free: 133.9 MB / 0.5762 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.006154/0.8923, allocations: 3.007 MB / 0.8006 GB, free: 130.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003768/0.8961, allocations: 1.4 MB / 0.802 GB, free: 129.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.8961, allocations: 4.188 kB / 0.802 GB, free: 129.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002044/0.8982, allocations: 0.664 MB / 0.8026 GB, free: 128.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005145/0.9033, allocations: 1.341 MB / 0.8039 GB, free: 127.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02978/0.9331, allocations: 19.19 MB / 0.8227 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006488/0.9338, allocations: 1.482 MB / 0.8241 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001911/0.9357, allocations: 442 kB / 0.8246 GB, free: 105 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009463/0.9367, allocations: 0.9015 MB / 0.8254 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of SimCode: time 7.21e-07/0.9367, allocations: 0 / 0.8254 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0859/1.023, allocations: 68.09 MB / 0.8919 GB, free: 36.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/13.06, allocations: 10.81 kB / 0.8919 GB, free: 36.69 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)