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.0008397/0.0008397, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.0008377/0.0008378, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7676/0.7676, allocations: 132.3 MB / 423.4 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003127/0.0003128, allocations: 15.98 kB / 0.5035 GB, free: 4.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4137/0.4141, allocations: 81.57 MB / 0.5832 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.05971/0.4738, allocations: 56.48 MB / 0.6383 GB, free: 7.934 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01863/0.4925, allocations: 11.19 MB / 0.6492 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003378/0.4959, allocations: 47.69 kB / 0.6493 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002065/0.498, allocations: 468.8 kB / 0.6497 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006074/0.5041, allocations: 1.53 MB / 0.6512 GB, free: 10.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003075/0.5072, allocations: 0.8574 MB / 0.6521 GB, free: 9.832 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005102/0.5123, allocations: 3.39 MB / 0.6554 GB, free: 6.43 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00165/0.514, allocations: 0.7938 MB / 0.6562 GB, free: 5.609 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002774/0.5168, allocations: 1.046 MB / 0.6572 GB, free: 4.559 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001652/0.5185, allocations: 0.801 MB / 0.658 GB, free: 3.754 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003286/0.5188, allocations: 44 kB / 0.658 GB, free: 3.711 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002979/0.5218, allocations: 1.115 MB / 0.6591 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003377/0.5222, allocations: 199 kB / 0.6593 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005798/0.5227, allocations: 289 kB / 0.6596 GB, free: 2.109 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002696/0.5255, allocations: 1.633 MB / 0.6611 GB, free: 484 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.5255, allocations: 0 / 0.6611 GB, free: 484 kB / 494.1 MB Notification: Performance of FrontEnd: time 4.018e-06/0.5255, allocations: 3.984 kB / 0.6611 GB, free: 480 kB / 494.1 MB Notification: Performance of Transformations before backend: time 2.154e-05/0.5255, allocations: 0 / 0.6611 GB, free: 480 kB / 494.1 MB 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.002653/0.5282, allocations: 1.501 MB / 0.6626 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.5282, allocations: 8.031 kB / 0.6626 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001555/0.5284, allocations: 126.7 kB / 0.6627 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001571/0.53, allocations: 386 kB / 0.6631 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002046/0.532, allocations: 1.086 MB / 0.6642 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003282/0.5324, allocations: 133.9 kB / 0.6643 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.5325, allocations: 76 kB / 0.6644 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/0.5343, allocations: 0.9583 MB / 0.6653 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.5343, allocations: 4 kB / 0.6653 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.499e-05/0.5344, allocations: 35.98 kB / 0.6653 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.5344, allocations: 16 kB / 0.6654 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/0.5364, allocations: 0.843 MB / 0.6662 GB, free: 11.14 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.006587/0.543, allocations: 4.8 MB / 0.6709 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/0.5445, allocations: 0.5977 MB / 0.6715 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005826/0.5451, allocations: 278.7 kB / 0.6717 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001389/0.5465, allocations: 1.392 MB / 0.6731 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.5465, allocations: 38.56 kB / 0.6731 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 2.475e-06/0.5465, allocations: 0 / 0.6731 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.006527/0.553, allocations: 1.845 MB / 0.6749 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.5531, allocations: 59.34 kB / 0.675 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001573/0.5547, allocations: 1.055 MB / 0.676 GB, free: 360 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.397e-05/0.5548, allocations: 33.7 kB / 0.676 GB, free: 320 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004535/0.5552, allocations: 0.5158 MB / 0.6765 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.5554, allocations: 157.6 kB / 0.6767 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.5554, allocations: 8 kB / 0.6767 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.5556, allocations: 326 kB / 0.677 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000713/0.5563, allocations: 281 kB / 0.6773 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008591/0.5572, allocations: 0.4902 MB / 0.6778 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007755/0.5579, allocations: 319.6 kB / 0.6781 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.558, allocations: 4 kB / 0.6781 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00238/0.5604, allocations: 0.9648 MB / 0.679 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001472/0.5605, allocations: 212.4 kB / 0.6792 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.5605, allocations: 4 kB / 0.6792 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/0.5618, allocations: 327.2 kB / 0.6795 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004523/0.5622, allocations: 115.8 kB / 0.6796 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/0.5636, allocations: 0.9465 MB / 0.6806 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/0.5648, allocations: 183.2 kB / 0.6807 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.021e-05/0.5649, allocations: 27.98 kB / 0.6808 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.557e-06/0.5649, allocations: 4 kB / 0.6808 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002048/0.5669, allocations: 0.8394 MB / 0.6816 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/0.567, allocations: 4 kB / 0.6816 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009909/0.568, allocations: 332.9 kB / 0.6819 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000422/0.5684, allocations: 115.8 kB / 0.682 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/0.5698, allocations: 0.942 MB / 0.6829 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.5708, allocations: 155.4 kB / 0.6831 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-05/0.5709, allocations: 27.98 kB / 0.6831 GB, free: 8.848 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006005/0.5715, allocations: 349 kB / 0.6834 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/0.5717, allocations: 110.6 kB / 0.6836 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002816/0.5745, allocations: 1.062 MB / 0.6846 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.179e-05/0.5746, allocations: 12.08 kB / 0.6846 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.5746, allocations: 4 kB / 0.6846 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.5746, allocations: 3.984 kB / 0.6846 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004814/0.5794, allocations: 2.165 MB / 0.6867 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/0.5795, allocations: 4 kB / 0.6867 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/0.5797, allocations: 59.91 kB / 0.6868 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001044/0.5808, allocations: 324.9 kB / 0.6871 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.363e-05/0.5808, allocations: 15.94 kB / 0.6871 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00148/0.5823, allocations: 0.9676 MB / 0.6881 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/0.5823, allocations: 4 kB / 0.6881 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003235/0.5856, allocations: 1.191 MB / 0.6892 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007703/0.5864, allocations: 283.4 kB / 0.6895 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002848/0.5867, allocations: 8 kB / 0.6895 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00092/0.5876, allocations: 103.9 kB / 0.6896 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.5877, allocations: 39.84 kB / 0.6896 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.641e-05/0.5878, allocations: 20 kB / 0.6897 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001393/0.5892, allocations: 0.7352 MB / 0.6904 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.633e-06/0.5892, allocations: 0 / 0.6904 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001757/0.591, allocations: 0.5691 MB / 0.6909 GB, free: 0.6445 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.003976/0.595, allocations: 2.006 MB / 0.6929 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00258/0.5976, allocations: 1.057 MB / 0.6939 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.5976, allocations: 0 / 0.6939 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007147/0.5983, allocations: 335.4 kB / 0.6942 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002353/0.6007, allocations: 0.4929 MB / 0.6947 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/0.6138, allocations: 6.461 MB / 0.701 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006511/0.6145, allocations: 1.065 MB / 0.7021 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009777/0.6155, allocations: 215.2 kB / 0.7023 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004969/0.616, allocations: 411.3 kB / 0.7027 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of SimCode: time 6.61e-07/0.616, allocations: 0 / 0.7027 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05678/0.6728, allocations: 33.39 MB / 0.7353 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001923/0.673, allocations: 260.9 kB / 0.7355 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.562/3.235, allocations: 8 kB / 0.7355 GB, free: 3.082 MB / 0.5606 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/linux/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) Environment - environmentSimulation: