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.001533/0.001533, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 196 kB / 16.79 MB, free: 6.809 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.358/1.358, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9447/0.9447, allocations: 135.1 MB / 425.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 59.66 kB / 0.5053 GB, free: 5.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1767, allocations: 80.92 MB / 0.5843 GB, free: 5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.3523/0.5291, allocations: 60.78 MB / 0.6437 GB, free: 17.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01409/0.5432, allocations: 12.05 MB / 0.6555 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002484/0.5458, allocations: 51.19 kB / 0.6555 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00186/0.5476, allocations: 0.5522 MB / 0.656 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005067/0.5528, allocations: 1.798 MB / 0.6578 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002812/0.5556, allocations: 1.073 MB / 0.6588 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004842/0.5604, allocations: 3.904 MB / 0.6627 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00173/0.5622, allocations: 0.9282 MB / 0.6636 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003228/0.5654, allocations: 1.154 MB / 0.6647 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001746/0.5672, allocations: 0.8961 MB / 0.6656 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002167/0.5674, allocations: 56.44 kB / 0.6656 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003274/0.5707, allocations: 1.346 MB / 0.6669 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003786/0.5711, allocations: 232.1 kB / 0.6672 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001038/0.5722, allocations: 0.6327 MB / 0.6678 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003063/0.5752, allocations: 1.728 MB / 0.6695 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.5753, allocations: 4 kB / 0.6695 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.913e-06/0.5753, allocations: 0 / 0.6695 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.924e-05/0.5753, allocations: 0 / 0.6695 GB, free: 2.434 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.003739/0.5791, allocations: 1.733 MB / 0.6712 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.5791, allocations: 8.625 kB / 0.6712 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002373/0.5815, allocations: 411.8 kB / 0.6716 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002378/0.5839, allocations: 1.129 MB / 0.6727 GB, free: 456 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003591/0.5843, allocations: 119 kB / 0.6728 GB, free: 420 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.5844, allocations: 83.56 kB / 0.6729 GB, free: 392 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/0.5866, allocations: 0.9734 MB / 0.6738 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.5866, allocations: 5.094 kB / 0.6738 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.894e-05/0.5867, allocations: 35.66 kB / 0.6738 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.5867, allocations: 18.62 kB / 0.6739 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002406/0.5892, allocations: 0.8506 MB / 0.6747 GB, free: 15.62 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.009531/0.5987, allocations: 4.831 MB / 0.6794 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00365/0.6024, allocations: 0.7957 MB / 0.6802 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007808/0.6032, allocations: 301.5 kB / 0.6805 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009337/0.6041, allocations: 0.9044 MB / 0.6814 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.6042, allocations: 41.25 kB / 0.6814 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.695e-06/0.6042, allocations: 0 / 0.6814 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.008008/0.6122, allocations: 1.757 MB / 0.6831 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.6123, allocations: 55.44 kB / 0.6832 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002015/0.6143, allocations: 1.053 MB / 0.6842 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.6144, allocations: 37.95 kB / 0.6842 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000489/0.6149, allocations: 0.5231 MB / 0.6847 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/0.6151, allocations: 151.7 kB / 0.6849 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002547/0.6154, allocations: 124.2 kB / 0.685 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.6155, allocations: 329.4 kB / 0.6853 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009449/0.6165, allocations: 307.6 kB / 0.6856 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/0.6176, allocations: 0.5002 MB / 0.6861 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001749/0.6194, allocations: 0.6765 MB / 0.6868 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.6194, allocations: 2.625 kB / 0.6868 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.004037/0.6234, allocations: 1.13 MB / 0.6879 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.6235, allocations: 6.906 kB / 0.6879 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.6235, allocations: 5.188 kB / 0.6879 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00139/0.6249, allocations: 320.8 kB / 0.6882 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005876/0.6255, allocations: 113.9 kB / 0.6883 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001636/0.6271, allocations: 0.9147 MB / 0.6892 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/0.6288, allocations: 174.9 kB / 0.6894 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-05/0.6289, allocations: 28.31 kB / 0.6894 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001353/0.6303, allocations: 0.5119 MB / 0.6899 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001162/0.6314, allocations: 0.4964 MB / 0.6904 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001704/0.6332, allocations: 0.6665 MB / 0.691 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.358e-06/0.6332, allocations: 4.75 kB / 0.691 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.00388/0.6371, allocations: 1.108 MB / 0.6921 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.6371, allocations: 11.83 kB / 0.6921 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.6371, allocations: 4.375 kB / 0.6921 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/0.6383, allocations: 314.7 kB / 0.6924 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005792/0.6389, allocations: 119.6 kB / 0.6925 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/0.6404, allocations: 0.9033 MB / 0.6934 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/0.642, allocations: 166.3 kB / 0.6936 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.173e-05/0.6421, allocations: 27.86 kB / 0.6936 GB, free: 4.543 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.0002895/0.6424, allocations: 215.4 kB / 0.6938 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002543/0.6427, allocations: 107.1 kB / 0.6939 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002525/0.6452, allocations: 0.933 MB / 0.6948 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/0.6452, allocations: 5.641 kB / 0.6948 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.6453, allocations: 5.938 kB / 0.6948 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.6453, allocations: 2.438 kB / 0.6948 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005586/0.6509, allocations: 2.148 MB / 0.6969 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.6509, allocations: 2.438 kB / 0.6969 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002932/0.6512, allocations: 60.09 kB / 0.697 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001073/0.6523, allocations: 313.6 kB / 0.6973 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.933e-05/0.6523, allocations: 14.62 kB / 0.6973 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/0.6538, allocations: 0.9435 MB / 0.6982 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.6539, allocations: 2.594 kB / 0.6982 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003753/0.6576, allocations: 1.171 MB / 0.6994 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006725/0.6583, allocations: 260.4 kB / 0.6996 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/0.6585, allocations: 17.98 kB / 0.6996 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009494/0.6595, allocations: 97.72 kB / 0.6997 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.902e-05/0.6596, allocations: 38.89 kB / 0.6998 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.406e-05/0.6597, allocations: 22.73 kB / 0.6998 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001299/0.661, allocations: 0.7413 MB / 0.7005 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.71e-07/0.661, allocations: 0 / 0.7005 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001997/0.663, allocations: 0.5585 MB / 0.7011 GB, free: 0.8477 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.0009422/0.6639, allocations: 378.2 kB / 0.7014 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003224/0.6672, allocations: 1.088 MB / 0.7025 GB, free: 148 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.748e-06/0.6672, allocations: 4.125 kB / 0.7025 GB, free: 144 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009518/0.6682, allocations: 347.2 kB / 0.7028 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002743/0.6709, allocations: 0.49 MB / 0.7033 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005886/0.6768, allocations: 2.474 MB / 0.7057 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006229/0.6775, allocations: 1.059 MB / 0.7067 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003191/0.6778, allocations: 87.25 kB / 0.7068 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of SimCode: time 7.01e-07/0.6778, allocations: 0 / 0.7068 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of Templates: time 0.03266/0.7105, allocations: 23.8 MB / 0.7301 GB, free: 7.211 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)