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.001462/0.001462, allocations: 111.3 kB / 15.34 MB, free: 0.5117 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.001759/0.001759, allocations: 185.9 kB / 16.25 MB, free: 6.137 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.28/1.28, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00206/0.00206, allocations: 294.4 kB / 290.3 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8681/0.8681, allocations: 169.2 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 88.97 kB / 0.5948 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1287, allocations: 86.98 MB / 0.6797 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.35/0.4787, allocations: 131 MB / 0.8076 GB, free: 33.37 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02378/0.5025, allocations: 23.07 MB / 0.8302 GB, free: 25.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003842/0.5064, allocations: 114.6 kB / 0.8303 GB, free: 25.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002825/0.5093, allocations: 1.287 MB / 0.8315 GB, free: 24.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008342/0.5177, allocations: 3.812 MB / 0.8353 GB, free: 22.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003881/0.5215, allocations: 1.977 MB / 0.8372 GB, free: 21.49 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005618/0.5272, allocations: 6.579 MB / 0.8436 GB, free: 17.81 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00189/0.5291, allocations: 2.343 MB / 0.8459 GB, free: 16.3 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003745/0.5328, allocations: 2.763 MB / 0.8486 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001396/0.5342, allocations: 1.94 MB / 0.8505 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002356/0.5345, allocations: 247.4 kB / 0.8507 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003137/0.5376, allocations: 1.955 MB / 0.8526 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003291/0.538, allocations: 0.605 MB / 0.8532 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000892/0.5389, allocations: 1.456 MB / 0.8546 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003496/0.5424, allocations: 4.352 MB / 0.8589 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5424, allocations: 0 / 0.8589 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5424, allocations: 0 / 0.8589 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.201e-05/0.5424, allocations: 0 / 0.8589 GB, free: 7.984 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.003801/0.5462, allocations: 3.157 MB / 0.862 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.5462, allocations: 7.875 kB / 0.862 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001822/0.5464, allocations: 227.8 kB / 0.8622 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003639/0.5501, allocations: 0.8431 MB / 0.863 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002882/0.553, allocations: 2.261 MB / 0.8652 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007467/0.5537, allocations: 298.7 kB / 0.8655 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/0.5539, allocations: 159.9 kB / 0.8657 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002965/0.5569, allocations: 1.93 MB / 0.8676 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/0.5569, allocations: 7.938 kB / 0.8676 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.557, allocations: 64 kB / 0.8676 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.5571, allocations: 47.94 kB / 0.8677 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003848/0.5609, allocations: 1.807 MB / 0.8694 GB, free: 14.98 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.01022/0.5711, allocations: 8.999 MB / 0.8782 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003881/0.575, allocations: 1.196 MB / 0.8794 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009849/0.576, allocations: 466 kB / 0.8798 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001018/0.5771, allocations: 1.715 MB / 0.8815 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.5771, allocations: 50.31 kB / 0.8816 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 1.904e-06/0.5771, allocations: 0 / 0.8816 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.007509/0.5846, allocations: 2.324 MB / 0.8838 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.5847, allocations: 85.11 kB / 0.8839 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003096/0.5878, allocations: 2.489 MB / 0.8863 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.134e-05/0.5879, allocations: 45.7 kB / 0.8864 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000781/0.5887, allocations: 1.045 MB / 0.8874 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002076/0.5889, allocations: 268.1 kB / 0.8877 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004201/0.5893, allocations: 262.6 kB / 0.8879 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.5894, allocations: 349.8 kB / 0.8882 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001613/0.591, allocations: 0.592 MB / 0.8888 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001885/0.5929, allocations: 0.9738 MB / 0.8898 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002726/0.5957, allocations: 1.26 MB / 0.891 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.5957, allocations: 4 kB / 0.891 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00576/0.6015, allocations: 2.04 MB / 0.893 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.6015, allocations: 8 kB / 0.893 GB, free: 5.441 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.6015, allocations: 8 kB / 0.893 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001421/0.6029, allocations: 425.9 kB / 0.8934 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.6041, allocations: 291.5 kB / 0.8937 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001898/0.606, allocations: 1.499 MB / 0.8952 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002502/0.6085, allocations: 433.9 kB / 0.8956 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.6086, allocations: 59.97 kB / 0.8956 GB, free: 2.691 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.0006482/0.6093, allocations: 458.8 kB / 0.8961 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003397/0.6096, allocations: 252.9 kB / 0.8963 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003234/0.6129, allocations: 1.503 MB / 0.8978 GB, free: 484 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/0.6129, allocations: 12 kB / 0.8978 GB, free: 472 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.6129, allocations: 0 / 0.8978 GB, free: 472 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/0.6129, allocations: 3.984 kB / 0.8978 GB, free: 468 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006586/0.6195, allocations: 3.595 MB / 0.9013 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/0.6195, allocations: 7.984 kB / 0.9013 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005678/0.6201, allocations: 124.2 kB / 0.9014 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001284/0.6214, allocations: 423.4 kB / 0.9018 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-05/0.6215, allocations: 31.97 kB / 0.9019 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002257/0.6237, allocations: 1.565 MB / 0.9034 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.274e-05/0.6237, allocations: 7.938 kB / 0.9034 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005325/0.6291, allocations: 1.931 MB / 0.9053 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008138/0.6299, allocations: 489.5 kB / 0.9058 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003037/0.6302, allocations: 27.98 kB / 0.9058 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001657/0.6319, allocations: 167.7 kB / 0.9059 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.471e-05/0.632, allocations: 59.8 kB / 0.906 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.011e-05/0.6321, allocations: 39.97 kB / 0.906 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002598/0.6347, allocations: 1.75 MB / 0.9077 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6347, allocations: 0 / 0.9077 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001707/0.6364, allocations: 0.6788 MB / 0.9084 GB, free: 5.332 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.006654/0.6431, allocations: 2.97 MB / 0.9113 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003931/0.647, allocations: 1.392 MB / 0.9127 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.647, allocations: 192 / 0.9127 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002108/0.6491, allocations: 0.6691 MB / 0.9133 GB, free: 244 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005142/0.6543, allocations: 1.336 MB / 0.9146 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03821/0.6925, allocations: 19.78 MB / 0.9339 GB, free: 9.668 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000913/0.6935, allocations: 1.482 MB / 0.9354 GB, free: 8.152 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001702/0.6952, allocations: 437.5 kB / 0.9358 GB, free: 7.727 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/0.6962, allocations: 0.9053 MB / 0.9367 GB, free: 6.82 MB / 0.6387 GB Notification: Performance of SimCode: time 5.31e-07/0.6962, allocations: 3.938 kB / 0.9367 GB, free: 6.816 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.9/2.597, allocations: 67.32 MB / 1.002 GB, free: 4.434 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003448/2.597, allocations: 290.3 kB / 1.003 GB, free: 4.051 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.767/7.364, allocations: 4 kB / 1.003 GB, free: 4.047 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)