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.008495/0.008495, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001775/0.001775, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.408/1.408, 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.8654/0.8654, allocations: 132.2 MB / 422.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 58.91 kB / 0.5813 GB, free: 23.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1799, allocations: 80.22 MB / 0.6597 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.06354/0.2435, allocations: 61.14 MB / 0.7194 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01662/0.2602, allocations: 11.99 MB / 0.7311 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002363/0.2626, allocations: 55.69 kB / 0.7311 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002049/0.2646, allocations: 0.6908 MB / 0.7318 GB, free: 144 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005859/0.2706, allocations: 2.064 MB / 0.7338 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003212/0.2738, allocations: 1.208 MB / 0.735 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004953/0.2788, allocations: 3.095 MB / 0.738 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001904/0.2807, allocations: 1.088 MB / 0.7391 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003786/0.2845, allocations: 1.374 MB / 0.7404 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001276/0.2858, allocations: 0.8906 MB / 0.7413 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001654/0.2859, allocations: 112 kB / 0.7414 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00319/0.2891, allocations: 1.443 MB / 0.7428 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003001/0.2895, allocations: 302.8 kB / 0.7431 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008123/0.2903, allocations: 0.6919 MB / 0.7438 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003462/0.2937, allocations: 2.306 MB / 0.746 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.2938, allocations: 0 / 0.746 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2938, allocations: 0 / 0.746 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.1e-05/0.2938, allocations: 0 / 0.746 GB, free: 1.52 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.4118/0.7056, allocations: 1.722 MB / 0.7477 GB, free: 86.89 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/0.7057, allocations: 12.25 kB / 0.7477 GB, free: 86.89 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002448/0.7081, allocations: 411.3 kB / 0.7481 GB, free: 86.82 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0026/0.7108, allocations: 1.161 MB / 0.7492 GB, free: 86.34 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.733e-05/0.7109, allocations: 65.48 kB / 0.7493 GB, free: 86.31 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.711, allocations: 78.56 kB / 0.7494 GB, free: 86.29 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002287/0.7133, allocations: 0.9964 MB / 0.7504 GB, free: 85.8 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.7133, allocations: 9.469 kB / 0.7504 GB, free: 85.8 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.076e-05/0.7134, allocations: 39.38 kB / 0.7504 GB, free: 85.77 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/0.7135, allocations: 20.34 kB / 0.7504 GB, free: 85.77 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002349/0.7158, allocations: 0.8435 MB / 0.7512 GB, free: 85.5 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.007189/0.723, allocations: 5.207 MB / 0.7563 GB, free: 81.51 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003798/0.7268, allocations: 0.785 MB / 0.7571 GB, free: 81.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008429/0.7277, allocations: 297.4 kB / 0.7574 GB, free: 81.21 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006264/0.7283, allocations: 0.9044 MB / 0.7583 GB, free: 80.17 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.7284, allocations: 41.55 kB / 0.7583 GB, free: 80.12 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.494e-06/0.7284, allocations: 0 / 0.7583 GB, free: 80.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.00803/0.7364, allocations: 1.7 MB / 0.76 GB, free: 79.69 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.7365, allocations: 56.86 kB / 0.76 GB, free: 79.63 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002168/0.7386, allocations: 1.072 MB / 0.7611 GB, free: 79.19 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.609e-05/0.7387, allocations: 38.45 kB / 0.7611 GB, free: 79.15 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003767/0.7391, allocations: 0.5353 MB / 0.7616 GB, free: 78.73 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.7392, allocations: 153.5 kB / 0.7618 GB, free: 78.61 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002442/0.7395, allocations: 138.3 kB / 0.7619 GB, free: 78.54 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.153e-05/0.7395, allocations: 327.1 kB / 0.7622 GB, free: 78.23 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009095/0.7405, allocations: 305 kB / 0.7625 GB, free: 78.13 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.7415, allocations: 0.5263 MB / 0.763 GB, free: 77.76 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001794/0.7434, allocations: 0.721 MB / 0.7637 GB, free: 77.36 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/0.7434, allocations: 1.812 kB / 0.7637 GB, free: 77.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002767/0.7461, allocations: 1.007 MB / 0.7647 GB, free: 76.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.7462, allocations: 6.656 kB / 0.7647 GB, free: 76.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.7462, allocations: 9.453 kB / 0.7647 GB, free: 76.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001287/0.7475, allocations: 309.8 kB / 0.765 GB, free: 76.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000573/0.7481, allocations: 128 kB / 0.7651 GB, free: 76.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/0.7495, allocations: 0.8956 MB / 0.766 GB, free: 76.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.7507, allocations: 150.6 kB / 0.7662 GB, free: 76.19 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-05/0.7508, allocations: 38.86 kB / 0.7662 GB, free: 76.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001281/0.7521, allocations: 0.5097 MB / 0.7667 GB, free: 75.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00102/0.7531, allocations: 0.5237 MB / 0.7672 GB, free: 75.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001735/0.7549, allocations: 0.6978 MB / 0.7679 GB, free: 75.18 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.67e-06/0.7549, allocations: 1.875 kB / 0.7679 GB, free: 75.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.00276/0.7577, allocations: 1.008 MB / 0.7689 GB, free: 74.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.7577, allocations: 8.594 kB / 0.7689 GB, free: 74.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.7577, allocations: 8.562 kB / 0.7689 GB, free: 74.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/0.7588, allocations: 301.6 kB / 0.7692 GB, free: 74.72 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005448/0.7593, allocations: 132.6 kB / 0.7693 GB, free: 74.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.7606, allocations: 0.8886 MB / 0.7702 GB, free: 74.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/0.7618, allocations: 129.4 kB / 0.7703 GB, free: 74 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.333e-05/0.7619, allocations: 35.42 kB / 0.7703 GB, free: 73.99 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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.0002304/0.7621, allocations: 220 kB / 0.7705 GB, free: 73.78 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/0.7623, allocations: 115.9 kB / 0.7707 GB, free: 73.71 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002232/0.7645, allocations: 0.9166 MB / 0.7715 GB, free: 73.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.7645, allocations: 6.188 kB / 0.7716 GB, free: 73.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.7646, allocations: 0 / 0.7716 GB, free: 73.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/0.7646, allocations: 10.52 kB / 0.7716 GB, free: 73.19 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004886/0.7695, allocations: 2.146 MB / 0.7737 GB, free: 71.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/0.7695, allocations: 3.406 kB / 0.7737 GB, free: 71.72 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002897/0.7698, allocations: 61.36 kB / 0.7737 GB, free: 71.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009673/0.7708, allocations: 290.7 kB / 0.774 GB, free: 71.57 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.59e-05/0.7708, allocations: 10.47 kB / 0.774 GB, free: 71.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001314/0.7721, allocations: 0.9349 MB / 0.7749 GB, free: 70.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.7721, allocations: 6.562 kB / 0.7749 GB, free: 70.82 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00355/0.7757, allocations: 1.142 MB / 0.776 GB, free: 70.13 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004326/0.7761, allocations: 260.9 kB / 0.7763 GB, free: 69.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.7763, allocations: 12.62 kB / 0.7763 GB, free: 69.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008163/0.7771, allocations: 78.09 kB / 0.7764 GB, free: 69.86 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.933e-05/0.7772, allocations: 37.19 kB / 0.7764 GB, free: 69.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.981e-05/0.7773, allocations: 22.55 kB / 0.7764 GB, free: 69.83 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001185/0.7785, allocations: 0.7564 MB / 0.7772 GB, free: 69.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7785, allocations: 1.375 kB / 0.7772 GB, free: 69.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001756/0.7802, allocations: 0.5631 MB / 0.7777 GB, free: 69.3 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 (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.000771/0.781, allocations: 390.9 kB / 0.7781 GB, free: 69.12 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00312/0.7842, allocations: 1.111 MB / 0.7792 GB, free: 68.62 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.7842, allocations: 0 / 0.7792 GB, free: 68.62 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008425/0.785, allocations: 356.2 kB / 0.7795 GB, free: 68.46 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/0.7871, allocations: 0.5112 MB / 0.78 GB, free: 68.21 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004957/0.7921, allocations: 2.022 MB / 0.782 GB, free: 67 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/0.7925, allocations: 1.062 MB / 0.783 GB, free: 66.14 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008063/0.7933, allocations: 227.8 kB / 0.7832 GB, free: 66.04 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.7935, allocations: 70.64 kB / 0.7833 GB, free: 66.02 MB / 0.5762 GB Notification: Performance of SimCode: time 1.052e-06/0.7935, allocations: 0 / 0.7833 GB, free: 66.02 MB / 0.5762 GB Notification: Performance of Templates: time 0.03279/0.8263, allocations: 25.01 MB / 0.8077 GB, free: 42.54 MB / 0.5762 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)