Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.7784/0.7784, allocations: 111.6 MB / 131 MB, free: 5.059 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.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 175.7 MB, free: 9.508 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.362e-05/2.574e-05, allocations: 2.312 kB / 175.7 MB, free: 9.504 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.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss): time 1.635/1.635, allocations: 254.5 MB / 430.2 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.4283/2.063, allocations: 164.9 MB / 0.5811 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002094/2.063, allocations: 7.938 kB / 0.5811 GB, free: 8.504 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:39:3-40:78:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SinkP.mo:32:3-33:80:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/PipePressureLoss.mo:26:3-27:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/PipePressureLoss.mo:28:3-29:78:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0001371/2.064, allocations: 39.53 kB / 0.5812 GB, free: 8.465 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003463/2.064, allocations: 134.8 kB / 0.5813 GB, free: 8.332 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470: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:525:9-525: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:708:9-708: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:51:3-51: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:51:3-51: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:118:3-118:151: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:118:3-118:151: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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/Fluid/derDensity_derP_derh.mo:56:5-56:88:writable] Warning: T 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.03188/2.096, allocations: 11.58 MB / 0.5926 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0006623/2.096, allocations: 410.5 kB / 0.593 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000289/2.097, allocations: 165.2 kB / 0.5932 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000331/2.097, allocations: 247.5 kB / 0.5934 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/2.097, allocations: 119.6 kB / 0.5935 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 5.369e-05/2.097, allocations: 32 kB / 0.5935 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0372/2.135, allocations: 18.64 MB / 0.6117 GB, free: 9.094 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001642/2.135, allocations: 87.67 kB / 0.6118 GB, free: 9.008 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002351/2.135, allocations: 131.7 kB / 0.612 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.02975/2.165, allocations: 12.35 MB / 0.624 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 9.749e-06/2.165, allocations: 0 / 0.624 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.344e-06/2.165, allocations: 0 / 0.624 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.252e-05/2.165, allocations: 4 kB / 0.624 GB, free: 12.49 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.005542/2.17, allocations: 1.764 MB / 0.6257 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/2.17, allocations: 11.98 kB / 0.6257 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001491/2.17, allocations: 71.72 kB / 0.6258 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004521/2.171, allocations: 267.9 kB / 0.6261 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/2.171, allocations: 29 kB / 0.6261 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.469e-05/2.171, allocations: 31.94 kB / 0.6261 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006404/2.172, allocations: 349 kB / 0.6265 GB, free: 9.891 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/2.172, allocations: 0 / 0.6265 GB, free: 9.891 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.556e-05/2.172, allocations: 23.88 kB / 0.6265 GB, free: 9.867 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/2.172, allocations: 12 kB / 0.6265 GB, free: 9.855 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000472/2.172, allocations: 226.4 kB / 0.6267 GB, free: 9.633 MB / 0.5417 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.008085/2.18, allocations: 3.097 MB / 0.6297 GB, free: 6.484 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/2.181, allocations: 66.56 kB / 0.6298 GB, free: 6.41 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.92e-05/2.181, allocations: 28.94 kB / 0.6298 GB, free: 6.379 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2404/2.421, allocations: 67.21 MB / 0.6955 GB, free: 3.086 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.445e-05/2.421, allocations: 34.56 kB / 0.6955 GB, free: 3.043 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.004e-06/2.421, allocations: 0 / 0.6955 GB, free: 3.043 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.001253/2.422, allocations: 195.2 kB / 0.6957 GB, free: 2.844 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/2.422, allocations: 55.41 kB / 0.6957 GB, free: 2.777 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000644/2.423, allocations: 316.3 kB / 0.696 GB, free: 2.465 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/2.423, allocations: 25.7 kB / 0.6961 GB, free: 2.434 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002805/2.423, allocations: 236 kB / 0.6963 GB, free: 2.199 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/2.423, allocations: 31.73 kB / 0.6963 GB, free: 2.168 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/2.423, allocations: 61.66 kB / 0.6964 GB, free: 2.102 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002495/2.424, allocations: 326.8 kB / 0.6967 GB, free: 1.773 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/2.424, allocations: 43.98 kB / 0.6967 GB, free: 1.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003087/2.424, allocations: 141.7 kB / 0.6969 GB, free: 1.547 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004538/2.425, allocations: 192.7 kB / 0.697 GB, free: 1.312 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/2.425, allocations: 0 / 0.697 GB, free: 1.312 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009684/2.426, allocations: 286.9 kB / 0.6973 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/2.426, allocations: 9.828 kB / 0.6973 GB, free: 1.016 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/2.426, allocations: 9.312 kB / 0.6973 GB, free: 1.008 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001388/2.427, allocations: 124.7 kB / 0.6975 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/2.427, allocations: 39.92 kB / 0.6975 GB, free: 0.8438 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000803/2.428, allocations: 0.5884 MB / 0.6981 GB, free: 236 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/2.428, allocations: 23.84 kB / 0.6981 GB, free: 212 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.121e-05/2.428, allocations: 12 kB / 0.6981 GB, free: 200 kB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (SourceP1.C.ftype,PuitsP1.fluid,pipePressureLoss.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,pipePressureLoss.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002721/2.429, allocations: 161.6 kB / 0.6983 GB, free: 28 kB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/2.429, allocations: 27.81 kB / 0.6983 GB, free: 0 / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006506/2.429, allocations: 159.4 kB / 0.6984 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/2.429, allocations: 0 / 0.6984 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/2.429, allocations: 3.938 kB / 0.6984 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/2.429, allocations: 3.938 kB / 0.6984 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004106/2.43, allocations: 221.2 kB / 0.6987 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/2.43, allocations: 0 / 0.6987 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.116e-05/2.43, allocations: 4 kB / 0.6987 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007296/2.431, allocations: 85.52 kB / 0.6987 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/2.431, allocations: 8 kB / 0.6988 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007783/2.431, allocations: 0.5914 MB / 0.6993 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/2.431, allocations: 0 / 0.6993 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005481/2.432, allocations: 165.7 kB / 0.6995 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/2.432, allocations: 43.83 kB / 0.6995 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.849e-05/2.432, allocations: 4 kB / 0.6995 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/2.432, allocations: 4 kB / 0.6995 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/2.432, allocations: 3.984 kB / 0.6995 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/2.432, allocations: 4 kB / 0.6995 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004013/2.433, allocations: 207.1 kB / 0.6997 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/2.433, allocations: 0 / 0.6997 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00585/2.439, allocations: 1.465 MB / 0.7012 GB, free: 12.95 MB / 0.6198 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 (2): * Single equations (assignments): 1 * 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.01096/2.45, allocations: 2.412 MB / 0.7035 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005866/2.45, allocations: 108.5 kB / 0.7036 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/2.45, allocations: 0 / 0.7036 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001458/2.45, allocations: 40.06 kB / 0.7037 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006313/2.451, allocations: 66.78 kB / 0.7037 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/2.452, allocations: 0.4941 MB / 0.7042 GB, free: 9.805 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/2.453, allocations: 172.8 kB / 0.7044 GB, free: 9.613 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001724/2.453, allocations: 29.94 kB / 0.7044 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.387e-05/2.453, allocations: 24.5 kB / 0.7044 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of SimCode: time 1.332e-06/2.453, allocations: 0 / 0.7044 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of Templates: time 0.2586/2.712, allocations: 45.74 MB / 0.7491 GB, free: 297.9 MB / 0.6355 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.845316897961311]