Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.CarnotVerifyEtaCarnot,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",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.001186/0.001189, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001215/0.001215, allocations: 192.7 kB / 16.14 MB, free: 6.715 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.216/1.216, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001927/0.001927, allocations: 278.7 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8958/0.8958, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 97.34 kB / 0.5946 GB, free: 28.46 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1365, allocations: 86.98 MB / 0.6795 GB, free: 1.105 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.353/0.4896, allocations: 131.3 MB / 0.8078 GB, free: 33.36 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02302/0.5126, allocations: 23.33 MB / 0.8306 GB, free: 25.53 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003154/0.5158, allocations: 114.8 kB / 0.8307 GB, free: 25.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002524/0.5184, allocations: 1.216 MB / 0.8319 GB, free: 24.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00753/0.5259, allocations: 3.783 MB / 0.8356 GB, free: 22.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003815/0.5297, allocations: 1.954 MB / 0.8375 GB, free: 21.32 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006897/0.5366, allocations: 8.294 MB / 0.8456 GB, free: 16.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001938/0.5386, allocations: 1.966 MB / 0.8475 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003251/0.5419, allocations: 2.368 MB / 0.8498 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001543/0.5434, allocations: 1.874 MB / 0.8516 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002201/0.5436, allocations: 120.5 kB / 0.8517 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00318/0.5468, allocations: 1.74 MB / 0.8534 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003181/0.5472, allocations: 499 kB / 0.8539 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000939/0.5481, allocations: 1.324 MB / 0.8552 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003429/0.5515, allocations: 4.238 MB / 0.8594 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.5516, allocations: 0 / 0.8594 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.51e-07/0.5516, allocations: 0 / 0.8594 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.147e-05/0.5516, allocations: 2.562 kB / 0.8594 GB, free: 8.098 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.004195/0.5558, allocations: 3.18 MB / 0.8625 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.5558, allocations: 7.906 kB / 0.8625 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001901/0.556, allocations: 224 kB / 0.8627 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004054/0.5601, allocations: 0.847 MB / 0.8635 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002956/0.5631, allocations: 2.258 MB / 0.8657 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008143/0.5639, allocations: 298.8 kB / 0.866 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.5641, allocations: 164 kB / 0.8662 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003182/0.5673, allocations: 1.93 MB / 0.868 GB, free: 452 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.5673, allocations: 3.938 kB / 0.868 GB, free: 448 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/0.5674, allocations: 64 kB / 0.8681 GB, free: 384 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.5674, allocations: 39.94 kB / 0.8681 GB, free: 344 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004326/0.5718, allocations: 1.831 MB / 0.8699 GB, free: 14.5 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.01052/0.5823, allocations: 9.027 MB / 0.8787 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003907/0.5862, allocations: 1.196 MB / 0.8799 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000986/0.5872, allocations: 470 kB / 0.8804 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009522/0.5882, allocations: 1.715 MB / 0.882 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.5882, allocations: 50.31 kB / 0.8821 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 2.004e-06/0.5882, allocations: 0 / 0.8821 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.007526/0.5958, allocations: 2.34 MB / 0.8844 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.5958, allocations: 85.11 kB / 0.8845 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003263/0.5991, allocations: 2.516 MB / 0.8869 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.671e-05/0.5992, allocations: 45.7 kB / 0.887 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007817/0.6, allocations: 1.053 MB / 0.888 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002117/0.6002, allocations: 268.2 kB / 0.8882 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003966/0.6006, allocations: 254.6 kB / 0.8885 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.6007, allocations: 345.9 kB / 0.8888 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00164/0.6023, allocations: 0.5881 MB / 0.8894 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001932/0.6043, allocations: 0.9738 MB / 0.8903 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0028/0.6071, allocations: 1.268 MB / 0.8916 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.6071, allocations: 3.984 kB / 0.8916 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005836/0.613, allocations: 2.044 MB / 0.8936 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.613, allocations: 8 kB / 0.8936 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.613, allocations: 8 kB / 0.8936 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001632/0.6146, allocations: 0.4917 MB / 0.8941 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.6158, allocations: 287.5 kB / 0.8943 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001913/0.6177, allocations: 1.514 MB / 0.8958 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002634/0.6204, allocations: 437.9 kB / 0.8962 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/0.6205, allocations: 59.97 kB / 0.8963 GB, free: 2.039 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 (111): * Single equations (assignments): 109 * 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,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0006809/0.6212, allocations: 461.5 kB / 0.8967 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003479/0.6216, allocations: 248.9 kB / 0.897 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003303/0.6249, allocations: 1.511 MB / 0.8984 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/0.6249, allocations: 12 kB / 0.8985 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.6249, allocations: 0 / 0.8985 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.6249, allocations: 7.984 kB / 0.8985 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006712/0.6316, allocations: 3.618 MB / 0.902 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/0.6317, allocations: 4 kB / 0.902 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005863/0.6323, allocations: 124.2 kB / 0.9021 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001587/0.6339, allocations: 495 kB / 0.9026 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-05/0.6339, allocations: 23.98 kB / 0.9026 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00229/0.6362, allocations: 1.585 MB / 0.9042 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.6363, allocations: 7.938 kB / 0.9042 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005581/0.6418, allocations: 1.935 MB / 0.9061 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007981/0.6426, allocations: 497.5 kB / 0.9065 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003019/0.643, allocations: 23.98 kB / 0.9066 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001681/0.6446, allocations: 167.7 kB / 0.9067 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.077e-05/0.6447, allocations: 55.8 kB / 0.9068 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.06e-05/0.6448, allocations: 43.97 kB / 0.9068 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002588/0.6474, allocations: 1.773 MB / 0.9085 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.01e-07/0.6474, allocations: 0 / 0.9085 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00164/0.6491, allocations: 0.6788 MB / 0.9092 GB, free: 4.535 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 (62): * Single equations (assignments): 52 * 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,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006539/0.6556, allocations: 2.993 MB / 0.9121 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003725/0.6594, allocations: 1.35 MB / 0.9134 GB, free: 144 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6594, allocations: 0 / 0.9134 GB, free: 144 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002146/0.6615, allocations: 0.6747 MB / 0.9141 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004825/0.6664, allocations: 1.266 MB / 0.9153 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03685/0.7032, allocations: 19.8 MB / 0.9347 GB, free: 8.91 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008552/0.7041, allocations: 1.49 MB / 0.9361 GB, free: 7.387 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001806/0.7059, allocations: 436.2 kB / 0.9366 GB, free: 6.965 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001025/0.7069, allocations: 0.9015 MB / 0.9374 GB, free: 6.062 MB / 0.6387 GB Notification: Performance of SimCode: time 4.31e-07/0.707, allocations: 0 / 0.9374 GB, free: 6.062 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08493/0.7919, allocations: 65.85 MB / 1.002 GB, free: 5.137 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/0.7921, allocations: 304.1 kB / 1.002 GB, free: 4.75 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.242/4.034, allocations: 0 / 1.002 GB, free: 4.75 MB / 0.7012 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)