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.8505/0.8505, allocations: 153.8 MB / 173.4 MB, free: 4.871 MB / 142.1 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 0.0005537/0.0005537, allocations: 7.984 kB / 251 MB, free: 3.941 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1591, allocations: 33.36 MB / 284.3 MB, free: 2.062 MB / 222.1 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.872/2.031, allocations: 307.5 MB / 0.5779 GB, free: 17.46 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03264/2.064, allocations: 30.52 MB / 0.6077 GB, free: 2.961 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002824/2.064, allocations: 2.531 kB / 0.6078 GB, free: 2.961 MB / 478.1 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.0004354/2.064, allocations: 112.3 kB / 0.6079 GB, free: 2.91 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003109/2.065, allocations: 115.5 kB / 0.608 GB, free: 2.832 MB / 478.1 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.02534/2.09, allocations: 9.682 MB / 0.6174 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006389/2.091, allocations: 354.4 kB / 0.6178 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/2.091, allocations: 89.55 kB / 0.6178 GB, free: 12.63 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003089/2.091, allocations: 153.8 kB / 0.618 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/2.091, allocations: 100.9 kB / 0.6181 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.941e-05/2.091, allocations: 20 kB / 0.6181 GB, free: 12.37 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03301/2.124, allocations: 16.76 MB / 0.6345 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.802e-05/2.124, allocations: 43.8 kB / 0.6345 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001802/2.125, allocations: 108.8 kB / 0.6346 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01951/2.144, allocations: 8.454 MB / 0.6429 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/2.144, allocations: 0 / 0.6429 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.353e-06/2.144, allocations: 0 / 0.6429 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.554e-06/2.144, allocations: 0 / 0.6429 GB, free: 2.977 MB / 0.4981 GB 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.003911/2.148, allocations: 1.403 MB / 0.6442 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/2.148, allocations: 8.031 kB / 0.6443 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.265e-05/2.148, allocations: 27.81 kB / 0.6443 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/2.148, allocations: 185.2 kB / 0.6445 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/2.148, allocations: 13.75 kB / 0.6445 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/2.148, allocations: 24 kB / 0.6445 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004739/2.149, allocations: 295.4 kB / 0.6448 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/2.149, allocations: 1.125 kB / 0.6448 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/2.149, allocations: 8.938 kB / 0.6448 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/2.149, allocations: 15.98 kB / 0.6448 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002877/2.149, allocations: 169.1 kB / 0.645 GB, free: 0.7539 MB / 0.4981 GB 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.03819/2.187, allocations: 10.78 MB / 0.6555 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003399/2.188, allocations: 119.7 kB / 0.6556 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/2.188, allocations: 68.84 kB / 0.6557 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1602/2.348, allocations: 43.57 MB / 0.6982 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/2.348, allocations: 42.56 kB / 0.6983 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 3.516e-06/2.348, allocations: 0.6094 kB / 0.6983 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.001025/2.349, allocations: 363.5 kB / 0.6986 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/2.349, allocations: 72.17 kB / 0.6987 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/2.349, allocations: 170.8 kB / 0.6988 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/2.349, allocations: 29.7 kB / 0.6989 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/2.35, allocations: 160.5 kB / 0.699 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.26e-05/2.35, allocations: 115 kB / 0.6991 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.88e-05/2.35, allocations: 57.69 kB / 0.6992 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001521/2.35, allocations: 330.8 kB / 0.6995 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/2.35, allocations: 71.97 kB / 0.6996 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/2.35, allocations: 121.7 kB / 0.6997 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/2.35, allocations: 206.7 kB / 0.6999 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/2.35, allocations: 0 / 0.6999 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000459/2.351, allocations: 297.7 kB / 0.7002 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/2.351, allocations: 8 kB / 0.7002 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/2.351, allocations: 0 / 0.7002 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009146/2.352, allocations: 161.5 kB / 0.7003 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.13e-05/2.352, allocations: 15.94 kB / 0.7003 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005766/2.352, allocations: 0.6295 MB / 0.701 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/2.353, allocations: 23.78 kB / 0.701 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/2.353, allocations: 10.02 kB / 0.701 GB, free: 7.152 MB / 0.5606 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.0001445/2.353, allocations: 138.5 kB / 0.7011 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.287e-05/2.353, allocations: 19.86 kB / 0.7011 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008095/2.354, allocations: 0.5842 MB / 0.7017 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003891/2.354, allocations: 221 kB / 0.7019 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/2.354, allocations: 0 / 0.7019 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/2.354, allocations: 0.6562 kB / 0.7019 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00098/2.355, allocations: 0.628 MB / 0.7025 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/2.355, allocations: 7.875 kB / 0.7025 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.081e-05/2.355, allocations: 15.98 kB / 0.7026 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004026/2.355, allocations: 114.2 kB / 0.7027 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/2.355, allocations: 0 / 0.7027 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005699/2.356, allocations: 0.6628 MB / 0.7033 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/2.356, allocations: 2.031 kB / 0.7033 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005181/2.357, allocations: 341.7 kB / 0.7036 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.317e-05/2.357, allocations: 27.83 kB / 0.7037 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.365e-05/2.357, allocations: 15.89 kB / 0.7037 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.904e-05/2.357, allocations: 0 / 0.7037 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/2.357, allocations: 11.92 kB / 0.7037 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/2.357, allocations: 11.98 kB / 0.7037 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002164/2.357, allocations: 200.5 kB / 0.7039 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/2.357, allocations: 4.062 kB / 0.7039 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002988/2.36, allocations: 1.213 MB / 0.7051 GB, free: 2.789 MB / 0.5606 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.004596/2.365, allocations: 1.735 MB / 0.7068 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005429/2.365, allocations: 223 kB / 0.707 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/2.365, allocations: 0 / 0.707 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000208/2.365, allocations: 78.53 kB / 0.7071 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006995/2.366, allocations: 108.9 kB / 0.7072 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009557/2.367, allocations: 0.5428 MB / 0.7077 GB, free: 116 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/2.367, allocations: 160.8 kB / 0.7078 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/2.367, allocations: 19.44 kB / 0.7079 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of SimCode: time 3.81e-07/2.367, allocations: 0 / 0.7079 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of Templates: time 0.03774/2.405, allocations: 24.8 MB / 0.7321 GB, free: 7.52 MB / 0.5919 GB " [Timeout remaining time 657] 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: 10.60192993329838] Failed to read output from testmodel.py, exit status != 0: 2.56863128580153 2.582967311 0.435726582 Calling exit ...