Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2.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.TestStodolaTurbine2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8537/0.8537, allocations: 150.8 MB / 166.1 MB, free: 15.4 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.653e-05/1.656e-05, allocations: 4 kB / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1542, allocations: 31.98 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.TestStodolaTurbine2): time 1.704/1.858, allocations: 294.3 MB / 0.5186 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6499/2.508, allocations: 195.4 MB / 0.7095 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00062/2.509, allocations: 8.062 kB / 0.7095 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005499/2.51, allocations: 143.3 kB / 0.7096 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005594/2.51, allocations: 165 kB / 0.7098 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.04102/2.551, allocations: 10.95 MB / 0.7205 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009505/2.552, allocations: 0.5806 MB / 0.7211 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003039/2.552, allocations: 207.2 kB / 0.7212 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002681/2.553, allocations: 218.2 kB / 0.7215 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002302/2.553, allocations: 193.8 kB / 0.7216 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.821e-05/2.553, allocations: 16.12 kB / 0.7217 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05448/2.608, allocations: 25.64 MB / 0.7467 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002169/2.608, allocations: 71.72 kB / 0.7468 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004716/2.608, allocations: 250 kB / 0.747 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.04991/2.658, allocations: 12.28 MB / 0.759 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.707e-06/2.658, allocations: 0 / 0.759 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.509e-06/2.658, allocations: 0 / 0.759 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.677e-05/2.658, allocations: 0 / 0.759 GB, free: 12.01 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.009862/2.668, allocations: 2.116 MB / 0.7611 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/2.668, allocations: 11.56 kB / 0.7611 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001945/2.668, allocations: 56.72 kB / 0.7611 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005025/2.669, allocations: 325.5 kB / 0.7614 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001642/2.669, allocations: 97.14 kB / 0.7615 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.845e-05/2.669, allocations: 37.06 kB / 0.7616 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000956/2.67, allocations: 0.5182 MB / 0.7621 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/2.67, allocations: 14.42 kB / 0.7621 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.811e-05/2.67, allocations: 12.88 kB / 0.7621 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/2.67, allocations: 16.22 kB / 0.7621 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007605/2.671, allocations: 385.4 kB / 0.7625 GB, free: 10.04 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.07524/2.746, allocations: 33.48 MB / 0.7952 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004392/2.747, allocations: 228.4 kB / 0.7954 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/2.747, allocations: 160.1 kB / 0.7955 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1419/2.889, allocations: 80.95 MB / 0.8746 GB, free: 0.6016 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/2.889, allocations: 31.94 kB / 0.8746 GB, free: 0.5625 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=48): time 2.374e-06/2.889, allocations: 0 / 0.8746 GB, free: 0.5625 MB / 0.7012 GB Notification: Performance of matching and sorting (n=48): time 0.00365/2.893, allocations: 1.219 MB / 0.8758 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/2.893, allocations: 59.09 kB / 0.8759 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003755/2.893, allocations: 315.6 kB / 0.8762 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/2.893, allocations: 29.33 kB / 0.8762 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/2.893, allocations: 240.8 kB / 0.8764 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/2.893, allocations: 159.1 kB / 0.8766 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.004e-05/2.894, allocations: 54.31 kB / 0.8766 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001922/2.894, allocations: 346.6 kB / 0.877 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003239/2.894, allocations: 143.9 kB / 0.8771 GB, free: 14.31 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004129/2.895, allocations: 272.1 kB / 0.8774 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007988/2.895, allocations: 453.6 kB / 0.8778 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/2.895, allocations: 0 / 0.8778 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001967/2.897, allocations: 0.7083 MB / 0.8785 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.681e-05/2.897, allocations: 8 kB / 0.8785 GB, free: 13.15 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/2.897, allocations: 4.25 kB / 0.8785 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009926/2.898, allocations: 406.1 kB / 0.8789 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/2.899, allocations: 38.89 kB / 0.8789 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00189/2.9, allocations: 1.943 MB / 0.8808 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003511/2.901, allocations: 68.86 kB / 0.8809 GB, free: 10.83 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/2.901, allocations: 12 kB / 0.8809 GB, free: 10.82 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.fluid1,sourceP.C.ftype,stodolaTurbine.fluid,puitsP.fluid,stodolaTurbine.Cs.diff_on_1,sourceP.C.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002578/2.901, allocations: 167.9 kB / 0.881 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.321e-05/2.901, allocations: 35.53 kB / 0.8811 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00154/2.903, allocations: 0.8936 MB / 0.882 GB, free: 10.03 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001228/2.904, allocations: 0.6986 MB / 0.8826 GB, free: 9.52 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/2.904, allocations: 3.938 kB / 0.8826 GB, free: 9.516 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/2.904, allocations: 0 / 0.8826 GB, free: 9.516 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003025/2.907, allocations: 1.648 MB / 0.8842 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/2.907, allocations: 2.906 kB / 0.8843 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/2.907, allocations: 58.31 kB / 0.8843 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007271/2.908, allocations: 412.2 kB / 0.8847 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/2.908, allocations: 8.812 kB / 0.8847 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/2.91, allocations: 1.967 MB / 0.8866 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/2.91, allocations: 8.156 kB / 0.8866 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/2.911, allocations: 0.893 MB / 0.8875 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/2.912, allocations: 132.2 kB / 0.8876 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.517e-05/2.912, allocations: 6.438 kB / 0.8876 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/2.912, allocations: 26.3 kB / 0.8877 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.656e-05/2.912, allocations: 26.47 kB / 0.8877 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/2.912, allocations: 15.05 kB / 0.8877 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002619/2.912, allocations: 226.3 kB / 0.8879 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/2.912, allocations: 0 / 0.8879 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.006695/2.919, allocations: 2.033 MB / 0.8899 GB, free: 2.898 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01066/2.93, allocations: 3.015 MB / 0.8929 GB, free: 300 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001324/2.931, allocations: 0.597 MB / 0.8934 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/2.931, allocations: 3.938 kB / 0.8934 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005232/2.932, allocations: 293.4 kB / 0.8937 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/2.933, allocations: 234.1 kB / 0.8939 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/2.935, allocations: 1.409 MB / 0.8953 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/2.936, allocations: 0.8694 MB / 0.8962 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002535/2.936, allocations: 59.19 kB / 0.8962 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.171e-05/2.936, allocations: 39.44 kB / 0.8963 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of SimCode: time 4e-07/2.936, allocations: 4 kB / 0.8963 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of Templates: time 0.09299/3.029, allocations: 70.68 MB / 0.9653 GB, free: 6.555 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2.pipe 2>&1) Environment - environmentSimulation: