Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8453/0.8453, allocations: 150.8 MB / 166.1 MB, free: 15.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.603e-05/1.606e-05, allocations: 4 kB / 204.8 MB, free: 10.04 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1968, allocations: 31.97 MB / 236.8 MB, free: 5.414 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger): time 1.813/2.01, allocations: 294.6 MB / 0.5189 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.226/2.236, allocations: 187.7 MB / 0.7022 GB, free: 52 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007239/2.237, allocations: 7.938 kB / 0.7022 GB, free: 44 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.4051/2.642, allocations: 72.78 kB / 0.7023 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002115/2.644, allocations: 0.5353 MB / 0.7028 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03438/2.678, allocations: 9.422 MB / 0.712 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003614/2.682, allocations: 3.273 MB / 0.7152 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001376/2.684, allocations: 1.1 MB / 0.7163 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009664/2.684, allocations: 0.8062 MB / 0.7171 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001568/2.686, allocations: 1.157 MB / 0.7182 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002585/2.686, allocations: 103.2 kB / 0.7183 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04518/2.732, allocations: 20.68 MB / 0.7385 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001451/2.733, allocations: 0.7916 MB / 0.7393 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001701/2.735, allocations: 1.016 MB / 0.7403 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03787/2.773, allocations: 12 MB / 0.752 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/2.773, allocations: 0 / 0.752 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.434e-06/2.773, allocations: 0 / 0.752 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.093e-05/2.773, allocations: 4 kB / 0.752 GB, free: 13.43 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 495 * Number of variables: 495 Notification: Performance of Generate backend data structure: time 0.01132/2.784, allocations: 3.217 MB / 0.7551 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/2.784, allocations: 8.625 kB / 0.7551 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000495/2.785, allocations: 209.2 kB / 0.7553 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/2.786, allocations: 0.8659 MB / 0.7562 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004486/2.787, allocations: 462.2 kB / 0.7566 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002961/2.787, allocations: 187.7 kB / 0.7568 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005096/2.792, allocations: 3.141 MB / 0.7599 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.187e-05/2.792, allocations: 18.69 kB / 0.7599 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000208/2.792, allocations: 90.25 kB / 0.76 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.555e-05/2.792, allocations: 52.38 kB / 0.76 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005107/2.797, allocations: 3.191 MB / 0.7631 GB, free: 8.902 MB / 0.5919 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.01718/2.815, allocations: 14.88 MB / 0.7777 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007139/2.822, allocations: 2.407 MB / 0.78 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001654/2.823, allocations: 0.9399 MB / 0.7809 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1641/2.988, allocations: 86.35 MB / 0.8653 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.907e-05/2.988, allocations: 48.77 kB / 0.8653 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=146): time 3.587e-06/2.988, allocations: 0 / 0.8653 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of matching and sorting (n=146): time 0.02273/3.01, allocations: 6.519 MB / 0.8717 GB, free: 5.117 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/3.011, allocations: 72.72 kB / 0.8717 GB, free: 5.035 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002091/3.013, allocations: 1.393 MB / 0.8731 GB, free: 3.633 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001355/3.013, allocations: 49.7 kB / 0.8731 GB, free: 3.578 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005726/3.013, allocations: 0.776 MB / 0.8739 GB, free: 2.797 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005782/3.014, allocations: 0.5177 MB / 0.8744 GB, free: 2.281 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002471/3.014, allocations: 165.8 kB / 0.8746 GB, free: 2.113 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001068/3.014, allocations: 305.1 kB / 0.8749 GB, free: 1.812 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001804/3.016, allocations: 0.9448 MB / 0.8758 GB, free: 0.8633 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00228/3.018, allocations: 1.656 MB / 0.8774 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004262/3.023, allocations: 2.746 MB / 0.8801 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.558e-05/3.023, allocations: 8 kB / 0.8801 GB, free: 11.92 MB / 0.7169 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006749/3.029, allocations: 3.448 MB / 0.8834 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.051e-05/3.03, allocations: 20.25 kB / 0.8835 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-05/3.03, allocations: 24 kB / 0.8835 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004506/3.034, allocations: 1.606 MB / 0.8851 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003713/3.038, allocations: 0.6021 MB / 0.8856 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008015/3.046, allocations: 5.171 MB / 0.8907 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002742/3.049, allocations: 320.9 kB / 0.891 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002769/3.049, allocations: 123.9 kB / 0.8911 GB, free: 0.6211 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.C.ftype,dynamicOnePhaseFlowPipe.fluid,sinkP.fluid,sourceP.fluid1,dynamicOnePhaseFlowPipe.C1.diff_on_2,dynamicOnePhaseFlowPipe.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 190 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,11,28.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,43)} Notification: Performance of prepare postOptimizeDAE: time 0.001042/3.05, allocations: 0.5061 MB / 0.8916 GB, free: 140 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003218/3.05, allocations: 162.1 kB / 0.8918 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005902/3.056, allocations: 2.842 MB / 0.8945 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/3.056, allocations: 16 kB / 0.8946 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/3.056, allocations: 8 kB / 0.8946 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-05/3.056, allocations: 11.91 kB / 0.8946 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008215/3.065, allocations: 4.414 MB / 0.8989 GB, free: 8.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/3.065, allocations: 5.859 kB / 0.8989 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002115/3.067, allocations: 349.5 kB / 0.8992 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004159/3.071, allocations: 1.478 MB / 0.9007 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002408/3.071, allocations: 39.98 kB / 0.9007 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007618/3.079, allocations: 5.139 MB / 0.9057 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/3.079, allocations: 0 / 0.9057 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005661/3.085, allocations: 2.681 MB / 0.9083 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001205/3.086, allocations: 446.7 kB / 0.9088 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002169/3.086, allocations: 24 kB / 0.9088 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/3.087, allocations: 99.7 kB / 0.9089 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003199/3.087, allocations: 116.1 kB / 0.909 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/3.088, allocations: 51.98 kB / 0.9091 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001304/3.089, allocations: 0.9416 MB / 0.91 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.664e-06/3.089, allocations: 0 / 0.91 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.007799/3.097, allocations: 2.028 MB / 0.912 GB, free: 11.09 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (74): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,11,28.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,43)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01023/3.107, allocations: 2.385 MB / 0.9143 GB, free: 8.988 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006894/3.114, allocations: 2.678 MB / 0.9169 GB, free: 6.371 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/3.114, allocations: 0 / 0.9169 GB, free: 6.371 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002994/3.117, allocations: 1.364 MB / 0.9182 GB, free: 5.02 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002102/3.119, allocations: 338.7 kB / 0.9186 GB, free: 4.684 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00573/3.125, allocations: 3.679 MB / 0.9221 GB, free: 0.9883 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/3.126, allocations: 1.38 MB / 0.9235 GB, free: 15.58 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001982/3.128, allocations: 0.5356 MB / 0.924 GB, free: 15.04 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004551/3.128, allocations: 127.4 kB / 0.9241 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of SimCode: time 1.353e-06/3.128, allocations: 0 / 0.9241 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of Templates: time 0.3462/3.475, allocations: 76.13 MB / 0.9985 GB, free: 429.8 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.pipe 2>&1) Environment - environmentSimulation: