Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer2.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.TestSteamDryer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer2") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9231/0.9231, allocations: 150.8 MB / 166.1 MB, free: 15.4 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.027e-05/2.09e-05, allocations: 4 kB / 204.8 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2059, allocations: 31.97 MB / 236.8 MB, free: 5.438 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.TestSteamDryer2): time 1.881/2.087, allocations: 295.6 MB / 0.5198 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6789/2.766, allocations: 190.4 MB / 0.7058 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008615/2.767, allocations: 11.09 kB / 0.7058 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008562/2.768, allocations: 152.2 kB / 0.7059 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001399/2.769, allocations: 266.2 kB / 0.7062 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.04545/2.814, allocations: 9.651 MB / 0.7156 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002067/2.816, allocations: 0.9988 MB / 0.7166 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009106/2.817, allocations: 486.8 kB / 0.717 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008866/2.818, allocations: 353.7 kB / 0.7174 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007995/2.819, allocations: 393.7 kB / 0.7177 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001962/2.819, allocations: 41.81 kB / 0.7178 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0419/2.861, allocations: 18.11 MB / 0.7355 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000458/2.862, allocations: 148.4 kB / 0.7356 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001058/2.863, allocations: 464.9 kB / 0.7361 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0358/2.899, allocations: 9.823 MB / 0.7456 GB, free: 0 / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.047e-05/2.899, allocations: 0.75 kB / 0.7456 GB, free: 0 / 0.5762 GB Notification: Performance of FrontEnd: time 2.826e-06/2.899, allocations: 2.031 kB / 0.7456 GB, free: 0 / 0.5762 GB Notification: Performance of Transformations before backend: time 8.34e-05/2.899, allocations: 2.188 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.007914/2.907, allocations: 2.034 MB / 0.7476 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/2.907, allocations: 12.58 kB / 0.7476 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00037/2.907, allocations: 108.8 kB / 0.7478 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009062/2.908, allocations: 478.9 kB / 0.7482 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.972e-05/2.908, allocations: 72.31 kB / 0.7483 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/2.908, allocations: 93.62 kB / 0.7484 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001955/2.91, allocations: 1.039 MB / 0.7494 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.218e-05/2.91, allocations: 6.906 kB / 0.7494 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.609e-05/2.91, allocations: 46.53 kB / 0.7494 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.614e-05/2.911, allocations: 32.02 kB / 0.7495 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/2.912, allocations: 0.6949 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.08305/2.995, allocations: 37.69 MB / 0.787 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/2.996, allocations: 0.8514 MB / 0.7878 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003047/2.997, allocations: 205.8 kB / 0.788 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8709/3.867, allocations: 338.9 MB / 1.119 GB, free: 323.1 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.467e-05/3.868, allocations: 46.48 kB / 1.119 GB, free: 323.1 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=52): time 3.226e-06/3.868, allocations: 0 / 1.119 GB, free: 323.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=52): time 0.003223/3.871, allocations: 1.283 MB / 1.12 GB, free: 322 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/3.871, allocations: 84.95 kB / 1.12 GB, free: 321.9 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007013/3.872, allocations: 0.4958 MB / 1.121 GB, free: 321.5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/3.872, allocations: 29.58 kB / 1.121 GB, free: 321.5 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002712/3.872, allocations: 461.7 kB / 1.121 GB, free: 321.2 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/3.872, allocations: 183.8 kB / 1.121 GB, free: 321 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/3.872, allocations: 84.09 kB / 1.122 GB, free: 321 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.433e-05/3.872, allocations: 360.5 kB / 1.122 GB, free: 320.6 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/3.873, allocations: 181 kB / 1.122 GB, free: 320.5 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004217/3.873, allocations: 476.5 kB / 1.122 GB, free: 320 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007381/3.874, allocations: 0.7043 MB / 1.123 GB, free: 319.4 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/3.874, allocations: 4 kB / 1.123 GB, free: 319.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001805/3.876, allocations: 0.9693 MB / 1.124 GB, free: 318.7 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/3.876, allocations: 8.625 kB / 1.124 GB, free: 318.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.471e-05/3.876, allocations: 8.781 kB / 1.124 GB, free: 318.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/3.877, allocations: 0.6008 MB / 1.125 GB, free: 318.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/3.877, allocations: 95.36 kB / 1.125 GB, free: 318.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/3.878, allocations: 2.001 MB / 1.127 GB, free: 316.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005821/3.879, allocations: 107.6 kB / 1.127 GB, free: 316.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.938e-05/3.879, allocations: 34.02 kB / 1.127 GB, free: 316.1 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.000365/3.879, allocations: 228.5 kB / 1.127 GB, free: 315.9 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/3.879, allocations: 59.86 kB / 1.127 GB, free: 315.8 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/3.881, allocations: 0.8387 MB / 1.128 GB, free: 315.2 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00103/3.882, allocations: 0.663 MB / 1.129 GB, free: 314.8 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/3.882, allocations: 0 / 1.129 GB, free: 314.8 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/3.882, allocations: 0 / 1.129 GB, free: 314.8 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.002476/3.884, allocations: 1.798 MB / 1.13 GB, free: 313.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/3.884, allocations: 0 / 1.13 GB, free: 313.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/3.885, allocations: 39.92 kB / 1.13 GB, free: 313.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009882/3.886, allocations: 0.6178 MB / 1.131 GB, free: 312.8 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/3.886, allocations: 7.938 kB / 1.131 GB, free: 312.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/3.887, allocations: 1.985 MB / 1.133 GB, free: 310.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/3.887, allocations: 0.8438 kB / 1.133 GB, free: 310.9 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/3.888, allocations: 0.8111 MB / 1.134 GB, free: 310.3 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002941/3.888, allocations: 171 kB / 1.134 GB, free: 310.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.934e-05/3.888, allocations: 11.25 kB / 1.134 GB, free: 310.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003458/3.889, allocations: 47.45 kB / 1.134 GB, free: 310.1 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.658e-05/3.889, allocations: 31.52 kB / 1.134 GB, free: 310 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/3.889, allocations: 19.81 kB / 1.134 GB, free: 310 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003719/3.889, allocations: 319.9 kB / 1.134 GB, free: 309.8 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/3.889, allocations: 0 / 1.134 GB, free: 309.8 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.006209/3.895, allocations: 1.455 MB / 1.136 GB, free: 308.6 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.009435/3.905, allocations: 2.101 MB / 1.138 GB, free: 306.9 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001455/3.906, allocations: 0.6438 MB / 1.138 GB, free: 306.4 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/3.906, allocations: 0 / 1.138 GB, free: 306.4 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.00053/3.907, allocations: 310.1 kB / 1.139 GB, free: 306.2 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/3.908, allocations: 199.4 kB / 1.139 GB, free: 306 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002271/3.91, allocations: 1.665 MB / 1.141 GB, free: 304.4 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/3.911, allocations: 0.9581 MB / 1.142 GB, free: 303.4 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000369/3.911, allocations: 94.84 kB / 1.142 GB, free: 303.4 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.78e-05/3.911, allocations: 51.3 kB / 1.142 GB, free: 303.3 MB / 0.8106 GB Notification: Performance of SimCode: time 1.002e-06/3.911, allocations: 0 / 1.142 GB, free: 303.3 MB / 0.8106 GB Notification: Performance of Templates: time 0.05818/3.969, allocations: 49.02 MB / 1.19 GB, free: 255.1 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer2.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer2.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer2.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer2.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer2.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer2.pipe 2>&1) Environment - environmentSimulation: