Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.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.5205/0.5205, allocations: 111.7 MB / 121.6 MB, free: 4.723 MB / 122.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1218/0.6423, allocations: 33.97 MB / 155.6 MB, free: 3.645 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.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss") translateModel(ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 156.9 MB, free: 2.371 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.243e-06/8.566e-06, allocations: 2.312 kB / 156.9 MB, free: 2.367 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.TestPipePressureLoss): time 1.041/1.041, allocations: 233.3 MB / 390.2 MB, free: 2.582 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02551/1.067, allocations: 33.21 MB / 423.5 MB, free: 1.242 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/1.067, allocations: 4 kB / 423.5 MB, free: 1.238 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/PipePressureLoss.mo:21:3-22: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/PipePressureLoss.mo:23:3-24: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.0002221/1.067, allocations: 113.8 kB / 423.6 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001323/1.067, allocations: 127.1 kB / 423.7 MB, free: 1.008 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0121/1.079, allocations: 8.625 MB / 432.3 MB, free: 8.348 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002684/1.08, allocations: 363.2 kB / 432.7 MB, free: 7.992 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/1.08, allocations: 90.84 kB / 432.8 MB, free: 7.906 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002275/1.08, allocations: 235.3 kB / 433 MB, free: 7.676 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.166e-05/1.08, allocations: 75.73 kB / 433.1 MB, free: 7.602 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/1.08, allocations: 20 kB / 433.1 MB, free: 7.582 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.01861/1.099, allocations: 18.1 MB / 451.2 MB, free: 5.457 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.207e-05/1.099, allocations: 35.81 kB / 451.2 MB, free: 5.422 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.95e-05/1.099, allocations: 79.81 kB / 451.3 MB, free: 5.344 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009045/1.108, allocations: 8.187 MB / 459.5 MB, free: 13.14 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.142e-05/1.108, allocations: 0 / 459.5 MB, free: 13.14 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.044e-06/1.108, allocations: 0 / 459.5 MB, free: 13.14 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.297e-05/1.108, allocations: 0 / 459.5 MB, free: 13.14 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.002286/1.11, allocations: 2.008 MB / 461.5 MB, free: 11.07 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/1.11, allocations: 8.625 kB / 461.5 MB, free: 11.07 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.617e-05/1.11, allocations: 31.97 kB / 461.5 MB, free: 11.04 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/1.11, allocations: 160.8 kB / 461.7 MB, free: 10.85 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/1.11, allocations: 16.44 kB / 461.7 MB, free: 10.84 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/1.11, allocations: 20 kB / 461.7 MB, free: 10.82 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/1.111, allocations: 235.3 kB / 462 MB, free: 10.55 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/1.111, allocations: 3.938 kB / 462 MB, free: 10.55 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/1.111, allocations: 8 kB / 462 MB, free: 10.54 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/1.111, allocations: 15.98 kB / 462 MB, free: 10.53 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.454e-05/1.111, allocations: 73.34 kB / 462.1 MB, free: 10.46 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.01301/1.124, allocations: 9.164 MB / 471.2 MB, free: 1.242 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/1.124, allocations: 102.5 kB / 471.3 MB, free: 1.133 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.03e-05/1.124, allocations: 29.69 kB / 471.4 MB, free: 1.102 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05906/1.183, allocations: 39.05 MB / 0.4984 GB, free: 10 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/1.183, allocations: 42.44 kB / 0.4985 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 2.544e-06/1.183, allocations: 0 / 0.4985 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34): time 0.0004686/1.184, allocations: 210.6 kB / 0.4987 GB, free: 9.738 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.074e-05/1.184, allocations: 51.41 kB / 0.4987 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/1.184, allocations: 170.5 kB / 0.4989 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/1.184, allocations: 33.7 kB / 0.4989 GB, free: 9.457 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.347e-05/1.184, allocations: 156.5 kB / 0.4991 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.708e-05/1.184, allocations: 114.9 kB / 0.4992 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.702e-05/1.184, allocations: 53.59 kB / 0.4992 GB, free: 9.129 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.45e-05/1.184, allocations: 326.8 kB / 0.4996 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.59e-05/1.184, allocations: 34.81 kB / 0.4996 GB, free: 8.766 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.001e-05/1.184, allocations: 68.19 kB / 0.4997 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.984e-05/1.184, allocations: 126.7 kB / 0.4998 GB, free: 8.543 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.184, allocations: 0 / 0.4998 GB, free: 8.543 MB / 0.4948 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0001617/1.184, allocations: 168.6 kB / 0.4999 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/1.184, allocations: 9.562 kB / 0.4999 GB, free: 8.359 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/1.184, allocations: 0 / 0.4999 GB, free: 8.359 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003643/1.185, allocations: 100.8 kB / 0.5 GB, free: 8.258 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.866e-05/1.185, allocations: 8 kB / 0.5 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002637/1.185, allocations: 0.5747 MB / 0.5006 GB, free: 7.652 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.22e-05/1.185, allocations: 23.78 kB / 0.5006 GB, free: 7.629 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.659e-06/1.185, allocations: 11.92 kB / 0.5006 GB, free: 7.617 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,pipePressureLoss.C1.a,pipePressureLoss.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,4)} Notification: Performance of prepare postOptimizeDAE: time 7.186e-05/1.185, allocations: 121.8 kB / 0.5008 GB, free: 7.488 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2e-05/1.185, allocations: 12 kB / 0.5008 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003683/1.185, allocations: 0.5029 MB / 0.5013 GB, free: 6.898 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001167/1.186, allocations: 148.2 kB / 0.5014 GB, free: 6.746 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/1.186, allocations: 0 / 0.5014 GB, free: 6.746 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/1.186, allocations: 7.984 kB / 0.5014 GB, free: 6.738 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004191/1.186, allocations: 0.4899 MB / 0.5019 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/1.186, allocations: 0 / 0.5019 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.963e-05/1.186, allocations: 16 kB / 0.5019 GB, free: 6.203 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.668e-05/1.186, allocations: 19.84 kB / 0.5019 GB, free: 6.184 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001497/1.186, allocations: 71.62 kB / 0.502 GB, free: 6.109 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/1.186, allocations: 0 / 0.502 GB, free: 6.109 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002227/1.186, allocations: 0.5967 MB / 0.5026 GB, free: 5.484 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/1.186, allocations: 4.031 kB / 0.5026 GB, free: 5.48 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/1.187, allocations: 309.4 kB / 0.5029 GB, free: 5.156 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/1.187, allocations: 11.89 kB / 0.5029 GB, free: 5.145 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.601e-05/1.187, allocations: 4.125 kB / 0.5029 GB, free: 5.141 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/1.187, allocations: 11.98 kB / 0.5029 GB, free: 5.129 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/1.187, allocations: 0 / 0.5029 GB, free: 5.129 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.675e-05/1.187, allocations: 86.78 kB / 0.503 GB, free: 5.039 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/1.187, allocations: 0 / 0.503 GB, free: 5.039 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001969/1.189, allocations: 1.212 MB / 0.5042 GB, free: 3.824 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002904/1.192, allocations: 2.053 MB / 0.5062 GB, free: 1.762 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002307/1.192, allocations: 157.8 kB / 0.5063 GB, free: 1.602 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/1.192, allocations: 4 kB / 0.5063 GB, free: 1.598 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.18e-05/1.192, allocations: 76.95 kB / 0.5064 GB, free: 1.52 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004763/1.192, allocations: 0.6558 MB / 0.507 GB, free: 0.7461 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/1.196, allocations: 0.5151 MB / 0.5075 GB, free: 208 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.235e-05/1.196, allocations: 84.31 kB / 0.5076 GB, free: 104 kB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.04e-05/1.196, allocations: 9.5 kB / 0.5076 GB, free: 96 kB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1522/1.348, allocations: 96.97 kB / 0.5077 GB, free: 79.42 MB / 0.4948 GB Notification: Performance of SimCode: time 1.613e-06/1.348, allocations: 1.156 kB / 0.5077 GB, free: 79.42 MB / 0.4948 GB Notification: Performance of Templates: time 0.03344/1.381, allocations: 43.61 MB / 0.5503 GB, free: 61.84 MB / 0.4948 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06819/1.45, allocations: 53.75 MB / 0.6028 GB, free: 21.63 MB / 0.4948 GB " [Timeout remaining time 659] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.422388925217092]