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.5968/0.5968, allocations: 120.4 MB / 140.2 MB, free: 12.97 MB / 138.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/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 2.394e-06/2.394e-06, allocations: 2.5 kB / 217.9 MB, free: 8.668 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.446e-05, allocations: 2.281 kB / 217.9 MB, free: 8.664 MB / 202.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 0.9959/0.9959, allocations: 254.2 MB / 472.1 MB, free: 8.895 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.2424/1.238, allocations: 30.51 MB / 0.4908 GB, free: 0.918 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002027/1.239, allocations: 3 kB / 0.4908 GB, free: 0.918 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45: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:33:3-34:47: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:35:3-37:42: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:38:3-40:37: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.000336/1.239, allocations: 107.4 kB / 0.4909 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001824/1.239, allocations: 122.1 kB / 0.4911 GB, free: 0.9102 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01983/1.259, allocations: 9.765 MB / 0.5006 GB, free: 15.14 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004176/1.259, allocations: 362.6 kB / 0.5009 GB, free: 15.01 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/1.259, allocations: 94.86 kB / 0.501 GB, free: 14.98 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002904/1.26, allocations: 225.9 kB / 0.5012 GB, free: 14.91 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/1.26, allocations: 81.73 kB / 0.5013 GB, free: 14.88 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/1.26, allocations: 17.41 kB / 0.5013 GB, free: 14.88 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02289/1.283, allocations: 16.79 MB / 0.5177 GB, free: 3.266 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 6.143e-05/1.283, allocations: 46.38 kB / 0.5178 GB, free: 3.223 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001287/1.283, allocations: 86.28 kB / 0.5179 GB, free: 3.145 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01593/1.299, allocations: 10.81 MB / 0.5284 GB, free: 8.828 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/1.299, allocations: 0 / 0.5284 GB, free: 8.828 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.653e-06/1.299, allocations: 0 / 0.5284 GB, free: 8.828 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.873e-06/1.299, allocations: 0 / 0.5284 GB, free: 8.828 MB / 474.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.003699/1.303, allocations: 1.406 MB / 0.5298 GB, free: 7.391 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/1.303, allocations: 8.031 kB / 0.5298 GB, free: 7.383 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.83e-05/1.303, allocations: 37.28 kB / 0.5298 GB, free: 7.348 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/1.303, allocations: 181.3 kB / 0.53 GB, free: 7.148 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/1.303, allocations: 13.81 kB / 0.53 GB, free: 7.137 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/1.303, allocations: 20 kB / 0.53 GB, free: 7.117 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/1.303, allocations: 295.8 kB / 0.5303 GB, free: 6.805 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/1.303, allocations: 4.734 kB / 0.5303 GB, free: 6.801 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/1.303, allocations: 12 kB / 0.5303 GB, free: 6.789 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/1.303, allocations: 12.59 kB / 0.5303 GB, free: 6.777 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/1.303, allocations: 166.1 kB / 0.5305 GB, free: 6.613 MB / 474.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.01768/1.321, allocations: 10.77 MB / 0.541 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/1.321, allocations: 116.7 kB / 0.5411 GB, free: 11.83 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.665e-05/1.321, allocations: 68.84 kB / 0.5412 GB, free: 11.76 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0745/1.396, allocations: 43.57 MB / 0.5837 GB, free: 160 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/1.396, allocations: 34.56 kB / 0.5838 GB, free: 116 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 1.713e-06/1.396, allocations: 0 / 0.5838 GB, free: 116 kB / 0.5105 GB Notification: Performance of matching and sorting (n=34): time 0.0007092/1.397, allocations: 370.3 kB / 0.5841 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/1.397, allocations: 52.34 kB / 0.5842 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/1.397, allocations: 186.6 kB / 0.5844 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/1.397, allocations: 33.7 kB / 0.5844 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.874e-05/1.397, allocations: 156.5 kB / 0.5845 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.527e-05/1.397, allocations: 113.8 kB / 0.5846 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.301e-05/1.397, allocations: 49.69 kB / 0.5847 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.096e-05/1.397, allocations: 326.8 kB / 0.585 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.199e-05/1.397, allocations: 76.53 kB / 0.5851 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.333e-05/1.397, allocations: 120.2 kB / 0.5852 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/1.397, allocations: 208.6 kB / 0.5854 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/1.397, allocations: 8.562 kB / 0.5854 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005221/1.398, allocations: 290.9 kB / 0.5857 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/1.398, allocations: 7.984 kB / 0.5857 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/1.398, allocations: 4 kB / 0.5857 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005137/1.399, allocations: 157.5 kB / 0.5858 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.112e-05/1.399, allocations: 12 kB / 0.5859 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003451/1.399, allocations: 0.6372 MB / 0.5865 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.447e-05/1.399, allocations: 27.81 kB / 0.5865 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/1.399, allocations: 4 kB / 0.5865 GB, free: 13.21 MB / 0.5261 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 (pipePressureLoss.C2.b,pipePressureLoss.C1.a,PuitsP1.C.a,SourceP1.C.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 0.0001113/1.399, allocations: 134.8 kB / 0.5866 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/1.399, allocations: 21.36 kB / 0.5867 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004639/1.4, allocations: 0.5932 MB / 0.5872 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001955/1.4, allocations: 215.7 kB / 0.5874 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.4, allocations: 0 / 0.5874 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/1.4, allocations: 3.984 kB / 0.5874 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005857/1.4, allocations: 0.6305 MB / 0.5881 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/1.4, allocations: 0.9375 kB / 0.5881 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.698e-05/1.4, allocations: 20.58 kB / 0.5881 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002071/1.401, allocations: 109.6 kB / 0.5882 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/1.401, allocations: 4.656 kB / 0.5882 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002953/1.401, allocations: 0.6586 MB / 0.5888 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.401, allocations: 4 kB / 0.5888 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/1.401, allocations: 328.1 kB / 0.5891 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.711e-05/1.401, allocations: 28.45 kB / 0.5892 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/1.401, allocations: 8.547 kB / 0.5892 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.798e-05/1.401, allocations: 8 kB / 0.5892 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/1.401, allocations: 11.97 kB / 0.5892 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/1.401, allocations: 0.5 kB / 0.5892 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001292/1.401, allocations: 205.2 kB / 0.5894 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/1.401, allocations: 4 kB / 0.5894 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002398/1.404, allocations: 1.208 MB / 0.5906 GB, free: 8.867 MB / 0.5261 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.004026/1.408, allocations: 1.916 MB / 0.5925 GB, free: 7.18 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003639/1.408, allocations: 229 kB / 0.5927 GB, free: 6.949 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.408, allocations: 0 / 0.5927 GB, free: 6.949 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001037/1.408, allocations: 75.95 kB / 0.5927 GB, free: 6.875 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/1.409, allocations: 101.8 kB / 0.5928 GB, free: 6.781 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006869/1.409, allocations: 0.5345 MB / 0.5934 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/1.41, allocations: 160.8 kB / 0.5935 GB, free: 6.043 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/1.41, allocations: 20.5 kB / 0.5935 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of SimCode: time 7.82e-07/1.41, allocations: 0 / 0.5935 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of Templates: time 0.02775/1.437, allocations: 25.01 MB / 0.618 GB, free: 13.15 MB / 0.5573 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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.724452394992113] Failed to read output from testmodel.py, exit status != 0: 1.6824627947062254 1.5893009710000001 0.288671234 Calling exit ...