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.001163/0.001163, allocations: 105.9 kB / 16.4 MB, free: 6.504 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.001138/0.001138, allocations: 196 kB / 17.34 MB, free: 5.742 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.192/1.192, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6946/0.6946, allocations: 122.8 MB / 414.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 62.05 kB / 0.5679 GB, free: 28.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1085, allocations: 77.94 MB / 0.6441 GB, free: 9.586 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.3688/0.4774, allocations: 132.2 MB / 0.7731 GB, free: 28.82 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0227/0.5001, allocations: 23.22 MB / 0.7958 GB, free: 27.1 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002822/0.503, allocations: 127.2 kB / 0.7959 GB, free: 27.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002522/0.5056, allocations: 1.483 MB / 0.7974 GB, free: 26.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007197/0.5128, allocations: 4.097 MB / 0.8014 GB, free: 24.72 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003817/0.5166, allocations: 2.172 MB / 0.8035 GB, free: 23.67 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00505/0.5216, allocations: 6.534 MB / 0.8099 GB, free: 20.16 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001967/0.5236, allocations: 2.349 MB / 0.8122 GB, free: 18.66 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003645/0.5273, allocations: 2.758 MB / 0.8149 GB, free: 17.11 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001513/0.5288, allocations: 1.878 MB / 0.8167 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002461/0.5291, allocations: 245.8 kB / 0.8169 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003089/0.5322, allocations: 1.939 MB / 0.8188 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003414/0.5325, allocations: 0.5911 MB / 0.8194 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009183/0.5334, allocations: 1.457 MB / 0.8208 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003521/0.537, allocations: 4.352 MB / 0.8251 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.537, allocations: 2.594 kB / 0.8251 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.382e-06/0.537, allocations: 0 / 0.8251 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.182e-05/0.537, allocations: 0 / 0.8251 GB, free: 11.02 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.003871/0.5409, allocations: 3.173 MB / 0.8282 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.5409, allocations: 12.62 kB / 0.8282 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001805/0.5411, allocations: 216 kB / 0.8284 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003794/0.5449, allocations: 0.8438 MB / 0.8292 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003096/0.548, allocations: 2.319 MB / 0.8315 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.587e-05/0.5481, allocations: 131 kB / 0.8316 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001788/0.5483, allocations: 160 kB / 0.8318 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002976/0.5513, allocations: 1.923 MB / 0.8336 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/0.5513, allocations: 3.938 kB / 0.8336 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/0.5514, allocations: 64 kB / 0.8337 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/0.5515, allocations: 39.94 kB / 0.8337 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003798/0.5553, allocations: 1.788 MB / 0.8355 GB, free: 500 kB / 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.01011/0.5654, allocations: 8.961 MB / 0.8442 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003981/0.5694, allocations: 1.192 MB / 0.8454 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001053/0.5704, allocations: 465.4 kB / 0.8458 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001006/0.5715, allocations: 1.724 MB / 0.8475 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.5715, allocations: 42.56 kB / 0.8476 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.104e-06/0.5715, allocations: 3.938 kB / 0.8476 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.007913/0.5794, allocations: 2.328 MB / 0.8498 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.5795, allocations: 88.86 kB / 0.8499 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003147/0.5826, allocations: 2.494 MB / 0.8524 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.574e-05/0.5827, allocations: 45.7 kB / 0.8524 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007681/0.5835, allocations: 1.036 MB / 0.8534 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/0.5837, allocations: 274 kB / 0.8537 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003688/0.5841, allocations: 258.6 kB / 0.8539 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.5842, allocations: 341.9 kB / 0.8543 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001631/0.5858, allocations: 0.5725 MB / 0.8548 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00192/0.5877, allocations: 0.9543 MB / 0.8557 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0028/0.5906, allocations: 1.244 MB / 0.857 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/0.5906, allocations: 11.94 kB / 0.857 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005819/0.5964, allocations: 2.023 MB / 0.8589 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.5964, allocations: 8 kB / 0.859 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.5964, allocations: 8 kB / 0.859 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001404/0.5979, allocations: 421.7 kB / 0.8594 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.599, allocations: 283.5 kB / 0.8596 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001978/0.601, allocations: 1.502 MB / 0.8611 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002232/0.6032, allocations: 362 kB / 0.8614 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.6033, allocations: 63.97 kB / 0.8615 GB, free: 4.484 MB / 0.6075 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.0006212/0.604, allocations: 464.8 kB / 0.862 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003558/0.6043, allocations: 256.8 kB / 0.8622 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003384/0.6077, allocations: 1.483 MB / 0.8636 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.6077, allocations: 8 kB / 0.8637 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.6078, allocations: 4 kB / 0.8637 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.6078, allocations: 3.984 kB / 0.8637 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00681/0.6146, allocations: 3.604 MB / 0.8672 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.6146, allocations: 7.938 kB / 0.8672 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005738/0.6152, allocations: 132.2 kB / 0.8673 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001295/0.6165, allocations: 413.2 kB / 0.8677 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.835e-05/0.6166, allocations: 31.92 kB / 0.8677 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00242/0.619, allocations: 1.565 MB / 0.8693 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.619, allocations: 7.938 kB / 0.8693 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005549/0.6246, allocations: 1.934 MB / 0.8712 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006812/0.6253, allocations: 481.6 kB / 0.8716 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002564/0.6255, allocations: 23.94 kB / 0.8716 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001549/0.6271, allocations: 139.8 kB / 0.8718 GB, free: 9.73 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.471e-05/0.6272, allocations: 59.81 kB / 0.8718 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-05/0.6272, allocations: 47.89 kB / 0.8719 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002535/0.6298, allocations: 1.746 MB / 0.8736 GB, free: 7.875 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6298, allocations: 0 / 0.8736 GB, free: 7.875 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001591/0.6314, allocations: 0.6944 MB / 0.8743 GB, free: 7.18 MB / 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.006771/0.6382, allocations: 2.989 MB / 0.8772 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003699/0.6419, allocations: 1.354 MB / 0.8785 GB, free: 2.84 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6419, allocations: 0 / 0.8785 GB, free: 2.84 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002223/0.6441, allocations: 0.6564 MB / 0.8791 GB, free: 2.184 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004908/0.649, allocations: 1.327 MB / 0.8804 GB, free: 0.875 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03086/0.6799, allocations: 16.66 MB / 0.8967 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000943/0.6809, allocations: 1.486 MB / 0.8982 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001351/0.6822, allocations: 440.4 kB / 0.8986 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001034/0.6833, allocations: 0.8976 MB / 0.8995 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of SimCode: time 2.81e-07/0.6833, allocations: 0 / 0.8995 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09392/0.7772, allocations: 65.83 MB / 0.9637 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.86/14.64, allocations: 7.922 kB / 0.9638 GB, free: 11.78 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)