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.0008276/0.0008276, allocations: 97.2 kB / 15.69 MB, free: 480 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.0008789/0.0008793, allocations: 177.5 kB / 16.57 MB, free: 6.859 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.235/1.235, allocations: 223.2 MB / 240.5 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6437/0.6437, allocations: 113.7 MB / 405.3 MB, free: 4.648 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002862/0.0002862, allocations: 12 kB / 493 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1462, allocations: 77.11 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.4056/0.5519, allocations: 110.6 MB / 0.6647 GB, free: 11.45 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02781/0.5797, allocations: 19.94 MB / 0.6842 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004889/0.5847, allocations: 99.31 kB / 0.6843 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.005082/0.5898, allocations: 1.364 MB / 0.6856 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01335/0.6031, allocations: 4.188 MB / 0.6897 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007048/0.6102, allocations: 2.569 MB / 0.6922 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00737/0.6176, allocations: 3.924 MB / 0.6961 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003127/0.6207, allocations: 1.712 MB / 0.6977 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00446/0.6252, allocations: 2.012 MB / 0.6997 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002504/0.6277, allocations: 1.244 MB / 0.7009 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005636/0.6283, allocations: 96 kB / 0.701 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004036/0.6323, allocations: 1.33 MB / 0.7023 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00071/0.6331, allocations: 410.2 kB / 0.7027 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001097/0.6342, allocations: 0.5511 MB / 0.7032 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004082/0.6383, allocations: 3.1 MB / 0.7063 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.6383, allocations: 3.938 kB / 0.7063 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.966e-06/0.6383, allocations: 0 / 0.7063 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001155/0.6384, allocations: 3.938 kB / 0.7063 GB, free: 0.875 MB / 0.5137 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.005261/0.6437, allocations: 2.686 MB / 0.7089 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.6437, allocations: 12.03 kB / 0.7089 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003225/0.644, allocations: 215.8 kB / 0.7091 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004055/0.6481, allocations: 0.9606 MB / 0.71 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003451/0.6516, allocations: 2.071 MB / 0.7121 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008911/0.6525, allocations: 322.9 kB / 0.7124 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001949/0.6527, allocations: 156 kB / 0.7125 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003627/0.6563, allocations: 1.967 MB / 0.7144 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.6564, allocations: 0 / 0.7144 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/0.6565, allocations: 72 kB / 0.7145 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.679e-05/0.6565, allocations: 40 kB / 0.7145 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004374/0.6609, allocations: 1.889 MB / 0.7164 GB, free: 6.262 MB / 0.5294 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.01175/0.6727, allocations: 9.16 MB / 0.7253 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004061/0.6768, allocations: 1.331 MB / 0.7266 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009672/0.6778, allocations: 1.711 MB / 0.7283 GB, free: 9.047 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.6778, allocations: 46.55 kB / 0.7284 GB, free: 8.992 MB / 0.545 GB Notification: Performance of pre-optimization done (n=76): time 2.304e-06/0.6778, allocations: 4 kB / 0.7284 GB, free: 8.988 MB / 0.545 GB Notification: Performance of matching and sorting (n=76): time 0.007986/0.6858, allocations: 2.474 MB / 0.7308 GB, free: 6.465 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.6859, allocations: 89 kB / 0.7309 GB, free: 6.359 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003789/0.6897, allocations: 2.543 MB / 0.7333 GB, free: 3.797 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001421/0.6898, allocations: 49.7 kB / 0.7334 GB, free: 3.742 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007816/0.6906, allocations: 1.046 MB / 0.7344 GB, free: 2.688 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002391/0.6909, allocations: 268.1 kB / 0.7347 GB, free: 2.422 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.219e-05/0.6909, allocations: 20 kB / 0.7347 GB, free: 2.402 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.6911, allocations: 353.9 kB / 0.735 GB, free: 2.051 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001658/0.6927, allocations: 0.6232 MB / 0.7356 GB, free: 1.426 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/0.6946, allocations: 1.005 MB / 0.7366 GB, free: 276 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001722/0.6963, allocations: 0.678 MB / 0.7373 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.6963, allocations: 4 kB / 0.7373 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004895/0.7012, allocations: 1.961 MB / 0.7392 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.7013, allocations: 8 kB / 0.7392 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.7013, allocations: 8 kB / 0.7392 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001529/0.7028, allocations: 445.5 kB / 0.7396 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.704, allocations: 311.5 kB / 0.7399 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001984/0.706, allocations: 1.542 MB / 0.7414 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002989/0.709, allocations: 481.9 kB / 0.7419 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/0.7092, allocations: 55.97 kB / 0.7419 GB, free: 10.73 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 13,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0008475/0.71, allocations: 465.4 kB / 0.7424 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004059/0.7104, allocations: 244.9 kB / 0.7426 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00338/0.7138, allocations: 1.55 MB / 0.7441 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.782e-05/0.7139, allocations: 12 kB / 0.7442 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.7139, allocations: 3.984 kB / 0.7442 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.7139, allocations: 11.98 kB / 0.7442 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007011/0.7209, allocations: 3.716 MB / 0.7478 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.7209, allocations: 4.375 kB / 0.7478 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005813/0.7215, allocations: 131.8 kB / 0.7479 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001421/0.723, allocations: 443.4 kB / 0.7483 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.855e-05/0.723, allocations: 23.97 kB / 0.7484 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002407/0.7254, allocations: 1.626 MB / 0.75 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.7255, allocations: 7.938 kB / 0.75 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005808/0.7313, allocations: 2.334 MB / 0.7522 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00132/0.7326, allocations: 0.5247 MB / 0.7528 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002991/0.7329, allocations: 27.92 kB / 0.7528 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001669/0.7346, allocations: 191.8 kB / 0.753 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.036e-05/0.7347, allocations: 63.83 kB / 0.753 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-05/0.7348, allocations: 39.95 kB / 0.7531 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002859/0.7377, allocations: 1.789 MB / 0.7548 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7377, allocations: 96 / 0.7548 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002049/0.7397, allocations: 0.6982 MB / 0.7555 GB, free: 12.46 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 15,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.006996/0.7468, allocations: 4.176 MB / 0.7596 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004024/0.7508, allocations: 1.424 MB / 0.761 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/0.7508, allocations: 0 / 0.761 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002186/0.753, allocations: 0.7265 MB / 0.7617 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005887/0.7589, allocations: 1.25 MB / 0.7629 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/0.77, allocations: 10.84 MB / 0.7735 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000923/0.771, allocations: 1.533 MB / 0.775 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001966/0.773, allocations: 440 kB / 0.7754 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/0.774, allocations: 0.9015 MB / 0.7763 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of SimCode: time 8.72e-07/0.774, allocations: 0 / 0.7763 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.516/6.29, allocations: 67.75 MB / 0.8424 GB, free: 220.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000292/6.29, allocations: 249.6 kB / 0.8427 GB, free: 219.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.206/9.496, allocations: 4 kB / 0.8427 GB, free: 219.9 MB / 0.6387 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) Environment - environmentSimulation: