Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001136/0.001136, 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.001321/0.001321, allocations: 197.8 kB / 16.14 MB, free: 6.688 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.485/1.485, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8223/0.8223, allocations: 132.2 MB / 422.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 62.97 kB / 0.5011 GB, free: 9.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1857, allocations: 80.21 MB / 0.5794 GB, free: 9.242 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.3377/0.5234, allocations: 60.78 MB / 0.6388 GB, free: 22.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01557/0.539, allocations: 12.04 MB / 0.6505 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00361/0.5427, allocations: 55.69 kB / 0.6506 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002392/0.5451, allocations: 0.5441 MB / 0.6511 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007711/0.5529, allocations: 1.81 MB / 0.6529 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003255/0.5562, allocations: 1.075 MB / 0.6539 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005772/0.5619, allocations: 3.896 MB / 0.6577 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001473/0.5634, allocations: 0.9256 MB / 0.6586 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003059/0.5665, allocations: 1.15 MB / 0.6598 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00178/0.5683, allocations: 0.9057 MB / 0.6606 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001804/0.5685, allocations: 57.19 kB / 0.6607 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003186/0.5717, allocations: 1.344 MB / 0.662 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002562/0.5719, allocations: 238.7 kB / 0.6622 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008847/0.5728, allocations: 0.6333 MB / 0.6629 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004059/0.5769, allocations: 2.229 MB / 0.665 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.5769, allocations: 3.938 kB / 0.665 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.002e-06/0.5769, allocations: 4 kB / 0.665 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.124e-05/0.577, allocations: 1.094 kB / 0.665 GB, free: 7.109 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.004398/0.5814, allocations: 1.728 MB / 0.6667 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.5814, allocations: 9.281 kB / 0.6667 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002435/0.5839, allocations: 412.2 kB / 0.6671 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002553/0.5865, allocations: 1.122 MB / 0.6682 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003708/0.5868, allocations: 118.8 kB / 0.6683 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.587, allocations: 78.88 kB / 0.6684 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002204/0.5892, allocations: 0.9823 MB / 0.6694 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.5892, allocations: 1.188 kB / 0.6694 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.329e-05/0.5893, allocations: 31.81 kB / 0.6694 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.796e-05/0.5893, allocations: 27.44 kB / 0.6694 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002436/0.5918, allocations: 0.851 MB / 0.6703 GB, free: 4.309 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.007474/0.5993, allocations: 4.833 MB / 0.675 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003769/0.6031, allocations: 0.7992 MB / 0.6758 GB, free: 436 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007386/0.6038, allocations: 296.5 kB / 0.6761 GB, free: 340 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007126/0.6046, allocations: 0.9052 MB / 0.6769 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.385e-05/0.6046, allocations: 42.25 kB / 0.677 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 3.496e-06/0.6046, allocations: 0 / 0.677 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.007994/0.6126, allocations: 1.755 MB / 0.6787 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.6127, allocations: 56.5 kB / 0.6787 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00239/0.6151, allocations: 1.056 MB / 0.6798 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001273/0.6153, allocations: 37.67 kB / 0.6798 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005592/0.6158, allocations: 0.5265 MB / 0.6803 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/0.616, allocations: 158.1 kB / 0.6805 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002735/0.6163, allocations: 123.8 kB / 0.6806 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.6165, allocations: 328.2 kB / 0.6809 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009734/0.6175, allocations: 303.7 kB / 0.6812 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.6187, allocations: 0.5032 MB / 0.6817 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001741/0.6204, allocations: 0.6779 MB / 0.6824 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.6204, allocations: 1.094 kB / 0.6824 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00471/0.6251, allocations: 1.142 MB / 0.6835 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.511e-05/0.6252, allocations: 7.281 kB / 0.6835 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.251e-05/0.6252, allocations: 4.031 kB / 0.6835 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001756/0.627, allocations: 312.4 kB / 0.6838 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006865/0.6277, allocations: 115.1 kB / 0.6839 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002152/0.6299, allocations: 0.915 MB / 0.6848 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002409/0.6323, allocations: 174.2 kB / 0.6849 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.6324, allocations: 29.05 kB / 0.685 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00178/0.6342, allocations: 0.5084 MB / 0.6855 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001252/0.6355, allocations: 0.4964 MB / 0.686 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001812/0.6373, allocations: 0.6652 MB / 0.6866 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.431e-06/0.6373, allocations: 5.438 kB / 0.6866 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.004124/0.6415, allocations: 1.113 MB / 0.6877 GB, free: 10 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.6415, allocations: 8.109 kB / 0.6877 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.6415, allocations: 4.094 kB / 0.6877 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/0.6427, allocations: 313.4 kB / 0.688 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005393/0.6433, allocations: 118.9 kB / 0.6881 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/0.6448, allocations: 0.9047 MB / 0.689 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/0.6465, allocations: 160.6 kB / 0.6892 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.143e-05/0.6466, allocations: 32.02 kB / 0.6892 GB, free: 9.207 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.0003231/0.6469, allocations: 218.7 kB / 0.6894 GB, free: 9 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002521/0.6471, allocations: 111.6 kB / 0.6895 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002513/0.6497, allocations: 0.9374 MB / 0.6904 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.052e-05/0.6497, allocations: 4.844 kB / 0.6904 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.6497, allocations: 3.938 kB / 0.6904 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.6497, allocations: 5 kB / 0.6904 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005512/0.6552, allocations: 2.156 MB / 0.6925 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.6553, allocations: 2.312 kB / 0.6925 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000282/0.6556, allocations: 60.81 kB / 0.6926 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00128/0.6569, allocations: 307.7 kB / 0.6929 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.467e-05/0.6569, allocations: 15.06 kB / 0.6929 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001688/0.6586, allocations: 0.9458 MB / 0.6938 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.6587, allocations: 2.312 kB / 0.6938 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003725/0.6624, allocations: 1.17 MB / 0.695 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007519/0.6632, allocations: 258.6 kB / 0.6952 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/0.6633, allocations: 16.06 kB / 0.6952 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009067/0.6642, allocations: 97.69 kB / 0.6953 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.6644, allocations: 36.67 kB / 0.6954 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.813e-05/0.6644, allocations: 22.17 kB / 0.6954 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001352/0.6658, allocations: 0.7402 MB / 0.6961 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6658, allocations: 0 / 0.6961 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001973/0.6678, allocations: 0.5615 MB / 0.6967 GB, free: 5.617 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.001044/0.6688, allocations: 374.6 kB / 0.697 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003499/0.6723, allocations: 1.086 MB / 0.6981 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.6724, allocations: 4.125 kB / 0.6981 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009212/0.6733, allocations: 349.9 kB / 0.6984 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002563/0.6759, allocations: 0.4945 MB / 0.6989 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005666/0.6815, allocations: 2.436 MB / 0.7013 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006904/0.6822, allocations: 1.072 MB / 0.7023 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001166/0.6834, allocations: 218.7 kB / 0.7025 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.6836, allocations: 71.83 kB / 0.7026 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of SimCode: time 7.31e-07/0.6836, allocations: 0 / 0.7026 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of Templates: time 0.04156/0.7252, allocations: 23.68 MB / 0.7257 GB, free: 12.75 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.sim & ./IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)