Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="IDEAS_IDEAS_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.001302/0.001302, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001529/0.001529, allocations: 190.7 kB / 16.25 MB, free: 6.625 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.217/1.217, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7038/0.7038, allocations: 132.2 MB / 422.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001005/0.001005, allocations: 75.88 kB / 0.5014 GB, free: 9.039 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1237, allocations: 80.2 MB / 0.5797 GB, free: 9.055 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.318/0.4417, allocations: 131 MB / 0.7076 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02777/0.4695, allocations: 23.02 MB / 0.7301 GB, free: 3.188 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004145/0.4736, allocations: 120 kB / 0.7302 GB, free: 3.137 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00336/0.477, allocations: 1.28 MB / 0.7315 GB, free: 2.371 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.009621/0.4867, allocations: 3.818 MB / 0.7352 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004687/0.4914, allocations: 1.982 MB / 0.7371 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007267/0.4986, allocations: 6.569 MB / 0.7435 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002796/0.5015, allocations: 2.36 MB / 0.7458 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005167/0.5066, allocations: 2.775 MB / 0.7486 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002559/0.5092, allocations: 1.948 MB / 0.7505 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004452/0.5097, allocations: 248 kB / 0.7507 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003861/0.5135, allocations: 1.953 MB / 0.7526 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004776/0.514, allocations: 0.607 MB / 0.7532 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00143/0.5155, allocations: 1.454 MB / 0.7546 GB, free: 136 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004772/0.5202, allocations: 4.362 MB / 0.7589 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.5202, allocations: 0 / 0.7589 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.81e-07/0.5203, allocations: 0 / 0.7589 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.686e-05/0.5203, allocations: 0 / 0.7589 GB, free: 11.76 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.004397/0.5247, allocations: 3.191 MB / 0.762 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.523e-05/0.5247, allocations: 8.031 kB / 0.762 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000208/0.5249, allocations: 224.3 kB / 0.7622 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003936/0.5289, allocations: 0.8395 MB / 0.763 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003206/0.5321, allocations: 2.257 MB / 0.7652 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008458/0.533, allocations: 290.9 kB / 0.7655 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001897/0.5332, allocations: 160 kB / 0.7657 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003428/0.5366, allocations: 1.934 MB / 0.7676 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/0.5366, allocations: 3.938 kB / 0.7676 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001362/0.5368, allocations: 75.97 kB / 0.7676 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/0.5368, allocations: 43.94 kB / 0.7677 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00409/0.5409, allocations: 1.823 MB / 0.7695 GB, free: 0.6797 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.01008/0.551, allocations: 9.036 MB / 0.7783 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003832/0.5548, allocations: 1.2 MB / 0.7794 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000967/0.5558, allocations: 457.4 kB / 0.7799 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009318/0.5567, allocations: 1.723 MB / 0.7816 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.5568, allocations: 42.56 kB / 0.7816 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 1.913e-06/0.5568, allocations: 0 / 0.7816 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.007407/0.5642, allocations: 2.338 MB / 0.7839 GB, free: 0.832 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.5643, allocations: 85.11 kB / 0.784 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003242/0.5675, allocations: 2.52 MB / 0.7864 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.559e-05/0.5676, allocations: 49.69 kB / 0.7865 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007226/0.5683, allocations: 1.038 MB / 0.7875 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002119/0.5685, allocations: 280.1 kB / 0.7878 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003749/0.5689, allocations: 250.6 kB / 0.788 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.569, allocations: 349.9 kB / 0.7883 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001576/0.5706, allocations: 0.5881 MB / 0.7889 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001846/0.5725, allocations: 0.966 MB / 0.7899 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002633/0.5751, allocations: 1.269 MB / 0.7911 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.5751, allocations: 7.938 kB / 0.7911 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005624/0.5808, allocations: 2.051 MB / 0.7931 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.5808, allocations: 8.625 kB / 0.7931 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.5808, allocations: 8 kB / 0.7931 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001518/0.5823, allocations: 497.1 kB / 0.7936 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.5835, allocations: 287.5 kB / 0.7939 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001818/0.5853, allocations: 1.517 MB / 0.7953 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0025/0.5878, allocations: 433.9 kB / 0.7958 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.5879, allocations: 59.97 kB / 0.7958 GB, free: 4.219 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 (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.0006075/0.5885, allocations: 459 kB / 0.7963 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003615/0.5889, allocations: 252.8 kB / 0.7965 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003116/0.592, allocations: 1.497 MB / 0.798 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/0.592, allocations: 12 kB / 0.798 GB, free: 2 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.5921, allocations: 3.938 kB / 0.798 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.5921, allocations: 3.984 kB / 0.798 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006355/0.5984, allocations: 3.608 MB / 0.8015 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.545e-06/0.5985, allocations: 4.375 kB / 0.8015 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005529/0.599, allocations: 131.8 kB / 0.8016 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001445/0.6005, allocations: 494 kB / 0.8021 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.607e-05/0.6005, allocations: 23.98 kB / 0.8021 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002247/0.6028, allocations: 1.594 MB / 0.8037 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.6028, allocations: 4 kB / 0.8037 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005115/0.6079, allocations: 1.928 MB / 0.8056 GB, free: 9.988 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000674/0.6086, allocations: 497.5 kB / 0.806 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003228/0.6089, allocations: 20 kB / 0.8061 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001618/0.6106, allocations: 175.7 kB / 0.8062 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.468e-05/0.6106, allocations: 55.81 kB / 0.8063 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.239e-05/0.6107, allocations: 47.95 kB / 0.8063 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002448/0.6132, allocations: 1.769 MB / 0.8081 GB, free: 7.414 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6132, allocations: 0 / 0.8081 GB, free: 7.414 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00151/0.6147, allocations: 0.6828 MB / 0.8087 GB, free: 6.73 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 (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.006146/0.6209, allocations: 2.978 MB / 0.8116 GB, free: 3.695 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003618/0.6245, allocations: 1.398 MB / 0.813 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.6245, allocations: 4.188 kB / 0.813 GB, free: 2.293 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002042/0.6266, allocations: 0.6662 MB / 0.8136 GB, free: 1.629 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004831/0.6314, allocations: 1.341 MB / 0.815 GB, free: 384 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03652/0.6679, allocations: 19.82 MB / 0.8343 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008977/0.6688, allocations: 1.486 MB / 0.8358 GB, free: 9.539 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001681/0.6705, allocations: 440.4 kB / 0.8362 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009996/0.6715, allocations: 0.8976 MB / 0.8371 GB, free: 8.227 MB / 0.6544 GB Notification: Performance of SimCode: time 3.1e-07/0.6716, allocations: 4 kB / 0.8371 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.273/3.944, allocations: 67.63 MB / 0.9031 GB, free: 212.4 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/3.945, allocations: 266.5 kB / 0.9034 GB, free: 212.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.561/7.505, allocations: 0 / 0.9034 GB, free: 212.1 MB / 0.67 GB (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)