Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.5086/0.5086, allocations: 111.6 MB / 131.5 MB, free: 4.906 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 176.6 MB, free: 8.945 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.729e-05/1.927e-05, allocations: 10.25 kB / 176.6 MB, free: 8.934 MB / 170.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.Book.SimpleExamples.PressureLoss.TestPipePressureLoss): time 1.11/1.11, allocations: 262.8 MB / 439.4 MB, free: 14.65 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03042/1.14, allocations: 32.96 MB / 472.4 MB, free: 13.57 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002136/1.141, allocations: 4 kB / 472.4 MB, free: 13.57 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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). Notification: Performance of NFTyping.typeComponents: time 0.0003403/1.141, allocations: 107.4 kB / 472.5 MB, free: 13.46 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001987/1.141, allocations: 115.1 kB / 472.6 MB, free: 13.35 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.017/1.158, allocations: 8.619 MB / 481.2 MB, free: 4.684 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004269/1.159, allocations: 366.1 kB / 481.6 MB, free: 4.324 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/1.159, allocations: 94.83 kB / 481.7 MB, free: 4.23 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002639/1.159, allocations: 227.2 kB / 481.9 MB, free: 4.008 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/1.159, allocations: 75.81 kB / 481.9 MB, free: 3.934 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/1.159, allocations: 16 kB / 482 MB, free: 3.918 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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 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 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 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 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.2229/1.382, allocations: 18.06 MB / 0.4883 GB, free: 8.102 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.931e-05/1.382, allocations: 45.14 kB / 0.4883 GB, free: 8.102 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001417/1.382, allocations: 86.28 kB / 0.4884 GB, free: 8.102 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01263/1.395, allocations: 10.73 MB / 0.4989 GB, free: 4.184 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/1.395, allocations: 0 / 0.4989 GB, free: 4.184 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.403e-06/1.395, allocations: 0.625 kB / 0.4989 GB, free: 4.184 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.059e-06/1.395, allocations: 2.719 kB / 0.4989 GB, free: 4.184 MB / 426.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.002524/1.397, allocations: 1.382 MB / 0.5003 GB, free: 3.246 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/1.397, allocations: 18.09 kB / 0.5003 GB, free: 3.238 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/1.397, allocations: 28.8 kB / 0.5003 GB, free: 3.227 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/1.398, allocations: 163.8 kB / 0.5005 GB, free: 3.078 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/1.398, allocations: 17.38 kB / 0.5005 GB, free: 3.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/1.398, allocations: 17.78 kB / 0.5005 GB, free: 3.066 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/1.398, allocations: 234.5 kB / 0.5007 GB, free: 2.898 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/1.398, allocations: 0 / 0.5007 GB, free: 2.898 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/1.398, allocations: 7.75 kB / 0.5007 GB, free: 2.895 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/1.398, allocations: 13.61 kB / 0.5007 GB, free: 2.887 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.333e-05/1.398, allocations: 76.67 kB / 0.5008 GB, free: 2.871 MB / 426.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.01351/1.411, allocations: 9.156 MB / 0.5098 GB, free: 12.45 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/1.411, allocations: 102.5 kB / 0.5099 GB, free: 12.34 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.013e-05/1.412, allocations: 23.91 kB / 0.5099 GB, free: 12.32 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06534/1.477, allocations: 39.07 MB / 0.548 GB, free: 5.367 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/1.477, allocations: 40.75 kB / 0.5481 GB, free: 5.32 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 2.174e-06/1.477, allocations: 0 / 0.5481 GB, free: 5.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=34): time 0.0004474/1.477, allocations: 202 kB / 0.5483 GB, free: 5.121 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/1.477, allocations: 59.39 kB / 0.5483 GB, free: 5.051 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/1.477, allocations: 172.7 kB / 0.5485 GB, free: 4.887 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/1.477, allocations: 25.7 kB / 0.5485 GB, free: 4.855 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.927e-05/1.478, allocations: 157.5 kB / 0.5487 GB, free: 4.703 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.387e-05/1.478, allocations: 119.5 kB / 0.5488 GB, free: 4.598 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-05/1.478, allocations: 45.52 kB / 0.5488 GB, free: 4.555 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.264e-05/1.478, allocations: 340 kB / 0.5491 GB, free: 4.223 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.157e-05/1.478, allocations: 26.61 kB / 0.5492 GB, free: 4.195 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.663e-05/1.478, allocations: 69.48 kB / 0.5492 GB, free: 4.121 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.95e-05/1.478, allocations: 113.1 kB / 0.5493 GB, free: 4.004 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/1.478, allocations: 0 / 0.5493 GB, free: 4.004 MB / 474.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000162/1.478, allocations: 170.6 kB / 0.5495 GB, free: 3.836 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/1.478, allocations: 4 kB / 0.5495 GB, free: 3.832 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/1.478, allocations: 4.812 kB / 0.5495 GB, free: 3.828 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003409/1.478, allocations: 100.3 kB / 0.5496 GB, free: 3.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.8e-05/1.478, allocations: 8 kB / 0.5496 GB, free: 3.723 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002621/1.479, allocations: 0.582 MB / 0.5502 GB, free: 3.125 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.758e-05/1.479, allocations: 31.73 kB / 0.5502 GB, free: 3.094 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/1.479, allocations: 0 / 0.5502 GB, free: 3.094 MB / 474.7 MB 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.207e-05/1.479, allocations: 126.5 kB / 0.5503 GB, free: 2.965 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/1.479, allocations: 9.656 kB / 0.5503 GB, free: 2.957 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003663/1.479, allocations: 0.4981 MB / 0.5508 GB, free: 2.465 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001144/1.479, allocations: 134.9 kB / 0.551 GB, free: 2.332 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/1.479, allocations: 0.5625 kB / 0.551 GB, free: 2.332 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/1.479, allocations: 3.984 kB / 0.551 GB, free: 2.328 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000408/1.48, allocations: 0.4943 MB / 0.5514 GB, free: 1.836 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/1.48, allocations: 0.625 kB / 0.5514 GB, free: 1.836 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.768e-05/1.48, allocations: 15.19 kB / 0.5515 GB, free: 1.824 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00015/1.48, allocations: 86.88 kB / 0.5515 GB, free: 1.738 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/1.48, allocations: 4 kB / 0.5516 GB, free: 1.734 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002209/1.48, allocations: 0.587 MB / 0.5521 GB, free: 1.133 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/1.48, allocations: 0 / 0.5521 GB, free: 1.133 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/1.48, allocations: 303.7 kB / 0.5524 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.926e-05/1.48, allocations: 19.84 kB / 0.5524 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/1.48, allocations: 19.88 kB / 0.5525 GB, free: 0.7852 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.468e-05/1.48, allocations: 0 / 0.5525 GB, free: 0.7852 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.441e-05/1.48, allocations: 8.547 kB / 0.5525 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/1.48, allocations: 7.938 kB / 0.5525 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of sorting global known variables: time 6.055e-05/1.481, allocations: 87.33 kB / 0.5526 GB, free: 0.6914 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.1e-08/1.481, allocations: 4.031 kB / 0.5526 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002199/1.483, allocations: 1.216 MB / 0.5537 GB, free: 15.47 MB / 490.7 MB 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.002978/1.486, allocations: 2.026 MB / 0.5557 GB, free: 13.68 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000247/1.486, allocations: 151.9 kB / 0.5559 GB, free: 13.53 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.486, allocations: 256 / 0.5559 GB, free: 13.53 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.856e-05/1.486, allocations: 71.66 kB / 0.5559 GB, free: 13.46 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/1.486, allocations: 113 kB / 0.556 GB, free: 13.36 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007594/1.487, allocations: 0.4952 MB / 0.5565 GB, free: 12.85 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.938e-05/1.487, allocations: 96.17 kB / 0.5566 GB, free: 12.74 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.151e-05/1.487, allocations: 14.56 kB / 0.5566 GB, free: 12.73 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/1.487, allocations: 99.33 kB / 0.5567 GB, free: 12.63 MB / 490.7 MB Notification: Performance of SimCode: time 7.02e-07/1.487, allocations: 0 / 0.5567 GB, free: 12.63 MB / 490.7 MB Notification: Performance of Templates: time 0.04458/1.532, allocations: 48.92 MB / 0.6045 GB, free: 11.98 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.166521104052663]