Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.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.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001213/0.001213, allocations: 195 kB / 16.14 MB, free: 6.711 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.472/1.472, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.161/1.161, allocations: 135.1 MB / 425.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 67.89 kB / 0.5047 GB, free: 5.719 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2133, allocations: 80.93 MB / 0.5837 GB, free: 4.957 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.4447/0.658, allocations: 60.77 MB / 0.6431 GB, free: 17.51 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01692/0.675, allocations: 12.03 MB / 0.6548 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004006/0.6791, allocations: 56.25 kB / 0.6549 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002811/0.6819, allocations: 0.551 MB / 0.6554 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007362/0.6893, allocations: 1.807 MB / 0.6572 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00376/0.6931, allocations: 1.077 MB / 0.6582 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007108/0.7002, allocations: 3.895 MB / 0.662 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003064/0.7034, allocations: 0.9289 MB / 0.6629 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005209/0.7086, allocations: 1.155 MB / 0.664 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003243/0.7119, allocations: 0.902 MB / 0.6649 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000595/0.7125, allocations: 56.12 kB / 0.665 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00553/0.718, allocations: 1.342 MB / 0.6663 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006396/0.7187, allocations: 239.5 kB / 0.6665 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002017/0.7207, allocations: 0.6327 MB / 0.6671 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006234/0.727, allocations: 2.237 MB / 0.6693 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.418e-06/0.727, allocations: 5.156 kB / 0.6693 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.104e-06/0.727, allocations: 3.938 kB / 0.6693 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.746e-05/0.7271, allocations: 0 / 0.6693 GB, free: 2.188 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.005273/0.7324, allocations: 1.721 MB / 0.671 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.7324, allocations: 9.031 kB / 0.671 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002597/0.7351, allocations: 407 kB / 0.6714 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002994/0.7381, allocations: 1.126 MB / 0.6725 GB, free: 224 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003808/0.7385, allocations: 122.4 kB / 0.6726 GB, free: 184 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.7386, allocations: 78.91 kB / 0.6727 GB, free: 160 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002523/0.7412, allocations: 0.9839 MB / 0.6737 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.7412, allocations: 1.125 kB / 0.6737 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.079e-05/0.7413, allocations: 35.12 kB / 0.6737 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.522e-05/0.7413, allocations: 19.56 kB / 0.6737 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002755/0.7441, allocations: 0.8547 MB / 0.6746 GB, free: 15.38 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.009081/0.7532, allocations: 4.823 MB / 0.6793 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003628/0.7568, allocations: 0.7924 MB / 0.68 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008026/0.7577, allocations: 303.8 kB / 0.6803 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008458/0.7585, allocations: 0.9078 MB / 0.6812 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/0.7586, allocations: 41.95 kB / 0.6813 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.755e-06/0.7586, allocations: 0 / 0.6813 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.008271/0.7669, allocations: 1.757 MB / 0.683 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.7669, allocations: 55.91 kB / 0.683 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00212/0.7691, allocations: 1.057 MB / 0.6841 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001183/0.7692, allocations: 37.42 kB / 0.6841 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005603/0.7698, allocations: 0.5233 MB / 0.6846 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000215/0.77, allocations: 150 kB / 0.6847 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002809/0.7703, allocations: 130.1 kB / 0.6849 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.7704, allocations: 329.2 kB / 0.6852 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009401/0.7714, allocations: 303.9 kB / 0.6855 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/0.7725, allocations: 0.4997 MB / 0.686 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001767/0.7743, allocations: 0.6811 MB / 0.6866 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.7743, allocations: 1.312 kB / 0.6866 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.004135/0.7785, allocations: 1.138 MB / 0.6877 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.7785, allocations: 7.5 kB / 0.6877 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.7785, allocations: 5.219 kB / 0.6877 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001437/0.78, allocations: 312.1 kB / 0.688 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005787/0.7806, allocations: 114.5 kB / 0.6882 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/0.7823, allocations: 0.9101 MB / 0.689 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/0.7841, allocations: 178.6 kB / 0.6892 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/0.7842, allocations: 27.77 kB / 0.6892 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001677/0.7859, allocations: 0.5043 MB / 0.6897 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001397/0.7873, allocations: 0.497 MB / 0.6902 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002073/0.7894, allocations: 0.6638 MB / 0.6909 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.205e-05/0.7894, allocations: 5.844 kB / 0.6909 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.00436/0.7938, allocations: 1.113 MB / 0.692 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.7938, allocations: 6.719 kB / 0.692 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.43e-05/0.7939, allocations: 5.219 kB / 0.692 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001321/0.7952, allocations: 315.4 kB / 0.6923 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005668/0.7958, allocations: 119.9 kB / 0.6924 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001588/0.7974, allocations: 0.9064 MB / 0.6933 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/0.7992, allocations: 157.8 kB / 0.6934 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.7994, allocations: 31.48 kB / 0.6935 GB, free: 4.309 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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.0004221/0.7998, allocations: 220.6 kB / 0.6937 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005348/0.8003, allocations: 106.5 kB / 0.6938 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003294/0.8037, allocations: 0.9273 MB / 0.6947 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-05/0.8037, allocations: 5.531 kB / 0.6947 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.682e-05/0.8037, allocations: 3.938 kB / 0.6947 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.8037, allocations: 8.609 kB / 0.6947 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00696/0.8107, allocations: 2.147 MB / 0.6968 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.64e-05/0.8108, allocations: 2.312 kB / 0.6968 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003517/0.8111, allocations: 63.19 kB / 0.6968 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001353/0.8125, allocations: 309.3 kB / 0.6971 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.45e-05/0.8126, allocations: 13.3 kB / 0.6972 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/0.8146, allocations: 0.9554 MB / 0.6981 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/0.8146, allocations: 2.781 kB / 0.6981 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004035/0.8186, allocations: 1.163 MB / 0.6992 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/0.8197, allocations: 267.5 kB / 0.6995 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004632/0.8201, allocations: 12.3 kB / 0.6995 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/0.8215, allocations: 96.33 kB / 0.6996 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.8216, allocations: 36.14 kB / 0.6996 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.615e-05/0.8217, allocations: 24.36 kB / 0.6996 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001988/0.8237, allocations: 0.7365 MB / 0.7004 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.8237, allocations: 0 / 0.7004 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003464/0.8272, allocations: 0.5631 MB / 0.7009 GB, free: 0.5 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.001455/0.8286, allocations: 382.6 kB / 0.7013 GB, free: 284 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003588/0.8322, allocations: 1.087 MB / 0.7023 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.914e-06/0.8323, allocations: 5.5 kB / 0.7023 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009996/0.8333, allocations: 343.1 kB / 0.7027 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00346/0.8367, allocations: 0.4996 MB / 0.7032 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006814/0.8436, allocations: 2.444 MB / 0.7055 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00119/0.8448, allocations: 1.065 MB / 0.7066 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001534/0.8463, allocations: 208.8 kB / 0.7068 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000325/0.8467, allocations: 80.75 kB / 0.7069 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of SimCode: time 1.323e-06/0.8467, allocations: 0 / 0.7069 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of Templates: time 0.04709/0.8938, allocations: 23.68 MB / 0.73 GB, free: 6.738 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)