Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.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: translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008051/0.0008051, allocations: 98.19 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.008535/0.008535, allocations: 170.2 kB / 16.27 MB, free: 6.648 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.418/1.418, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8256/0.8256, allocations: 132.4 MB / 423.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004309/0.0004308, allocations: 8.938 kB / 0.504 GB, free: 3.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4832/0.4836, allocations: 81.58 MB / 0.5837 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.08538/0.569, allocations: 59.72 MB / 0.642 GB, free: 4.574 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02533/0.5944, allocations: 11.9 MB / 0.6536 GB, free: 8.641 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003783/0.5983, allocations: 51.62 kB / 0.6537 GB, free: 8.59 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002578/0.6009, allocations: 0.5399 MB / 0.6542 GB, free: 8.047 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00776/0.6086, allocations: 1.799 MB / 0.6559 GB, free: 6.242 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004032/0.6127, allocations: 1.085 MB / 0.657 GB, free: 5.168 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005439/0.6181, allocations: 3.89 MB / 0.6608 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00153/0.6197, allocations: 0.9019 MB / 0.6617 GB, free: 336 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002477/0.6222, allocations: 1.124 MB / 0.6628 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001302/0.6235, allocations: 0.8631 MB / 0.6636 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.6236, allocations: 40 kB / 0.6637 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002866/0.6265, allocations: 1.364 MB / 0.665 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002551/0.6268, allocations: 218.9 kB / 0.6652 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007636/0.6275, allocations: 0.631 MB / 0.6658 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003053/0.6306, allocations: 2.22 MB / 0.668 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.6306, allocations: 4 kB / 0.668 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.006e-06/0.6306, allocations: 0 / 0.668 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.841e-05/0.6307, allocations: 3.938 kB / 0.668 GB, free: 9.836 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.002871/0.6335, allocations: 1.493 MB / 0.6695 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.6336, allocations: 8.031 kB / 0.6695 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001712/0.6353, allocations: 386.7 kB / 0.6698 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00208/0.6374, allocations: 1.12 MB / 0.6709 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003664/0.6378, allocations: 133.9 kB / 0.6711 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.6379, allocations: 76 kB / 0.6711 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002009/0.6399, allocations: 0.9777 MB / 0.6721 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.64, allocations: 0 / 0.6721 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.084e-05/0.6401, allocations: 32 kB / 0.6721 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.261e-05/0.6401, allocations: 23.98 kB / 0.6721 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002187/0.6423, allocations: 0.8508 MB / 0.673 GB, free: 4.586 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.006251/0.6485, allocations: 4.8 MB / 0.6777 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/0.6501, allocations: 0.6089 MB / 0.6782 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006343/0.6507, allocations: 296.6 kB / 0.6785 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001517/0.6523, allocations: 1.388 MB / 0.6799 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.6523, allocations: 46.55 kB / 0.6799 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 2.845e-06/0.6523, allocations: 0 / 0.6799 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.006187/0.6585, allocations: 1.685 MB / 0.6816 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.6586, allocations: 55.41 kB / 0.6816 GB, free: 11 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001628/0.6602, allocations: 1.059 MB / 0.6827 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.176e-05/0.6603, allocations: 37.7 kB / 0.6827 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004338/0.6607, allocations: 0.5157 MB / 0.6832 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.6609, allocations: 153.8 kB / 0.6833 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.839e-05/0.661, allocations: 53.69 kB / 0.6834 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.6611, allocations: 325.9 kB / 0.6837 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008034/0.6619, allocations: 296.9 kB / 0.684 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.6629, allocations: 491.7 kB / 0.6845 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.6645, allocations: 0.6542 MB / 0.6851 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.6645, allocations: 0 / 0.6851 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002494/0.667, allocations: 0.9805 MB / 0.6861 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001482/0.6671, allocations: 201.9 kB / 0.6863 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.6672, allocations: 4 kB / 0.6863 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001351/0.6685, allocations: 339.1 kB / 0.6866 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004746/0.669, allocations: 119.8 kB / 0.6867 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001601/0.6706, allocations: 0.9386 MB / 0.6876 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.6719, allocations: 179.3 kB / 0.6878 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.02e-05/0.672, allocations: 27.98 kB / 0.6878 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.672, allocations: 4 kB / 0.6878 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002262/0.6742, allocations: 0.8473 MB / 0.6886 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.6743, allocations: 4 kB / 0.6886 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/0.6754, allocations: 329.1 kB / 0.689 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004448/0.6759, allocations: 119.8 kB / 0.6891 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.6774, allocations: 0.938 MB / 0.69 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/0.6785, allocations: 163.4 kB / 0.6901 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.398e-05/0.6786, allocations: 27.98 kB / 0.6902 GB, free: 1.961 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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.0005539/0.6792, allocations: 360.9 kB / 0.6905 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/0.6794, allocations: 106.7 kB / 0.6906 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002347/0.6817, allocations: 0.9358 MB / 0.6915 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/0.6817, allocations: 15.98 kB / 0.6915 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.6818, allocations: 0 / 0.6915 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.6818, allocations: 0 / 0.6915 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006043/0.6878, allocations: 2.336 MB / 0.6938 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.6879, allocations: 4 kB / 0.6938 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.6881, allocations: 55.91 kB / 0.6939 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001113/0.6892, allocations: 332.9 kB / 0.6942 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.93e-05/0.6893, allocations: 16 kB / 0.6942 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001584/0.6909, allocations: 0.9703 MB / 0.6952 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.6909, allocations: 4.062 kB / 0.6952 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004455/0.6953, allocations: 1.364 MB / 0.6965 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005594/0.6959, allocations: 291.3 kB / 0.6968 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.6961, allocations: 8 kB / 0.6968 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008399/0.6969, allocations: 103.8 kB / 0.6969 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.611e-05/0.697, allocations: 39.89 kB / 0.6969 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.067e-05/0.6971, allocations: 23.98 kB / 0.6969 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001225/0.6983, allocations: 0.743 MB / 0.6977 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6983, allocations: 4 kB / 0.6977 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001601/0.6999, allocations: 0.5692 MB / 0.6982 GB, free: 9.496 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 (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.0008593/0.7008, allocations: 407.2 kB / 0.6986 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002886/0.7037, allocations: 1.062 MB / 0.6997 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.7037, allocations: 0 / 0.6997 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007976/0.7045, allocations: 336.5 kB / 0.7 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002915/0.7074, allocations: 0.4996 MB / 0.7005 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0038/0.7113, allocations: 2.276 MB / 0.7027 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006536/0.7119, allocations: 1.065 MB / 0.7037 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009436/0.7129, allocations: 224 kB / 0.7039 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.7131, allocations: 75.42 kB / 0.704 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of SimCode: time 1.032e-06/0.7131, allocations: 0 / 0.704 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of Templates: time 0.04492/0.758, allocations: 24.16 MB / 0.7276 GB, free: 11.66 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe 2>&1)