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.5164/0.5164, allocations: 111.7 MB / 121.6 MB, free: 4.746 MB / 122.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09354/0.6099, allocations: 33.97 MB / 155.6 MB, free: 3.664 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.893e-06/1.893e-06, allocations: 0 / 156.9 MB, free: 2.379 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.711e-05, allocations: 2.312 kB / 156.9 MB, free: 2.375 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.102/1.102, allocations: 233.3 MB / 390.2 MB, free: 2.719 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02667/1.128, allocations: 33.22 MB / 423.4 MB, free: 1.375 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/1.128, allocations: 4 kB / 423.4 MB, free: 1.371 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.0002295/1.129, allocations: 105.8 kB / 423.5 MB, free: 1.273 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001262/1.129, allocations: 115.2 kB / 423.6 MB, free: 1.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01371/1.142, allocations: 8.613 MB / 432.2 MB, free: 8.512 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000294/1.143, allocations: 342.2 kB / 432.6 MB, free: 8.176 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/1.143, allocations: 98.83 kB / 432.7 MB, free: 8.082 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002242/1.143, allocations: 219.3 kB / 432.9 MB, free: 7.867 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.184e-05/1.143, allocations: 75.75 kB / 433 MB, free: 7.793 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/1.143, allocations: 16 kB / 433 MB, free: 7.777 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.02157/1.165, allocations: 18.11 MB / 451.1 MB, free: 5.645 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.296e-05/1.165, allocations: 31.88 kB / 451.1 MB, free: 5.613 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/1.165, allocations: 71.81 kB / 451.2 MB, free: 5.543 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01619/1.181, allocations: 8.18 MB / 459.4 MB, free: 13.34 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.271e-05/1.181, allocations: 0 / 459.4 MB, free: 13.34 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.174e-06/1.181, allocations: 0 / 459.4 MB, free: 13.34 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.223e-05/1.181, allocations: 0 / 459.4 MB, free: 13.34 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.003608/1.185, allocations: 1.985 MB / 461.3 MB, free: 11.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/1.185, allocations: 8.625 kB / 461.4 MB, free: 11.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.993e-05/1.185, allocations: 27.98 kB / 461.4 MB, free: 11.27 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/1.185, allocations: 164.8 kB / 461.5 MB, free: 11.08 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/1.185, allocations: 12.5 kB / 461.6 MB, free: 11.07 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/1.185, allocations: 20 kB / 461.6 MB, free: 11.05 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/1.185, allocations: 230.5 kB / 461.8 MB, free: 10.79 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/1.185, allocations: 0 / 461.8 MB, free: 10.79 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/1.185, allocations: 7.984 kB / 461.8 MB, free: 10.79 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/1.185, allocations: 15.98 kB / 461.8 MB, free: 10.77 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.252e-05/1.185, allocations: 76.41 kB / 461.9 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.01363/1.199, allocations: 9.144 MB / 471 MB, free: 1.5 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/1.199, allocations: 102.4 kB / 471.1 MB, free: 1.391 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.524e-05/1.199, allocations: 28.84 kB / 471.2 MB, free: 1.359 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06219/1.261, allocations: 39.05 MB / 0.4983 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/1.261, allocations: 38.56 kB / 0.4983 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 2.094e-06/1.261, allocations: 0 / 0.4983 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.0003981/1.262, allocations: 168.3 kB / 0.4985 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/1.262, allocations: 59.28 kB / 0.4985 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/1.262, allocations: 173.5 kB / 0.4987 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/1.262, allocations: 29.7 kB / 0.4987 GB, free: 9.754 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.467e-05/1.262, allocations: 156.5 kB / 0.4989 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.252e-05/1.262, allocations: 103.1 kB / 0.499 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.867e-05/1.262, allocations: 53.61 kB / 0.499 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.113e-05/1.262, allocations: 330.8 kB / 0.4993 GB, free: 9.105 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.134e-05/1.262, allocations: 27.14 kB / 0.4994 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.648e-05/1.262, allocations: 64.98 kB / 0.4994 GB, free: 9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.236e-05/1.262, allocations: 120.3 kB / 0.4995 GB, free: 8.867 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/1.262, allocations: 0 / 0.4995 GB, free: 8.867 MB / 0.4948 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0001595/1.263, allocations: 165.1 kB / 0.4997 GB, free: 8.695 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/1.263, allocations: 4 kB / 0.4997 GB, free: 8.691 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/1.263, allocations: 0 / 0.4997 GB, free: 8.691 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003272/1.263, allocations: 84.77 kB / 0.4998 GB, free: 8.605 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.449e-05/1.263, allocations: 19.94 kB / 0.4998 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002659/1.263, allocations: 0.5563 MB / 0.5003 GB, free: 8.004 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.448e-05/1.263, allocations: 19.78 kB / 0.5004 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.477e-06/1.263, allocations: 8 kB / 0.5004 GB, free: 7.977 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 7.264e-05/1.263, allocations: 117.8 kB / 0.5005 GB, free: 7.852 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.881e-05/1.263, allocations: 11.94 kB / 0.5005 GB, free: 7.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003551/1.264, allocations: 482.5 kB / 0.5009 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001057/1.264, allocations: 137.1 kB / 0.5011 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/1.264, allocations: 0 / 0.5011 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/1.264, allocations: 0 / 0.5011 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003804/1.264, allocations: 472.9 kB / 0.5015 GB, free: 6.664 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.264, allocations: 0 / 0.5015 GB, free: 6.664 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.15e-05/1.264, allocations: 19.98 kB / 0.5015 GB, free: 6.645 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.541e-05/1.264, allocations: 23.77 kB / 0.5016 GB, free: 6.621 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001469/1.264, allocations: 67.64 kB / 0.5016 GB, free: 6.551 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/1.264, allocations: 4 kB / 0.5016 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000228/1.265, allocations: 0.5795 MB / 0.5022 GB, free: 5.941 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/1.265, allocations: 0 / 0.5022 GB, free: 5.941 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/1.265, allocations: 276.5 kB / 0.5025 GB, free: 5.648 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/1.265, allocations: 7.953 kB / 0.5025 GB, free: 5.641 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.698e-05/1.265, allocations: 7.984 kB / 0.5025 GB, free: 5.633 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.279e-05/1.265, allocations: 19.89 kB / 0.5025 GB, free: 5.613 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/1.265, allocations: 4.062 kB / 0.5025 GB, free: 5.609 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.177e-05/1.265, allocations: 83.53 kB / 0.5026 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/1.265, allocations: 0 / 0.5026 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002093/1.267, allocations: 1.2 MB / 0.5038 GB, free: 4.32 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.003098/1.27, allocations: 2.061 MB / 0.5058 GB, free: 2.25 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002512/1.27, allocations: 158.6 kB / 0.5059 GB, free: 2.086 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/1.27, allocations: 4 kB / 0.5059 GB, free: 2.082 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.569e-05/1.27, allocations: 64.83 kB / 0.506 GB, free: 2.016 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004819/1.271, allocations: 0.6623 MB / 0.5066 GB, free: 1.238 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003029/1.274, allocations: 483.9 kB / 0.5071 GB, free: 0.7344 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.828e-05/1.274, allocations: 88.27 kB / 0.5072 GB, free: 0.6289 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.01e-05/1.274, allocations: 21.47 kB / 0.5072 GB, free: 0.6094 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/1.274, allocations: 99.33 kB / 0.5073 GB, free: 0.5117 MB / 0.4948 GB Notification: Performance of SimCode: time 8.72e-07/1.274, allocations: 0 / 0.5073 GB, free: 0.5117 MB / 0.4948 GB Notification: Performance of Templates: time 0.248/1.522, allocations: 43.49 MB / 0.5498 GB, free: 62.59 MB / 0.4948 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07178/1.594, allocations: 53.75 MB / 0.6023 GB, free: 22.35 MB / 0.4948 GB " [Timeout remaining time 658] 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.435529018752277]