Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,fileNamePrefix="IDEAS_dev_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.0008349/0.0008348, allocations: 91.84 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.004563/0.004563, allocations: 169.4 kB / 16.26 MB, free: 6.68 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.15/1.15, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8047/0.8047, allocations: 135.3 MB / 426.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002629/0.0002629, allocations: 8 kB / 0.5077 GB, free: 4.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1239, allocations: 82.31 MB / 0.5881 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.2551/0.379, allocations: 59.7 MB / 0.6464 GB, free: 17.13 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01036/0.3894, allocations: 11.9 MB / 0.658 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001261/0.3907, allocations: 51.19 kB / 0.658 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.3917, allocations: 0.5465 MB / 0.6586 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002916/0.3947, allocations: 1.8 MB / 0.6603 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001794/0.3965, allocations: 1.084 MB / 0.6614 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002609/0.3991, allocations: 3.897 MB / 0.6652 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009907/0.4001, allocations: 0.9004 MB / 0.6661 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001537/0.4016, allocations: 1.122 MB / 0.6672 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008613/0.4025, allocations: 0.8477 MB / 0.668 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.64e-05/0.4026, allocations: 41.72 kB / 0.668 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001927/0.4045, allocations: 1.356 MB / 0.6694 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002/0.4048, allocations: 211.3 kB / 0.6696 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005141/0.4053, allocations: 0.6318 MB / 0.6702 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002192/0.4075, allocations: 2.202 MB / 0.6723 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.4075, allocations: 1.031 kB / 0.6723 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.4075, allocations: 0 / 0.6723 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.4075, allocations: 0 / 0.6723 GB, free: 2.098 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.00215/0.4097, allocations: 1.493 MB / 0.6738 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.4097, allocations: 9.906 kB / 0.6738 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001209/0.4098, allocations: 122.5 kB / 0.6739 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001551/0.4114, allocations: 381.5 kB / 0.6743 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.413, allocations: 1.132 MB / 0.6754 GB, free: 192 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003369/0.4134, allocations: 131.3 kB / 0.6755 GB, free: 156 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.4135, allocations: 80.12 kB / 0.6756 GB, free: 132 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/0.4152, allocations: 0.9664 MB / 0.6765 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.4153, allocations: 1.125 kB / 0.6765 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.571e-05/0.4153, allocations: 36.52 kB / 0.6766 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.4154, allocations: 22.84 kB / 0.6766 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001978/0.4173, allocations: 0.8453 MB / 0.6774 GB, free: 15.37 MB / 0.5137 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.0055/0.4229, allocations: 4.807 MB / 0.6821 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.4244, allocations: 0.5951 MB / 0.6827 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006002/0.425, allocations: 290.1 kB / 0.683 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001262/0.4262, allocations: 1.398 MB / 0.6843 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.4263, allocations: 41.25 kB / 0.6844 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 1.803e-06/0.4263, allocations: 0 / 0.6844 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.006815/0.4331, allocations: 1.843 MB / 0.6862 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.4331, allocations: 59 kB / 0.6862 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/0.4345, allocations: 1.063 MB / 0.6873 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.798e-05/0.4346, allocations: 36.83 kB / 0.6873 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004109/0.435, allocations: 0.5227 MB / 0.6878 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.4351, allocations: 157.3 kB / 0.688 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-05/0.4352, allocations: 47.98 kB / 0.688 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.4353, allocations: 324.8 kB / 0.6883 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007462/0.4361, allocations: 294.5 kB / 0.6886 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000896/0.437, allocations: 492.9 kB / 0.6891 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/0.4384, allocations: 0.6648 MB / 0.6897 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.4384, allocations: 4.969 kB / 0.6897 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002272/0.4407, allocations: 0.9695 MB / 0.6907 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.4408, allocations: 210.2 kB / 0.6909 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.4408, allocations: 3.812 kB / 0.6909 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/0.442, allocations: 330.9 kB / 0.6912 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004266/0.4425, allocations: 114.4 kB / 0.6913 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/0.4439, allocations: 0.9402 MB / 0.6922 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.445, allocations: 182.1 kB / 0.6924 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.425e-05/0.4451, allocations: 32.48 kB / 0.6924 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.941e-06/0.4451, allocations: 4.094 kB / 0.6924 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002098/0.4472, allocations: 0.8497 MB / 0.6933 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.4472, allocations: 5.562 kB / 0.6933 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.4483, allocations: 317.4 kB / 0.6936 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004116/0.4487, allocations: 118.4 kB / 0.6937 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.45, allocations: 0.9383 MB / 0.6946 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009212/0.451, allocations: 155.9 kB / 0.6947 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.482e-05/0.451, allocations: 35.52 kB / 0.6948 GB, free: 4.715 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.0003804/0.4514, allocations: 353.5 kB / 0.6951 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.4516, allocations: 106.1 kB / 0.6952 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002854/0.4544, allocations: 1.072 MB / 0.6963 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.4545, allocations: 7.031 kB / 0.6963 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4545, allocations: 0 / 0.6963 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.4545, allocations: 7.953 kB / 0.6963 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00466/0.4592, allocations: 2.166 MB / 0.6984 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.4592, allocations: 6 kB / 0.6984 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.4594, allocations: 62.5 kB / 0.6985 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009492/0.4603, allocations: 318.5 kB / 0.6988 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.361e-05/0.4604, allocations: 17.33 kB / 0.6988 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/0.4618, allocations: 0.9702 MB / 0.6997 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.4618, allocations: 2.344 kB / 0.6997 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003242/0.465, allocations: 1.193 MB / 0.7009 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003283/0.4654, allocations: 280.5 kB / 0.7012 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.4655, allocations: 13.69 kB / 0.7012 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007838/0.4663, allocations: 104.7 kB / 0.7013 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.127e-05/0.4664, allocations: 43.98 kB / 0.7013 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.246e-05/0.4664, allocations: 23.56 kB / 0.7013 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009877/0.4674, allocations: 0.745 MB / 0.7021 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4674, allocations: 0 / 0.7021 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00138/0.4688, allocations: 0.5682 MB / 0.7026 GB, free: 1.051 MB / 0.5137 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.004062/0.4729, allocations: 2.03 MB / 0.7046 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002475/0.4753, allocations: 1.054 MB / 0.7056 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.4754, allocations: 4 kB / 0.7056 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007282/0.4761, allocations: 334.5 kB / 0.706 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002496/0.4786, allocations: 0.4975 MB / 0.7064 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01445/0.4931, allocations: 8.745 MB / 0.715 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005515/0.4936, allocations: 1.061 MB / 0.716 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007211/0.4944, allocations: 221.4 kB / 0.7162 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004702/0.4948, allocations: 407.3 kB / 0.7166 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of SimCode: time 3.2e-07/0.4948, allocations: 0 / 0.7166 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.665/5.16, allocations: 32.26 MB / 0.7481 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002467/5.16, allocations: 280.9 kB / 0.7484 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.707/7.868, allocations: 0 / 0.7484 GB, free: 6.605 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity.fmu > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)