Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/package.mo): time 0.4603/0.4603, allocations: 111.7 MB / 121.5 MB, free: 4.797 MB / 122.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08581/0.5461, allocations: 33.98 MB / 155.5 MB, free: 3.723 MB / 154.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 156.8 MB, free: 2.469 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.303e-05/1.49e-05, allocations: 2.312 kB / 156.8 MB, free: 2.465 MB / 154.7 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss): time 1.042/1.042, allocations: 233.2 MB / 390 MB, free: 2.758 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02811/1.07, allocations: 33.2 MB / 423.2 MB, free: 1.438 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001609/1.07, allocations: 4 kB / 423.2 MB, free: 1.434 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/WaterSteam/BoundaryConditions/SourceP.mo:19:3-20:78:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/WaterSteam/BoundaryConditions/SinkP.mo:19:3-20:80:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:15:3-16:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/WaterSteam/PressureLosses/SingularPressureLoss.mo:17:3-18:78:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] Notification: Performance of NFTyping.typeComponents: time 0.0002357/1.07, allocations: 118.6 kB / 423.3 MB, free: 1.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001453/1.071, allocations: 119.1 kB / 423.5 MB, free: 1.203 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01482/1.085, allocations: 8.603 MB / 432.1 MB, free: 8.559 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003349/1.086, allocations: 350.2 kB / 432.4 MB, free: 8.215 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/1.086, allocations: 98.77 kB / 432.5 MB, free: 8.121 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002607/1.086, allocations: 215.3 kB / 432.7 MB, free: 7.91 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.286e-05/1.086, allocations: 71.75 kB / 432.8 MB, free: 7.84 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/1.086, allocations: 16 kB / 432.8 MB, free: 7.824 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/Properties/WaterSteam/IF97_packages.mo:470:9-470:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/Properties/WaterSteam/IF97_packages.mo:525:9-525:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/Properties/WaterSteam/IF97_packages.mo:708:9-708:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: 'dh1satp' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: 'dh2satp' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: 'du1satp_der' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: 'du2satp_der' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. Notification: Performance of NFFlatten.collectFunctions: time 0.02126/1.107, allocations: 18.11 MB / 450.9 MB, free: 5.691 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.853e-05/1.107, allocations: 31.81 kB / 450.9 MB, free: 5.66 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/1.108, allocations: 79.81 kB / 451 MB, free: 5.582 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01267/1.12, allocations: 8.215 MB / 459.2 MB, free: 13.35 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.435e-05/1.12, allocations: 0 / 459.2 MB, free: 13.35 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.523e-06/1.12, allocations: 0 / 459.2 MB, free: 13.35 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.465e-05/1.12, allocations: 0 / 459.2 MB, free: 13.35 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.002885/1.123, allocations: 1.977 MB / 461.2 MB, free: 11.32 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/1.123, allocations: 8.625 kB / 461.2 MB, free: 11.31 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.894e-05/1.123, allocations: 35.97 kB / 461.3 MB, free: 11.28 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/1.123, allocations: 156.8 kB / 461.4 MB, free: 11.1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/1.123, allocations: 16.5 kB / 461.4 MB, free: 11.08 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/1.123, allocations: 20 kB / 461.4 MB, free: 11.06 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/1.124, allocations: 238.5 kB / 461.7 MB, free: 10.79 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/1.124, allocations: 4 kB / 461.7 MB, free: 10.79 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/1.124, allocations: 4 kB / 461.7 MB, free: 10.78 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/1.124, allocations: 12 kB / 461.7 MB, free: 10.77 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.181e-05/1.124, allocations: 73.27 kB / 461.8 MB, free: 10.7 MB / 458.7 MB 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.01364/1.137, allocations: 9.144 MB / 470.9 MB, free: 1.504 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/1.138, allocations: 102.3 kB / 471 MB, free: 1.395 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.512e-05/1.138, allocations: 24.92 kB / 471 MB, free: 1.367 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05988/1.197, allocations: 39.06 MB / 0.4981 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/1.198, allocations: 30.56 kB / 0.4982 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 2.394e-06/1.198, allocations: 4 kB / 0.4982 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.0003928/1.198, allocations: 172.1 kB / 0.4983 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/1.198, allocations: 59.28 kB / 0.4984 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/1.198, allocations: 177.5 kB / 0.4986 GB, free: 9.793 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/1.198, allocations: 25.7 kB / 0.4986 GB, free: 9.762 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.251e-05/1.198, allocations: 156.5 kB / 0.4987 GB, free: 9.605 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.587e-05/1.198, allocations: 103 kB / 0.4988 GB, free: 9.504 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.691e-05/1.198, allocations: 49.62 kB / 0.4989 GB, free: 9.449 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.697e-05/1.198, allocations: 334.8 kB / 0.4992 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.924e-05/1.198, allocations: 23.16 kB / 0.4992 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.475e-05/1.198, allocations: 64.89 kB / 0.4993 GB, free: 9.012 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.651e-05/1.198, allocations: 116.3 kB / 0.4994 GB, free: 8.883 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/1.198, allocations: 0 / 0.4994 GB, free: 8.883 MB / 0.4948 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0001555/1.199, allocations: 165.1 kB / 0.4996 GB, free: 8.711 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/1.199, allocations: 4 kB / 0.4996 GB, free: 8.707 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/1.199, allocations: 0 / 0.4996 GB, free: 8.707 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003495/1.199, allocations: 84.69 kB / 0.4996 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.181e-05/1.199, allocations: 11.94 kB / 0.4997 GB, free: 8.609 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002632/1.199, allocations: 0.5602 MB / 0.5002 GB, free: 8.023 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.473e-05/1.199, allocations: 23.78 kB / 0.5002 GB, free: 8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/1.199, allocations: 8 kB / 0.5002 GB, free: 7.992 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.C.b,PuitsP1.C.a,singularPressureLoss.C1.a,singularPressureLoss.C2.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 6.642e-05/1.199, allocations: 113.8 kB / 0.5003 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.752e-05/1.199, allocations: 11.92 kB / 0.5003 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003616/1.2, allocations: 486.4 kB / 0.5008 GB, free: 7.312 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001045/1.2, allocations: 136.6 kB / 0.5009 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/1.2, allocations: 0 / 0.5009 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/1.2, allocations: 4 kB / 0.5009 GB, free: 7.168 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003682/1.2, allocations: 469.7 kB / 0.5014 GB, free: 6.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/1.2, allocations: 0 / 0.5014 GB, free: 6.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.833e-05/1.2, allocations: 12 kB / 0.5014 GB, free: 6.668 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.666e-05/1.2, allocations: 27.77 kB / 0.5014 GB, free: 6.641 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004149/1.201, allocations: 71.62 kB / 0.5015 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.491e-06/1.201, allocations: 0 / 0.5015 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002214/1.201, allocations: 0.5775 MB / 0.5021 GB, free: 5.961 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.201, allocations: 4 kB / 0.5021 GB, free: 5.957 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/1.201, allocations: 276.5 kB / 0.5023 GB, free: 5.664 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/1.201, allocations: 11.95 kB / 0.5023 GB, free: 5.652 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.319e-05/1.201, allocations: 4 kB / 0.5023 GB, free: 5.648 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.455e-05/1.201, allocations: 15.92 kB / 0.5024 GB, free: 5.633 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/1.201, allocations: 4.125 kB / 0.5024 GB, free: 5.629 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.807e-05/1.201, allocations: 87.53 kB / 0.5025 GB, free: 5.543 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/1.201, allocations: 0 / 0.5025 GB, free: 5.543 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001994/1.203, allocations: 1.204 MB / 0.5036 GB, free: 4.336 MB / 0.4948 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 (11): * Single equations (assignments): 10 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003134/1.206, allocations: 2.063 MB / 0.5056 GB, free: 2.266 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002602/1.207, allocations: 150.6 kB / 0.5058 GB, free: 2.109 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/1.207, allocations: 4 kB / 0.5058 GB, free: 2.105 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.799e-05/1.207, allocations: 60.75 kB / 0.5058 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/1.207, allocations: 140.6 kB / 0.506 GB, free: 1.906 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003127/1.21, allocations: 498.9 kB / 0.5065 GB, free: 1.391 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.062e-05/1.21, allocations: 88.27 kB / 0.5065 GB, free: 1.285 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.094e-05/1.21, allocations: 9.5 kB / 0.5066 GB, free: 1.277 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/1.21, allocations: 103.3 kB / 0.5066 GB, free: 1.176 MB / 0.4948 GB Notification: Performance of SimCode: time 9.72e-07/1.21, allocations: 0 / 0.5066 GB, free: 1.176 MB / 0.4948 GB Notification: Performance of Templates: time 0.1856/1.396, allocations: 48.99 MB / 0.5545 GB, free: 57.57 MB / 0.4948 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06346/1.459, allocations: 53.73 MB / 0.607 GB, free: 17.34 MB / 0.4948 GB " [Timeout remaining time 659] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.571445070207119]