Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.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: translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 105.9 kB / 16.27 MB, free: 5.988 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.001403/0.001403, allocations: 192.3 kB / 17.2 MB, free: 5.613 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.376/1.376, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8275/0.8275, allocations: 135.1 MB / 426.2 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 59.91 kB / 0.506 GB, free: 8.328 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4219/0.4236, allocations: 80.91 MB / 0.585 GB, free: 25.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature): time 0.05353/0.4771, allocations: 61.21 MB / 0.6448 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01729/0.4945, allocations: 11.99 MB / 0.6565 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002001/0.4965, allocations: 63.62 kB / 0.6565 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002074/0.4986, allocations: 0.6869 MB / 0.6572 GB, free: 488 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005508/0.5042, allocations: 1.966 MB / 0.6591 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00321/0.5074, allocations: 1.198 MB / 0.6603 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004191/0.5116, allocations: 3.095 MB / 0.6633 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001842/0.5135, allocations: 1.104 MB / 0.6644 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003374/0.5168, allocations: 1.335 MB / 0.6657 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001727/0.5186, allocations: 0.9061 MB / 0.6666 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004221/0.519, allocations: 116 kB / 0.6667 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003235/0.5223, allocations: 1.443 MB / 0.6681 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004315/0.5227, allocations: 298.8 kB / 0.6684 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001234/0.5239, allocations: 0.6997 MB / 0.6691 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003655/0.5276, allocations: 2.306 MB / 0.6713 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.5276, allocations: 0 / 0.6713 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.817e-06/0.5276, allocations: 0 / 0.6713 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.707e-05/0.5277, allocations: 3.938 kB / 0.6713 GB, free: 1.945 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002879/0.5305, allocations: 1.742 MB / 0.673 GB, free: 148 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.5306, allocations: 9.109 kB / 0.673 GB, free: 140 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002186/0.5328, allocations: 414.8 kB / 0.6734 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001902/0.5347, allocations: 1.112 MB / 0.6745 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003632/0.5351, allocations: 113.9 kB / 0.6746 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.5352, allocations: 84 kB / 0.6747 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001986/0.5372, allocations: 1.027 MB / 0.6757 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.5372, allocations: 0 / 0.6757 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.809e-05/0.5373, allocations: 32 kB / 0.6758 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.719e-05/0.5373, allocations: 20 kB / 0.6758 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002369/0.5397, allocations: 0.8936 MB / 0.6766 GB, free: 12.34 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.00622/0.5459, allocations: 5.281 MB / 0.6818 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003615/0.5496, allocations: 0.8096 MB / 0.6826 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007726/0.5504, allocations: 312.6 kB / 0.6829 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006672/0.551, allocations: 0.8986 MB / 0.6838 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.5511, allocations: 42.55 kB / 0.6838 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 3.266e-06/0.5511, allocations: 0 / 0.6838 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.006683/0.5578, allocations: 1.657 MB / 0.6854 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.5578, allocations: 59.34 kB / 0.6855 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/0.5594, allocations: 1.08 MB / 0.6865 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.268e-05/0.5594, allocations: 37.7 kB / 0.6866 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004751/0.5599, allocations: 0.5389 MB / 0.6871 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.5601, allocations: 153.8 kB / 0.6872 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002221/0.5603, allocations: 142.2 kB / 0.6874 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.5604, allocations: 333.9 kB / 0.6877 GB, free: 340 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000935/0.5614, allocations: 323.2 kB / 0.688 GB, free: 12 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/0.5625, allocations: 0.5525 MB / 0.6885 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001768/0.5643, allocations: 0.7543 MB / 0.6893 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.5643, allocations: 0 / 0.6893 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002888/0.5672, allocations: 1.048 MB / 0.6903 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.5672, allocations: 11.98 kB / 0.6903 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.5673, allocations: 4 kB / 0.6903 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001323/0.5686, allocations: 312.6 kB / 0.6906 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005842/0.5692, allocations: 135.8 kB / 0.6908 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/0.5707, allocations: 0.9214 MB / 0.6917 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.572, allocations: 159.2 kB / 0.6918 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.612e-05/0.5721, allocations: 35.98 kB / 0.6918 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001283/0.5734, allocations: 0.5246 MB / 0.6923 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001148/0.5745, allocations: 0.5524 MB / 0.6929 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001813/0.5764, allocations: 0.7378 MB / 0.6936 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.04e-06/0.5764, allocations: 4 kB / 0.6936 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.002894/0.5793, allocations: 1.051 MB / 0.6946 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.5793, allocations: 8 kB / 0.6946 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.5793, allocations: 4 kB / 0.6947 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/0.5804, allocations: 308.6 kB / 0.6949 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005844/0.581, allocations: 135.8 kB / 0.6951 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001468/0.5825, allocations: 0.922 MB / 0.696 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.5838, allocations: 139.5 kB / 0.6961 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-05/0.5839, allocations: 35.98 kB / 0.6961 GB, free: 7.262 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (58): * Single equations (assignments): 57 * 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.0002633/0.5841, allocations: 224.9 kB / 0.6964 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002087/0.5844, allocations: 110.6 kB / 0.6965 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003507/0.5879, allocations: 1.105 MB / 0.6975 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/0.5879, allocations: 11.94 kB / 0.6976 GB, free: 5.801 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.5879, allocations: 0 / 0.6976 GB, free: 5.801 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.5879, allocations: 4 kB / 0.6976 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005266/0.5932, allocations: 2.195 MB / 0.6997 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.5932, allocations: 8.062 kB / 0.6997 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003124/0.5935, allocations: 71.88 kB / 0.6998 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001018/0.5946, allocations: 296.6 kB / 0.7001 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/0.5946, allocations: 11.98 kB / 0.7001 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/0.5962, allocations: 0.9529 MB / 0.701 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.5962, allocations: 7.969 kB / 0.701 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003818/0.6, allocations: 1.209 MB / 0.7022 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004374/0.6004, allocations: 263.5 kB / 0.7024 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/0.6006, allocations: 16 kB / 0.7025 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008428/0.6014, allocations: 71.91 kB / 0.7025 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.6016, allocations: 51.81 kB / 0.7026 GB, free: 496 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-05/0.6016, allocations: 23.98 kB / 0.7026 GB, free: 472 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001208/0.6028, allocations: 0.7594 MB / 0.7033 GB, free: 15.69 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.21e-07/0.6029, allocations: 0 / 0.7033 GB, free: 15.69 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001631/0.6045, allocations: 0.5692 MB / 0.7039 GB, free: 15.12 MB / 0.545 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 (34): * Single equations (assignments): 29 * 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.0007736/0.6053, allocations: 393.3 kB / 0.7043 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003467/0.6088, allocations: 1.198 MB / 0.7054 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6088, allocations: 0 / 0.7054 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000971/0.6097, allocations: 370.9 kB / 0.7058 GB, free: 13.19 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002246/0.612, allocations: 0.5051 MB / 0.7063 GB, free: 12.71 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005223/0.6172, allocations: 2.107 MB / 0.7083 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006102/0.6179, allocations: 1.069 MB / 0.7094 GB, free: 9.438 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000235/0.6181, allocations: 83.41 kB / 0.7095 GB, free: 9.355 MB / 0.545 GB Notification: Performance of SimCode: time 6.51e-07/0.6181, allocations: 0 / 0.7095 GB, free: 9.355 MB / 0.545 GB Notification: Performance of Templates: time 0.03493/0.6531, allocations: 24.27 MB / 0.7332 GB, free: 1.254 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe 2>&1)