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.001656/0.001656, allocations: 104.2 kB / 16.4 MB, free: 6.438 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.001841/0.001841, allocations: 193.2 kB / 17.34 MB, free: 5.703 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7993/0.7993, allocations: 126.1 MB / 417.3 MB, free: 12.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 76 kB / 0.5726 GB, free: 27.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1418, allocations: 78.69 MB / 0.6494 GB, free: 4.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.4927/0.6346, allocations: 132.2 MB / 0.7785 GB, free: 28.67 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02832/0.6629, allocations: 23.22 MB / 0.8012 GB, free: 24.46 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004754/0.6677, allocations: 120.1 kB / 0.8013 GB, free: 24.42 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004462/0.6723, allocations: 1.532 MB / 0.8028 GB, free: 23.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01242/0.6847, allocations: 4.313 MB / 0.807 GB, free: 20.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005583/0.6903, allocations: 2.18 MB / 0.8092 GB, free: 19.32 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008054/0.6984, allocations: 6.535 MB / 0.8155 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003077/0.7015, allocations: 2.358 MB / 0.8178 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005618/0.7071, allocations: 2.814 MB / 0.8206 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003075/0.7102, allocations: 1.881 MB / 0.8224 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005105/0.7107, allocations: 246 kB / 0.8227 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004757/0.7155, allocations: 1.939 MB / 0.8246 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005227/0.716, allocations: 0.5956 MB / 0.8251 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002099/0.7181, allocations: 1.459 MB / 0.8266 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006594/0.7247, allocations: 4.362 MB / 0.8308 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.7248, allocations: 0 / 0.8308 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7248, allocations: 0 / 0.8308 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.318e-05/0.7249, allocations: 0 / 0.8308 GB, free: 4.746 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.004858/0.7297, allocations: 3.251 MB / 0.834 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.7298, allocations: 12.03 kB / 0.834 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001987/0.73, allocations: 223.7 kB / 0.8342 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003935/0.7339, allocations: 0.8567 MB / 0.8351 GB, free: 324 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004283/0.7382, allocations: 2.348 MB / 0.8373 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-05/0.7383, allocations: 127 kB / 0.8375 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002261/0.7386, allocations: 156 kB / 0.8376 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00396/0.7425, allocations: 1.923 MB / 0.8395 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.035e-05/0.7426, allocations: 7.938 kB / 0.8395 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/0.7427, allocations: 71.92 kB / 0.8396 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-05/0.7428, allocations: 36 kB / 0.8396 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004663/0.7474, allocations: 1.784 MB / 0.8413 GB, free: 9.73 MB / 0.5919 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.01354/0.761, allocations: 8.984 MB / 0.8501 GB, free: 160 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004268/0.7653, allocations: 1.208 MB / 0.8513 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.7664, allocations: 462.2 kB / 0.8517 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001144/0.7676, allocations: 1.725 MB / 0.8534 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.7677, allocations: 46.5 kB / 0.8535 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 2.535e-06/0.7677, allocations: 0 / 0.8535 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.008855/0.7765, allocations: 2.337 MB / 0.8558 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/0.7766, allocations: 88.86 kB / 0.8558 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004493/0.7811, allocations: 2.493 MB / 0.8583 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001363/0.7813, allocations: 45.7 kB / 0.8583 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009018/0.7822, allocations: 1.047 MB / 0.8593 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002768/0.7825, allocations: 285.6 kB / 0.8596 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005066/0.783, allocations: 258.7 kB / 0.8599 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.7831, allocations: 345.9 kB / 0.8602 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001838/0.785, allocations: 0.5725 MB / 0.8607 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002209/0.7872, allocations: 0.9543 MB / 0.8617 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003153/0.7903, allocations: 1.244 MB / 0.8629 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.359e-05/0.7904, allocations: 4 kB / 0.8629 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006786/0.7972, allocations: 2.025 MB / 0.8649 GB, free: 244 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.7972, allocations: 8 kB / 0.8649 GB, free: 236 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/0.7972, allocations: 8.625 kB / 0.8649 GB, free: 228 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001681/0.7989, allocations: 425.2 kB / 0.8653 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.8001, allocations: 287.5 kB / 0.8656 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002255/0.8024, allocations: 1.495 MB / 0.867 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002848/0.8053, allocations: 374.5 kB / 0.8674 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001908/0.8055, allocations: 59.95 kB / 0.8674 GB, free: 13.55 MB / 0.6231 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.0009811/0.8065, allocations: 465.4 kB / 0.8679 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000767/0.8072, allocations: 262.3 kB / 0.8681 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004083/0.8113, allocations: 1.487 MB / 0.8696 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-05/0.8114, allocations: 11.94 kB / 0.8696 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.541e-05/0.8114, allocations: 12 kB / 0.8696 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.8114, allocations: 3.984 kB / 0.8696 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009505/0.8209, allocations: 3.606 MB / 0.8731 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/0.821, allocations: 4 kB / 0.8731 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006143/0.8216, allocations: 127.8 kB / 0.8733 GB, free: 7.453 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001514/0.8231, allocations: 412.1 kB / 0.8737 GB, free: 7.047 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-05/0.8232, allocations: 27.98 kB / 0.8737 GB, free: 7.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002622/0.8258, allocations: 1.569 MB / 0.8752 GB, free: 5.398 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.8259, allocations: 4 kB / 0.8752 GB, free: 5.395 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00627/0.8321, allocations: 1.944 MB / 0.8771 GB, free: 3.398 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/0.8333, allocations: 0.495 MB / 0.8776 GB, free: 2.883 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006264/0.834, allocations: 20 kB / 0.8776 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001945/0.8359, allocations: 143.8 kB / 0.8778 GB, free: 2.723 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.836, allocations: 55.86 kB / 0.8778 GB, free: 2.668 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/0.8362, allocations: 43.97 kB / 0.8779 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003697/0.8399, allocations: 1.746 MB / 0.8796 GB, free: 0.875 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.7e-07/0.8399, allocations: 0 / 0.8796 GB, free: 0.875 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002307/0.8422, allocations: 0.6941 MB / 0.8802 GB, free: 184 kB / 0.6231 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.007613/0.8498, allocations: 3.011 MB / 0.8832 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004414/0.8542, allocations: 1.342 MB / 0.8845 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/0.8543, allocations: 0 / 0.8845 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002268/0.8565, allocations: 0.6641 MB / 0.8851 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006134/0.8627, allocations: 1.33 MB / 0.8864 GB, free: 9.793 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03613/0.8988, allocations: 16.74 MB / 0.9028 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001228/0.9001, allocations: 1.486 MB / 0.9042 GB, free: 7.059 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001853/0.902, allocations: 440.5 kB / 0.9047 GB, free: 6.625 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001218/0.9032, allocations: 0.8976 MB / 0.9055 GB, free: 5.727 MB / 0.6544 GB Notification: Performance of SimCode: time 1.182e-06/0.9032, allocations: 0 / 0.9055 GB, free: 5.727 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1095/1.013, allocations: 65.84 MB / 0.9698 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.68/16.7, allocations: 10.38 kB / 0.9698 GB, free: 4.547 MB / 0.7169 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)