Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008368/0.008368, allocations: 107 kB / 15.74 MB, free: 5.996 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.001159/0.001159, allocations: 197.6 kB / 16.68 MB, free: 5.918 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8324/0.8324, allocations: 132.2 MB / 422.7 MB, free: 6.523 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 63.42 kB / 0.5813 GB, free: 23.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1872, allocations: 80.21 MB / 0.6597 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06739/0.2546, allocations: 70.45 MB / 0.7285 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02414/0.2788, allocations: 18.91 MB / 0.7469 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00295/0.2818, allocations: 63.62 kB / 0.747 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.4195/0.7013, allocations: 0.8439 MB / 0.7478 GB, free: 17.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009238/0.7106, allocations: 2.998 MB / 0.7507 GB, free: 17.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006327/0.7169, allocations: 1.661 MB / 0.7524 GB, free: 17.91 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009827/0.7268, allocations: 4.043 MB / 0.7563 GB, free: 17.91 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003462/0.7303, allocations: 1.464 MB / 0.7577 GB, free: 17.75 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006116/0.7364, allocations: 1.811 MB / 0.7595 GB, free: 17.74 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003647/0.7401, allocations: 1.178 MB / 0.7607 GB, free: 17.55 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007772/0.7408, allocations: 178.4 kB / 0.7608 GB, free: 17.55 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004688/0.7455, allocations: 1.412 MB / 0.7622 GB, free: 17.52 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009188/0.7465, allocations: 391.5 kB / 0.7626 GB, free: 17.46 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00292/0.7494, allocations: 0.911 MB / 0.7635 GB, free: 17.22 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007098/0.7565, allocations: 3.117 MB / 0.7665 GB, free: 16.87 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.7565, allocations: 7.688 kB / 0.7665 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7566, allocations: 4.25 kB / 0.7665 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001078/0.7567, allocations: 0.7969 kB / 0.7665 GB, free: 16.86 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.006379/0.7631, allocations: 2.034 MB / 0.7685 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.7631, allocations: 10.34 kB / 0.7685 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002704/0.7658, allocations: 444.3 kB / 0.7689 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003621/0.7695, allocations: 1.55 MB / 0.7705 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.825e-05/0.7696, allocations: 82.97 kB / 0.7705 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/0.7697, allocations: 109.4 kB / 0.7706 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002503/0.7723, allocations: 1.314 MB / 0.7719 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.736e-05/0.7723, allocations: 1.438 kB / 0.7719 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.7724, allocations: 42.62 kB / 0.772 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.566e-05/0.7724, allocations: 27.16 kB / 0.772 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002556/0.775, allocations: 1.103 MB / 0.7731 GB, free: 14.97 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.009081/0.7841, allocations: 7.493 MB / 0.7804 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003076/0.7872, allocations: 0.8055 MB / 0.7812 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006434/0.7879, allocations: 285.5 kB / 0.7814 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001148/0.789, allocations: 1.722 MB / 0.7831 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.7891, allocations: 43.64 kB / 0.7832 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=48): time 3.306e-06/0.7891, allocations: 2.062 kB / 0.7832 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.005114/0.7942, allocations: 1.337 MB / 0.7845 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.7942, allocations: 55.84 kB / 0.7845 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004483/0.7987, allocations: 1.545 MB / 0.786 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001258/0.7989, allocations: 37.23 kB / 0.7861 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007322/0.7996, allocations: 0.6781 MB / 0.7867 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/0.7998, allocations: 170.5 kB / 0.7869 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003995/0.8003, allocations: 172.7 kB / 0.7871 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.275e-05/0.8004, allocations: 333.4 kB / 0.7874 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009348/0.8013, allocations: 362 kB / 0.7877 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.8025, allocations: 0.6657 MB / 0.7884 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001606/0.8041, allocations: 0.8787 MB / 0.7892 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.8041, allocations: 5.719 kB / 0.7892 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003273/0.8074, allocations: 1.197 MB / 0.7904 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.8074, allocations: 8.5 kB / 0.7904 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-05/0.8075, allocations: 8.25 kB / 0.7904 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009156/0.8084, allocations: 224.2 kB / 0.7906 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008236/0.8092, allocations: 191.3 kB / 0.7908 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008245/0.81, allocations: 0.7266 MB / 0.7915 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/0.812, allocations: 214.5 kB / 0.7917 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/0.8121, allocations: 40.59 kB / 0.7918 GB, free: 4.699 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (84): * Single equations (assignments): 83 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0008006/0.8129, allocations: 355.1 kB / 0.7921 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004656/0.8134, allocations: 151.2 kB / 0.7923 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002439/0.8158, allocations: 1.146 MB / 0.7934 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.699e-05/0.8159, allocations: 10.11 kB / 0.7934 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.8159, allocations: 0 / 0.7934 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.8159, allocations: 8.734 kB / 0.7934 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005505/0.8214, allocations: 2.507 MB / 0.7958 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/0.8214, allocations: 0 / 0.7958 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003419/0.8218, allocations: 90.33 kB / 0.7959 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006803/0.8225, allocations: 206 kB / 0.7961 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.178e-05/0.8225, allocations: 18.39 kB / 0.7961 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001052/0.8236, allocations: 0.7708 MB / 0.7969 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.8236, allocations: 2.531 kB / 0.7969 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003171/0.8268, allocations: 1.205 MB / 0.7981 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008794/0.8277, allocations: 352.3 kB / 0.7984 GB, free: 408 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004697/0.8282, allocations: 17.41 kB / 0.7984 GB, free: 396 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/0.8293, allocations: 78.11 kB / 0.7985 GB, free: 356 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.69e-05/0.8294, allocations: 47.16 kB / 0.7985 GB, free: 336 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-05/0.8295, allocations: 24.45 kB / 0.7986 GB, free: 328 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002095/0.8316, allocations: 1.083 MB / 0.7996 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8316, allocations: 0 / 0.7996 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002056/0.8336, allocations: 444.8 kB / 0.8 GB, free: 15.63 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001346/0.835, allocations: 479.6 kB / 0.8005 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002309/0.8373, allocations: 0.8505 MB / 0.8013 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.8373, allocations: 2.844 kB / 0.8013 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001389/0.8387, allocations: 442.1 kB / 0.8018 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003607/0.8424, allocations: 0.7439 MB / 0.8025 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004883/0.8473, allocations: 2.24 MB / 0.8047 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/0.8483, allocations: 1.165 MB / 0.8058 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001371/0.8497, allocations: 275.1 kB / 0.8061 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004341/0.8502, allocations: 115 kB / 0.8062 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of SimCode: time 1.092e-06/0.8502, allocations: 3.938 kB / 0.8062 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of Templates: time 0.05954/0.9097, allocations: 31.75 MB / 0.8372 GB, free: 14.82 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)