Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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.Carnot_TEva_LimitedCapacity,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity",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.0009026/0.0009026, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005262/0.005262, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.251/1.251, allocations: 223.2 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7335/0.7335, allocations: 132.3 MB / 423.7 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003062/0.0003062, allocations: 9.438 kB / 0.5041 GB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3625, allocations: 81.58 MB / 0.5837 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.0537/0.4163, allocations: 59.71 MB / 0.6421 GB, free: 4.539 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01495/0.4312, allocations: 11.9 MB / 0.6537 GB, free: 8.609 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00172/0.433, allocations: 47.69 kB / 0.6537 GB, free: 8.562 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00156/0.4346, allocations: 0.5477 MB / 0.6543 GB, free: 8.012 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004946/0.4395, allocations: 1.796 MB / 0.656 GB, free: 6.207 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002794/0.4423, allocations: 1.084 MB / 0.6571 GB, free: 5.137 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004683/0.447, allocations: 3.906 MB / 0.6609 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001461/0.4485, allocations: 0.9019 MB / 0.6618 GB, free: 288 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002338/0.4509, allocations: 1.12 MB / 0.6629 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.452, allocations: 0.8553 MB / 0.6637 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.976e-05/0.4521, allocations: 44 kB / 0.6637 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00309/0.4552, allocations: 1.345 MB / 0.6651 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002757/0.4555, allocations: 210.9 kB / 0.6653 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007648/0.4562, allocations: 0.6311 MB / 0.6659 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003023/0.4593, allocations: 2.204 MB / 0.668 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.4593, allocations: 4 kB / 0.668 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4593, allocations: 0 / 0.668 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.653e-05/0.4593, allocations: 0 / 0.668 GB, free: 9.844 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002513/0.4618, allocations: 1.493 MB / 0.6695 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.4619, allocations: 8.031 kB / 0.6695 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001313/0.462, allocations: 122.9 kB / 0.6696 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001611/0.4636, allocations: 386.7 kB / 0.67 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002005/0.4657, allocations: 1.124 MB / 0.6711 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003571/0.466, allocations: 133.9 kB / 0.6712 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.4662, allocations: 80 kB / 0.6713 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/0.468, allocations: 0.97 MB / 0.6722 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.468, allocations: 0 / 0.6722 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.842e-05/0.4681, allocations: 32 kB / 0.6723 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.4681, allocations: 23.94 kB / 0.6723 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002023/0.4702, allocations: 0.8431 MB / 0.6731 GB, free: 4.473 MB / 0.4981 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.005661/0.4758, allocations: 4.815 MB / 0.6778 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/0.4774, allocations: 0.5971 MB / 0.6784 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005969/0.478, allocations: 283 kB / 0.6787 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001323/0.4793, allocations: 1.388 MB / 0.68 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.4794, allocations: 46.48 kB / 0.6801 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.114e-06/0.4794, allocations: 0 / 0.6801 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.006944/0.4863, allocations: 1.849 MB / 0.6819 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.4864, allocations: 63.34 kB / 0.6819 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001417/0.4878, allocations: 1.051 MB / 0.683 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.672e-05/0.4879, allocations: 37.7 kB / 0.683 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003751/0.4882, allocations: 0.5196 MB / 0.6835 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.4884, allocations: 153.8 kB / 0.6836 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-05/0.4885, allocations: 49.69 kB / 0.6837 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.901e-05/0.4886, allocations: 326 kB / 0.684 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007567/0.4893, allocations: 293 kB / 0.6843 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008833/0.4902, allocations: 497.9 kB / 0.6848 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/0.4916, allocations: 0.6589 MB / 0.6854 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.4916, allocations: 7.938 kB / 0.6854 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00234/0.494, allocations: 0.9727 MB / 0.6864 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001228/0.4941, allocations: 208.3 kB / 0.6866 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.4941, allocations: 11.98 kB / 0.6866 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00126/0.4954, allocations: 324.7 kB / 0.6869 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004407/0.4958, allocations: 115.9 kB / 0.687 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/0.4973, allocations: 0.9425 MB / 0.6879 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.4985, allocations: 183.2 kB / 0.6881 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.968e-05/0.4985, allocations: 24 kB / 0.6881 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.895e-06/0.4985, allocations: 4 kB / 0.6881 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002094/0.5006, allocations: 0.8476 MB / 0.6889 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.5007, allocations: 4 kB / 0.6889 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/0.5017, allocations: 332 kB / 0.6893 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004199/0.5021, allocations: 115.8 kB / 0.6894 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.5035, allocations: 0.9347 MB / 0.6903 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.5046, allocations: 159.3 kB / 0.6904 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-05/0.5046, allocations: 31.98 kB / 0.6905 GB, free: 1.68 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0004657/0.5051, allocations: 345 kB / 0.6908 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.5053, allocations: 106.7 kB / 0.6909 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002882/0.5081, allocations: 1.081 MB / 0.692 GB, free: 136 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.5082, allocations: 8 kB / 0.692 GB, free: 128 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.5082, allocations: 0 / 0.692 GB, free: 128 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.5082, allocations: 3.938 kB / 0.692 GB, free: 124 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004733/0.5129, allocations: 2.17 MB / 0.6941 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.513, allocations: 4.281 kB / 0.6941 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.5132, allocations: 63.91 kB / 0.6941 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001019/0.5142, allocations: 324.4 kB / 0.6945 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.382e-05/0.5142, allocations: 16 kB / 0.6945 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001425/0.5157, allocations: 0.9756 MB / 0.6954 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.5157, allocations: 4 kB / 0.6954 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003343/0.519, allocations: 1.18 MB / 0.6966 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004228/0.5195, allocations: 283.4 kB / 0.6968 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.5196, allocations: 19.98 kB / 0.6969 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008161/0.5204, allocations: 107.8 kB / 0.697 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.337e-05/0.5205, allocations: 39.83 kB / 0.697 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-05/0.5206, allocations: 23.98 kB / 0.697 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001085/0.5216, allocations: 0.743 MB / 0.6978 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5217, allocations: 0 / 0.6978 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001439/0.5231, allocations: 0.5692 MB / 0.6983 GB, free: 9.438 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004297/0.5274, allocations: 2.018 MB / 0.7003 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002707/0.5301, allocations: 1.061 MB / 0.7013 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.5301, allocations: 0 / 0.7013 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007503/0.5309, allocations: 334.8 kB / 0.7016 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002686/0.5336, allocations: 0.4997 MB / 0.7021 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0152/0.5488, allocations: 8.765 MB / 0.7107 GB, free: 12.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005463/0.5494, allocations: 1.057 MB / 0.7117 GB, free: 11.21 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008859/0.5503, allocations: 215.4 kB / 0.7119 GB, free: 11.01 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004788/0.5508, allocations: 415.2 kB / 0.7123 GB, free: 10.6 MB / 0.545 GB Notification: Performance of SimCode: time 6.51e-07/0.5508, allocations: 0 / 0.7123 GB, free: 10.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6292/1.18, allocations: 32.24 MB / 0.7438 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002419/1.18, allocations: 274.8 kB / 0.7441 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.675/3.856, allocations: 2.516 kB / 0.7441 GB, free: 10.55 MB / 0.5762 GB (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)