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.005636/0.005636, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001653/0.001654, allocations: 196.6 kB / 16.68 MB, free: 5.93 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8351/0.8351, allocations: 132.2 MB / 422.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 61.67 kB / 0.5814 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1688, allocations: 80.21 MB / 0.6597 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.05849/0.2274, allocations: 61.17 MB / 0.7194 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01728/0.2447, allocations: 11.98 MB / 0.7311 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002486/0.2472, allocations: 59.62 kB / 0.7312 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002123/0.2494, allocations: 0.7025 MB / 0.7319 GB, free: 64 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006932/0.2564, allocations: 2.057 MB / 0.7339 GB, free: 14 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004286/0.2607, allocations: 1.212 MB / 0.7351 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005163/0.2659, allocations: 3.086 MB / 0.7381 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001639/0.2675, allocations: 1.088 MB / 0.7391 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003194/0.2707, allocations: 1.38 MB / 0.7405 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001296/0.272, allocations: 0.9023 MB / 0.7414 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001549/0.2722, allocations: 116 kB / 0.7415 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003001/0.2752, allocations: 1.478 MB / 0.7429 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002954/0.2755, allocations: 290.9 kB / 0.7432 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007796/0.2763, allocations: 0.6958 MB / 0.7439 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003539/0.2798, allocations: 2.333 MB / 0.7461 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2799, allocations: 4 kB / 0.7462 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2799, allocations: 0 / 0.7462 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.273e-05/0.2799, allocations: 0 / 0.7462 GB, free: 1.375 MB / 0.5762 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.3831/0.663, allocations: 1.735 MB / 0.7478 GB, free: 86.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.794e-05/0.6631, allocations: 9.734 kB / 0.7479 GB, free: 86.34 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002215/0.6653, allocations: 346.7 kB / 0.7482 GB, free: 86.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003169/0.6685, allocations: 1.156 MB / 0.7493 GB, free: 85.89 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.6686, allocations: 61.28 kB / 0.7494 GB, free: 85.89 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001869/0.6688, allocations: 79.88 kB / 0.7495 GB, free: 85.89 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002486/0.6713, allocations: 0.9744 MB / 0.7504 GB, free: 85.58 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.6714, allocations: 5 kB / 0.7504 GB, free: 85.57 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.583e-05/0.6715, allocations: 32.16 kB / 0.7504 GB, free: 85.55 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.044e-05/0.6715, allocations: 23.08 kB / 0.7505 GB, free: 85.55 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002345/0.6739, allocations: 0.8025 MB / 0.7512 GB, free: 85.29 MB / 0.5762 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.007639/0.6815, allocations: 5.129 MB / 0.7563 GB, free: 81.32 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001761/0.6833, allocations: 0.5628 MB / 0.7568 GB, free: 81.13 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006746/0.684, allocations: 272.1 kB / 0.7571 GB, free: 81.05 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001298/0.6853, allocations: 1.369 MB / 0.7584 GB, free: 79.53 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/0.6853, allocations: 38.48 kB / 0.7584 GB, free: 79.49 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 2.816e-06/0.6853, allocations: 4.625 kB / 0.7584 GB, free: 79.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.006568/0.6919, allocations: 1.49 MB / 0.7599 GB, free: 79.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.692, allocations: 56.66 kB / 0.7599 GB, free: 79.01 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002413/0.6944, allocations: 1.078 MB / 0.761 GB, free: 78.57 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.369e-05/0.6945, allocations: 37.33 kB / 0.761 GB, free: 78.54 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004942/0.695, allocations: 0.5269 MB / 0.7616 GB, free: 78.12 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.6951, allocations: 158.9 kB / 0.7617 GB, free: 78 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002902/0.6954, allocations: 134.9 kB / 0.7618 GB, free: 77.93 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.12e-05/0.6955, allocations: 329.9 kB / 0.7621 GB, free: 77.61 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007751/0.6963, allocations: 287.5 kB / 0.7624 GB, free: 77.52 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009403/0.6973, allocations: 492.8 kB / 0.7629 GB, free: 77.18 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/0.6987, allocations: 0.6566 MB / 0.7635 GB, free: 76.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.6987, allocations: 5.938 kB / 0.7635 GB, free: 76.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002663/0.7013, allocations: 0.9483 MB / 0.7645 GB, free: 76.44 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.7014, allocations: 7.281 kB / 0.7645 GB, free: 76.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.7014, allocations: 9.703 kB / 0.7645 GB, free: 76.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001361/0.7028, allocations: 309.1 kB / 0.7648 GB, free: 76.37 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005188/0.7033, allocations: 123 kB / 0.7649 GB, free: 76.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/0.7048, allocations: 0.8942 MB / 0.7658 GB, free: 75.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.7061, allocations: 150.2 kB / 0.7659 GB, free: 75.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.339e-05/0.7062, allocations: 38.2 kB / 0.7659 GB, free: 75.64 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001226/0.7075, allocations: 491.7 kB / 0.7664 GB, free: 75.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008841/0.7084, allocations: 496.6 kB / 0.7669 GB, free: 75.05 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001363/0.7097, allocations: 0.6493 MB / 0.7675 GB, free: 74.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.198e-06/0.7097, allocations: 1.156 kB / 0.7675 GB, free: 74.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002821/0.7126, allocations: 0.9472 MB / 0.7684 GB, free: 74.32 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.7126, allocations: 8.328 kB / 0.7685 GB, free: 74.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.7126, allocations: 5.062 kB / 0.7685 GB, free: 74.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001131/0.7137, allocations: 299.5 kB / 0.7687 GB, free: 74.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004819/0.7142, allocations: 119.8 kB / 0.7689 GB, free: 74.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/0.7156, allocations: 0.8948 MB / 0.7697 GB, free: 73.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.7168, allocations: 127.9 kB / 0.7699 GB, free: 73.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.79e-05/0.7169, allocations: 30.16 kB / 0.7699 GB, free: 73.55 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (57): * Single equations (assignments): 56 * 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.0002689/0.7172, allocations: 224.7 kB / 0.7701 GB, free: 73.33 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/0.7174, allocations: 112.3 kB / 0.7702 GB, free: 73.27 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00223/0.7196, allocations: 0.8924 MB / 0.7711 GB, free: 72.93 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/0.7197, allocations: 10.38 kB / 0.7711 GB, free: 72.93 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.7197, allocations: 0 / 0.7711 GB, free: 72.93 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.7197, allocations: 3.562 kB / 0.7711 GB, free: 72.93 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005461/0.7252, allocations: 2.204 MB / 0.7732 GB, free: 71.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/0.7252, allocations: 5.188 kB / 0.7732 GB, free: 71.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.7254, allocations: 55.59 kB / 0.7733 GB, free: 71.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009769/0.7264, allocations: 296.2 kB / 0.7736 GB, free: 71.47 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.646e-05/0.7264, allocations: 16.53 kB / 0.7736 GB, free: 71.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/0.7278, allocations: 0.9294 MB / 0.7745 GB, free: 70.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/0.7278, allocations: 15.58 kB / 0.7745 GB, free: 70.72 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004131/0.732, allocations: 1.235 MB / 0.7757 GB, free: 69.99 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005858/0.7326, allocations: 259.9 kB / 0.776 GB, free: 69.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.7327, allocations: 16.34 kB / 0.776 GB, free: 69.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007465/0.7335, allocations: 61.39 kB / 0.776 GB, free: 69.72 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.084e-05/0.7336, allocations: 40.23 kB / 0.7761 GB, free: 69.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.519e-05/0.7336, allocations: 24.17 kB / 0.7761 GB, free: 69.69 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001245/0.7349, allocations: 0.752 MB / 0.7768 GB, free: 69.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7349, allocations: 1.375 kB / 0.7768 GB, free: 69.27 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001855/0.7367, allocations: 0.5842 MB / 0.7774 GB, free: 69.16 MB / 0.5762 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.001006/0.7378, allocations: 400.3 kB / 0.7778 GB, free: 68.99 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003046/0.7408, allocations: 1.029 MB / 0.7788 GB, free: 68.54 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.7408, allocations: 1.062 kB / 0.7788 GB, free: 68.54 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007661/0.7416, allocations: 320.1 kB / 0.7791 GB, free: 68.39 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002126/0.7437, allocations: 0.5097 MB / 0.7796 GB, free: 68.14 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003295/0.7471, allocations: 1.83 MB / 0.7814 GB, free: 67.04 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005276/0.7476, allocations: 1.068 MB / 0.7824 GB, free: 66.17 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007407/0.7483, allocations: 217.8 kB / 0.7826 GB, free: 66.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.7485, allocations: 74.39 kB / 0.7827 GB, free: 66.06 MB / 0.5762 GB Notification: Performance of SimCode: time 4.31e-07/0.7485, allocations: 0 / 0.7827 GB, free: 66.06 MB / 0.5762 GB Notification: Performance of Templates: time 0.03351/0.782, allocations: 25.36 MB / 0.8075 GB, free: 42.57 MB / 0.5762 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)