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.8883/0.8883, allocations: 153.8 MB / 172.7 MB, free: 4.855 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.0005918/0.0005918, allocations: 15.97 kB / 250.2 MB, free: 3.945 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1918, allocations: 33.36 MB / 283.6 MB, free: 2.07 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.937/2.129, allocations: 307.5 MB / 0.5772 GB, free: 17.26 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03312/2.162, allocations: 30.52 MB / 0.607 GB, free: 2.82 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003028/2.162, allocations: 1.469 kB / 0.607 GB, free: 2.82 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.0004241/2.162, allocations: 107.8 kB / 0.6071 GB, free: 2.773 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002308/2.163, allocations: 120.8 kB / 0.6072 GB, free: 2.691 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.02707/2.19, allocations: 9.682 MB / 0.6167 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008841/2.191, allocations: 358.3 kB / 0.617 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002565/2.191, allocations: 89.66 kB / 0.6171 GB, free: 12.69 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003278/2.191, allocations: 160.7 kB / 0.6173 GB, free: 12.53 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/2.191, allocations: 91.45 kB / 0.6174 GB, free: 12.44 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/2.191, allocations: 20 kB / 0.6174 GB, free: 12.42 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03507/2.226, allocations: 16.77 MB / 0.6338 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.133e-05/2.227, allocations: 39.8 kB / 0.6338 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001968/2.227, allocations: 115.5 kB / 0.6339 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0211/2.248, allocations: 8.439 MB / 0.6421 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.188e-06/2.248, allocations: 0 / 0.6421 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.136e-06/2.248, allocations: 1.219 kB / 0.6421 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.257e-06/2.248, allocations: 4 kB / 0.6422 GB, free: 3.02 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.004464/2.252, allocations: 1.403 MB / 0.6435 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/2.252, allocations: 8.031 kB / 0.6435 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.392e-05/2.252, allocations: 39.8 kB / 0.6436 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/2.253, allocations: 176.7 kB / 0.6437 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/2.253, allocations: 12.44 kB / 0.6437 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/2.253, allocations: 20 kB / 0.6438 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004639/2.253, allocations: 299.4 kB / 0.6441 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/2.253, allocations: 1.438 kB / 0.6441 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/2.253, allocations: 12 kB / 0.6441 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/2.253, allocations: 12.97 kB / 0.6441 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002798/2.254, allocations: 169.2 kB / 0.6442 GB, free: 0.7969 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.03805/2.292, allocations: 10.78 MB / 0.6548 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003403/2.292, allocations: 107.5 kB / 0.6549 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/2.292, allocations: 76.83 kB / 0.6549 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1565/2.449, allocations: 43.58 MB / 0.6975 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.552e-05/2.449, allocations: 34.55 kB / 0.6975 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.394e-06/2.449, allocations: 0 / 0.6975 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.001079/2.45, allocations: 367.6 kB / 0.6979 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/2.45, allocations: 52.53 kB / 0.6979 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/2.45, allocations: 178.8 kB / 0.6981 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/2.45, allocations: 25.7 kB / 0.6981 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/2.45, allocations: 160.5 kB / 0.6983 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.217e-05/2.45, allocations: 115 kB / 0.6984 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.788e-05/2.45, allocations: 53.69 kB / 0.6984 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001614/2.45, allocations: 334.8 kB / 0.6988 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/2.451, allocations: 71.98 kB / 0.6988 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/2.451, allocations: 124.2 kB / 0.6989 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003134/2.451, allocations: 204.8 kB / 0.6991 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/2.451, allocations: 0 / 0.6991 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004522/2.452, allocations: 298.7 kB / 0.6994 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/2.452, allocations: 4.75 kB / 0.6994 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/2.452, allocations: 8.062 kB / 0.6994 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009173/2.452, allocations: 161.2 kB / 0.6996 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.743e-05/2.452, allocations: 7.938 kB / 0.6996 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005965/2.453, allocations: 0.6401 MB / 0.7002 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/2.453, allocations: 19.81 kB / 0.7002 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/2.453, allocations: 12 kB / 0.7003 GB, free: 7.195 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.0001392/2.453, allocations: 135.7 kB / 0.7004 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.311e-05/2.453, allocations: 15.86 kB / 0.7004 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008027/2.454, allocations: 0.5886 MB / 0.701 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003815/2.455, allocations: 219.8 kB / 0.7012 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/2.455, allocations: 4 kB / 0.7012 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/2.455, allocations: 3.984 kB / 0.7012 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009965/2.456, allocations: 0.621 MB / 0.7018 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/2.456, allocations: 8.938 kB / 0.7018 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.663e-05/2.456, allocations: 12.56 kB / 0.7018 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003817/2.456, allocations: 112.8 kB / 0.7019 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/2.456, allocations: 3.938 kB / 0.7019 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005429/2.457, allocations: 0.6627 MB / 0.7026 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/2.457, allocations: 0.5156 kB / 0.7026 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004763/2.457, allocations: 341.8 kB / 0.7029 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.708e-05/2.457, allocations: 21.62 kB / 0.7029 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/2.457, allocations: 11.89 kB / 0.7029 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/2.457, allocations: 11.98 kB / 0.7029 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.975e-05/2.457, allocations: 13.91 kB / 0.703 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/2.457, allocations: 8 kB / 0.703 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000237/2.458, allocations: 200.5 kB / 0.7032 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/2.458, allocations: 0 / 0.7032 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003624/2.461, allocations: 1.208 MB / 0.7043 GB, free: 2.844 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.005773/2.467, allocations: 1.75 MB / 0.706 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008028/2.468, allocations: 216.7 kB / 0.7063 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/2.468, allocations: 0 / 0.7063 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002184/2.468, allocations: 75.91 kB / 0.7063 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007505/2.469, allocations: 114.1 kB / 0.7064 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/2.47, allocations: 0.5138 MB / 0.7069 GB, free: 200 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/2.47, allocations: 164.8 kB / 0.7071 GB, free: 12 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.259e-05/2.47, allocations: 12.77 kB / 0.7071 GB, free: 4 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.056e-05/2.47, allocations: 23.47 kB / 0.7071 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/2.47, allocations: 0 / 0.7071 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of Templates: time 0.06537/2.536, allocations: 42.17 MB / 0.7483 GB, free: 6.309 MB / 0.6075 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: 8.574901416897774] Failed to read output from testmodel.py, exit status != 0: 2.903565399348736 2.913892131 0.663525236 Calling exit ...