Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSteamDryer.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.Book.SimpleExamples.Volume.TestSteamDryer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSteamDryer") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSteamDryer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSteamDryer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8407/0.8407, allocations: 150.8 MB / 166.1 MB, free: 15.42 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.411e-05/1.413e-05, allocations: 4 kB / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1724, allocations: 31.97 MB / 236.8 MB, free: 5.441 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.Book.SimpleExamples.Volume.TestSteamDryer): time 1.676/1.848, allocations: 295.5 MB / 0.5198 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5908/2.439, allocations: 190.4 MB / 0.7057 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008996/2.44, allocations: 12 kB / 0.7057 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006543/2.441, allocations: 152.2 kB / 0.7058 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009498/2.442, allocations: 260.1 kB / 0.7061 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03325/2.475, allocations: 9.656 MB / 0.7155 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001528/2.476, allocations: 0.9949 MB / 0.7165 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000551/2.477, allocations: 492.9 kB / 0.717 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004519/2.477, allocations: 345.4 kB / 0.7173 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004053/2.478, allocations: 398.4 kB / 0.7177 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.595e-05/2.478, allocations: 45 kB / 0.7177 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03667/2.515, allocations: 18.1 MB / 0.7354 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003573/2.515, allocations: 154.4 kB / 0.7355 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008732/2.516, allocations: 459.9 kB / 0.736 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02951/2.545, allocations: 9.846 MB / 0.7456 GB, free: 0 / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.335e-06/2.545, allocations: 128 / 0.7456 GB, free: 0 / 0.5762 GB Notification: Performance of FrontEnd: time 4.017e-06/2.545, allocations: 64 / 0.7456 GB, free: 0 / 0.5762 GB Notification: Performance of Transformations before backend: time 1.489e-05/2.545, allocations: 1.75 kB / 0.7456 GB, free: 0 / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.006424/2.552, allocations: 2.037 MB / 0.7476 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/2.552, allocations: 12.61 kB / 0.7476 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/2.552, allocations: 112.3 kB / 0.7477 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005945/2.553, allocations: 477.6 kB / 0.7482 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.914e-05/2.553, allocations: 72.34 kB / 0.7482 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/2.553, allocations: 89.94 kB / 0.7483 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/2.554, allocations: 1.046 MB / 0.7493 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/2.554, allocations: 1.75 kB / 0.7493 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.771e-05/2.555, allocations: 41.88 kB / 0.7494 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.15e-05/2.555, allocations: 41.3 kB / 0.7494 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/2.556, allocations: 0.6843 MB / 0.7501 GB, free: 13.79 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.07705/2.633, allocations: 37.7 MB / 0.7869 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/2.634, allocations: 0.8532 MB / 0.7877 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002624/2.634, allocations: 205.8 kB / 0.7879 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8014/3.436, allocations: 338.9 MB / 1.119 GB, free: 323 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.63e-05/3.436, allocations: 34.56 kB / 1.119 GB, free: 323 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=52): time 2.875e-06/3.436, allocations: 0 / 1.119 GB, free: 323 MB / 0.8106 GB Notification: Performance of matching and sorting (n=52): time 0.002921/3.439, allocations: 1.291 MB / 1.12 GB, free: 321.9 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/3.439, allocations: 81.11 kB / 1.12 GB, free: 321.8 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005285/3.439, allocations: 499.7 kB / 1.121 GB, free: 321.5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/3.439, allocations: 29.27 kB / 1.121 GB, free: 321.4 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/3.439, allocations: 462.5 kB / 1.121 GB, free: 321.1 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.342e-05/3.439, allocations: 188.4 kB / 1.121 GB, free: 320.9 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.914e-05/3.44, allocations: 80.73 kB / 1.121 GB, free: 320.9 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.581e-05/3.44, allocations: 362 kB / 1.122 GB, free: 320.5 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002722/3.44, allocations: 188.1 kB / 1.122 GB, free: 320.4 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003868/3.44, allocations: 474.1 kB / 1.122 GB, free: 319.9 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006972/3.441, allocations: 0.6944 MB / 1.123 GB, free: 319.3 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/3.441, allocations: 4 kB / 1.123 GB, free: 319.3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001528/3.443, allocations: 0.9719 MB / 1.124 GB, free: 318.6 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/3.443, allocations: 12 kB / 1.124 GB, free: 318.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/3.443, allocations: 8 kB / 1.124 GB, free: 318.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/3.444, allocations: 0.6054 MB / 1.125 GB, free: 318.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/3.444, allocations: 91.77 kB / 1.125 GB, free: 318 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/3.445, allocations: 2 MB / 1.127 GB, free: 316.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004514/3.446, allocations: 114.8 kB / 1.127 GB, free: 316 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.926e-05/3.446, allocations: 31.88 kB / 1.127 GB, free: 316 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 19 (steamDryer.Csl.ftype,steamDryer.Csv.ftype,sourceQ.C.ftype,steamDryer.fluids[1],singularPressureLoss2.fluid,sinkP.fluid,singularPressureLoss1.fluid,singularPressureLoss3.fluid,sink.fluid,sourceQ.fluid1,steamDryer.Csl.diff_on_2,steamDryer.Csl.diff_on_1,singularPressureLoss3.C2.diff_on_1,steamDryer.Csv.diff_on_2,steamDryer.Csv.diff_on_1,singularPressureLoss1.C2.diff_on_1,steamDryer.Cev.diff_on_2,sourceQ.C.diff_on_2,singularPressureLoss2.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,3), (1,3), (2,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002765/3.446, allocations: 225.1 kB / 1.127 GB, free: 315.8 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.683e-05/3.446, allocations: 59.25 kB / 1.127 GB, free: 315.7 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/3.447, allocations: 0.8396 MB / 1.128 GB, free: 315.2 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009727/3.448, allocations: 0.6603 MB / 1.129 GB, free: 314.7 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/3.448, allocations: 3.984 kB / 1.129 GB, free: 314.7 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/3.448, allocations: 0 / 1.129 GB, free: 314.7 MB / 0.8106 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 postOpt removeSimpleEquations (simulation): time 0.002159/3.45, allocations: 1.787 MB / 1.13 GB, free: 313.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/3.45, allocations: 7.875 kB / 1.13 GB, free: 313.3 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/3.451, allocations: 39.92 kB / 1.13 GB, free: 313.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008934/3.451, allocations: 0.6165 MB / 1.131 GB, free: 312.7 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/3.451, allocations: 8.219 kB / 1.131 GB, free: 312.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009712/3.452, allocations: 1.986 MB / 1.133 GB, free: 310.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/3.452, allocations: 3.984 kB / 1.133 GB, free: 310.8 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/3.454, allocations: 0.8046 MB / 1.134 GB, free: 310.2 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/3.454, allocations: 178.2 kB / 1.134 GB, free: 310 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.4e-05/3.454, allocations: 7.812 kB / 1.134 GB, free: 310 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002714/3.454, allocations: 51.45 kB / 1.134 GB, free: 310 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.011e-05/3.454, allocations: 27.55 kB / 1.134 GB, free: 310 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.088e-05/3.454, allocations: 19.86 kB / 1.134 GB, free: 310 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002975/3.454, allocations: 316.6 kB / 1.134 GB, free: 309.7 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/3.454, allocations: 2.078 kB / 1.134 GB, free: 309.7 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003871/3.458, allocations: 1.457 MB / 1.136 GB, free: 308.5 MB / 0.8106 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 (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,3), (1,3), (2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00517/3.464, allocations: 2.104 MB / 1.138 GB, free: 306.8 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001113/3.465, allocations: 0.6476 MB / 1.138 GB, free: 306.3 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/3.465, allocations: 0 / 1.138 GB, free: 306.3 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0004565/3.465, allocations: 306.9 kB / 1.139 GB, free: 306.1 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009326/3.466, allocations: 193.2 kB / 1.139 GB, free: 305.9 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/3.468, allocations: 1.664 MB / 1.141 GB, free: 304.4 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/3.468, allocations: 0.9634 MB / 1.141 GB, free: 303.4 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002728/3.468, allocations: 87.89 kB / 1.142 GB, free: 303.3 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.263e-05/3.468, allocations: 43.44 kB / 1.142 GB, free: 303.2 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/3.468, allocations: 0 / 1.142 GB, free: 303.2 MB / 0.8106 GB Notification: Performance of Templates: time 0.05313/3.522, allocations: 49.03 MB / 1.189 GB, free: 255 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSteamDryer.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSteamDryer.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSteamDryer.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSteamDryer.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSteamDryer.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSteamDryer -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestSteamDryer.pipe 2>&1) Environment - environmentSimulation: