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.4728/0.4728, allocations: 111.7 MB / 121.5 MB, free: 4.789 MB / 122.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0898/0.5626, allocations: 33.98 MB / 155.5 MB, free: 3.715 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.633e-06/1.633e-06, allocations: 0 / 156.8 MB, free: 2.465 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.679e-05/1.842e-05, allocations: 2.312 kB / 156.8 MB, free: 2.461 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.022/1.022, allocations: 233.3 MB / 390.1 MB, free: 2.664 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02758/1.05, allocations: 33.22 MB / 423.3 MB, free: 1.324 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001754/1.05, allocations: 0 / 423.3 MB, free: 1.324 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.0002588/1.05, allocations: 121.6 kB / 423.4 MB, free: 1.211 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001545/1.05, allocations: 115.1 kB / 423.5 MB, free: 1.098 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0155/1.066, allocations: 8.613 MB / 432.1 MB, free: 8.445 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004249/1.066, allocations: 371 kB / 432.5 MB, free: 8.082 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/1.066, allocations: 90.83 kB / 432.6 MB, free: 7.996 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000272/1.067, allocations: 234.6 kB / 432.8 MB, free: 7.77 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.728e-05/1.067, allocations: 83.73 kB / 432.9 MB, free: 7.688 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/1.067, allocations: 16 kB / 432.9 MB, free: 7.672 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.02225/1.089, allocations: 18.11 MB / 451 MB, free: 5.539 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.566e-05/1.089, allocations: 35.81 kB / 451.1 MB, free: 5.504 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001312/1.089, allocations: 71.88 kB / 451.1 MB, free: 5.434 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01738/1.107, allocations: 8.227 MB / 459.4 MB, free: 13.19 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.89e-05/1.107, allocations: 0 / 459.4 MB, free: 13.19 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.773e-06/1.107, allocations: 0 / 459.4 MB, free: 13.19 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.888e-05/1.107, allocations: 0 / 459.4 MB, free: 13.19 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.003502/1.11, allocations: 2 MB / 461.4 MB, free: 11.14 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/1.11, allocations: 8.625 kB / 461.4 MB, free: 11.13 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/1.11, allocations: 35.97 kB / 461.4 MB, free: 11.09 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/1.11, allocations: 180.6 kB / 461.6 MB, free: 10.89 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/1.11, allocations: 16.5 kB / 461.6 MB, free: 10.88 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/1.11, allocations: 19.94 kB / 461.6 MB, free: 10.86 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/1.111, allocations: 227.3 kB / 461.8 MB, free: 10.59 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/1.111, allocations: 3.938 kB / 461.9 MB, free: 10.59 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/1.111, allocations: 8 kB / 461.9 MB, free: 10.58 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/1.111, allocations: 8 kB / 461.9 MB, free: 10.57 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.777e-05/1.111, allocations: 77.36 kB / 461.9 MB, free: 10.5 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.01388/1.125, allocations: 9.145 MB / 471.1 MB, free: 1.305 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/1.125, allocations: 118.4 kB / 471.2 MB, free: 1.18 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.958e-05/1.125, allocations: 30.05 kB / 471.2 MB, free: 1.148 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0609/1.186, allocations: 39.05 MB / 0.4983 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/1.186, allocations: 42.5 kB / 0.4984 GB, free: 10 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 2.034e-06/1.186, allocations: 0 / 0.4984 GB, free: 10 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34): time 0.0004648/1.186, allocations: 208.3 kB / 0.4986 GB, free: 9.793 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.168e-05/1.186, allocations: 55.41 kB / 0.4986 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/1.186, allocations: 170.5 kB / 0.4988 GB, free: 9.547 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/1.186, allocations: 25.7 kB / 0.4988 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.666e-05/1.186, allocations: 156.5 kB / 0.499 GB, free: 9.359 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.619e-05/1.186, allocations: 114.9 kB / 0.4991 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.511e-05/1.186, allocations: 53.61 kB / 0.4991 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.16e-05/1.187, allocations: 334.8 kB / 0.4994 GB, free: 8.852 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.459e-05/1.187, allocations: 22.83 kB / 0.4995 GB, free: 8.828 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.669e-05/1.187, allocations: 72.19 kB / 0.4995 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.975e-05/1.187, allocations: 115.4 kB / 0.4996 GB, free: 8.613 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.187, allocations: 0 / 0.4996 GB, free: 8.613 MB / 0.4948 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0001671/1.187, allocations: 176.9 kB / 0.4998 GB, free: 8.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/1.187, allocations: 6.344 kB / 0.4998 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/1.187, allocations: 0 / 0.4998 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003685/1.187, allocations: 100.7 kB / 0.4999 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.128e-05/1.187, allocations: 8.125 kB / 0.4999 GB, free: 8.316 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002692/1.188, allocations: 0.5757 MB / 0.5005 GB, free: 7.715 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.579e-05/1.188, allocations: 27.77 kB / 0.5005 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/1.188, allocations: 7.938 kB / 0.5005 GB, free: 7.68 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 6.554e-05/1.188, allocations: 113.8 kB / 0.5006 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.759e-05/1.188, allocations: 8 kB / 0.5006 GB, free: 7.551 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005061/1.188, allocations: 0.5098 MB / 0.5011 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001114/1.188, allocations: 145.2 kB / 0.5013 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/1.188, allocations: 0 / 0.5013 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/1.188, allocations: 3.984 kB / 0.5013 GB, free: 6.812 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004157/1.189, allocations: 0.4898 MB / 0.5017 GB, free: 6.293 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/1.189, allocations: 4 kB / 0.5017 GB, free: 6.289 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.837e-05/1.189, allocations: 12 kB / 0.5018 GB, free: 6.277 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.902e-05/1.189, allocations: 31.83 kB / 0.5018 GB, free: 6.246 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001755/1.189, allocations: 71.62 kB / 0.5019 GB, free: 6.172 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/1.189, allocations: 0 / 0.5019 GB, free: 6.172 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002432/1.189, allocations: 0.5954 MB / 0.5024 GB, free: 5.551 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/1.189, allocations: 0 / 0.5024 GB, free: 5.551 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/1.189, allocations: 307 kB / 0.5027 GB, free: 5.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/1.189, allocations: 19.95 kB / 0.5027 GB, free: 5.211 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.374e-05/1.189, allocations: 8.031 kB / 0.5028 GB, free: 5.203 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.204e-05/1.189, allocations: 7.984 kB / 0.5028 GB, free: 5.195 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/1.19, allocations: 4 kB / 0.5028 GB, free: 5.191 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.572e-05/1.19, allocations: 86.78 kB / 0.5028 GB, free: 5.105 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/1.19, allocations: 0 / 0.5028 GB, free: 5.105 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002125/1.192, allocations: 1.212 MB / 0.504 GB, free: 3.891 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.002982/1.195, allocations: 2.049 MB / 0.506 GB, free: 1.828 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002344/1.195, allocations: 154.5 kB / 0.5062 GB, free: 1.668 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.195, allocations: 0 / 0.5062 GB, free: 1.668 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.484e-05/1.195, allocations: 71.78 kB / 0.5062 GB, free: 1.598 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/1.195, allocations: 144.6 kB / 0.5064 GB, free: 1.457 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003199/1.199, allocations: 0.5073 MB / 0.5069 GB, free: 0.9219 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.479e-05/1.199, allocations: 88.31 kB / 0.507 GB, free: 0.8164 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.528e-05/1.199, allocations: 21.47 kB / 0.507 GB, free: 0.793 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/1.199, allocations: 103.3 kB / 0.5071 GB, free: 0.6914 MB / 0.4948 GB Notification: Performance of SimCode: time 9.52e-07/1.199, allocations: 0 / 0.5071 GB, free: 0.6914 MB / 0.4948 GB Notification: Performance of Templates: time 0.1903/1.389, allocations: 49.11 MB / 0.555 GB, free: 56.98 MB / 0.4948 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07106/1.46, allocations: 53.74 MB / 0.6075 GB, free: 16.76 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.864009356126189]