Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.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.8749/0.8749, allocations: 153.8 MB / 172.7 MB, free: 4.863 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.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005671/0.0005671, allocations: 15.97 kB / 250.2 MB, free: 3.953 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1705, allocations: 33.36 MB / 283.6 MB, free: 2.086 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.TestBend): time 1.95/2.121, allocations: 307.6 MB / 0.5773 GB, free: 17.52 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03195/2.153, allocations: 31.1 MB / 0.6077 GB, free: 2.594 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003247/2.153, allocations: 7.875 kB / 0.6077 GB, free: 2.59 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/Bend.mo:55:3-57: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/Bend.mo:58:3-60:43: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.0005989/2.153, allocations: 262 kB / 0.6079 GB, free: 2.535 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004259/2.154, allocations: 282.6 kB / 0.6082 GB, free: 2.438 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.02578/2.18, allocations: 9.943 MB / 0.6179 GB, free: 11.84 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009156/2.181, allocations: 0.4987 MB / 0.6184 GB, free: 11.34 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002816/2.181, allocations: 160.6 kB / 0.6186 GB, free: 11.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004137/2.181, allocations: 255.1 kB / 0.6188 GB, free: 10.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003818/2.182, allocations: 303.1 kB / 0.6191 GB, free: 10.63 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.595e-05/2.182, allocations: 26.22 kB / 0.6191 GB, free: 10.61 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03391/2.216, allocations: 16.91 MB / 0.6356 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002447/2.216, allocations: 171.4 kB / 0.6358 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002856/2.216, allocations: 210.7 kB / 0.636 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0198/2.236, allocations: 8.902 MB / 0.6447 GB, free: 384 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/2.236, allocations: 0 / 0.6447 GB, free: 384 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.844e-06/2.236, allocations: 0 / 0.6447 GB, free: 384 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.458e-06/2.236, allocations: 3.938 kB / 0.6447 GB, free: 380 kB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004704/2.241, allocations: 1.818 MB / 0.6465 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/2.241, allocations: 9.062 kB / 0.6465 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/2.241, allocations: 75.47 kB / 0.6466 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006645/2.242, allocations: 448.8 kB / 0.647 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.222e-05/2.242, allocations: 17.39 kB / 0.647 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.571e-05/2.242, allocations: 24 kB / 0.647 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007018/2.242, allocations: 488.3 kB / 0.6475 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/2.242, allocations: 0 / 0.6475 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/2.242, allocations: 12 kB / 0.6475 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/2.242, allocations: 11.98 kB / 0.6475 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005103/2.243, allocations: 354.2 kB / 0.6479 GB, free: 13.04 MB / 0.5137 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.03925/2.282, allocations: 11.35 MB / 0.6589 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006124/2.283, allocations: 158.5 kB / 0.6591 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/2.283, allocations: 84.77 kB / 0.6592 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1599/2.443, allocations: 43.61 MB / 0.7018 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.101e-05/2.443, allocations: 34.56 kB / 0.7018 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=38): time 2.244e-06/2.443, allocations: 0 / 0.7018 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of matching and sorting (n=38): time 0.001895/2.445, allocations: 0.5182 MB / 0.7023 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.197e-05/2.445, allocations: 106.8 kB / 0.7024 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/2.446, allocations: 0.9693 MB / 0.7033 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/2.446, allocations: 29.7 kB / 0.7034 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002742/2.446, allocations: 304.6 kB / 0.7037 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/2.447, allocations: 130.8 kB / 0.7038 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/2.447, allocations: 65.64 kB / 0.7038 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000212/2.447, allocations: 378.8 kB / 0.7042 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/2.447, allocations: 156.4 kB / 0.7044 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003585/2.447, allocations: 299.5 kB / 0.7046 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000452/2.448, allocations: 344 kB / 0.705 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/2.448, allocations: 0 / 0.705 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008294/2.449, allocations: 0.523 MB / 0.7055 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/2.449, allocations: 11.94 kB / 0.7055 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/2.449, allocations: 1.672 kB / 0.7055 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001642/2.45, allocations: 224.8 kB / 0.7057 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.099e-05/2.451, allocations: 27.92 kB / 0.7057 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007624/2.451, allocations: 0.6663 MB / 0.7064 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/2.451, allocations: 35.77 kB / 0.7064 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/2.452, allocations: 11.98 kB / 0.7064 GB, free: 0.7539 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 (Bend.C2.b,Bend.C1.a,SinkP1.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 (18): * Single equations (assignments): 15 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003088/2.452, allocations: 258.2 kB / 0.7067 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-05/2.452, allocations: 63.64 kB / 0.7067 GB, free: 440 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009578/2.453, allocations: 0.6999 MB / 0.7074 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000401/2.453, allocations: 243 kB / 0.7077 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/2.453, allocations: 0 / 0.7077 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/2.453, allocations: 1.125 kB / 0.7077 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/2.455, allocations: 0.8387 MB / 0.7085 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/2.455, allocations: 3.938 kB / 0.7085 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.281e-05/2.455, allocations: 19.94 kB / 0.7085 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009527/2.456, allocations: 182.2 kB / 0.7087 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/2.456, allocations: 8 kB / 0.7087 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007252/2.456, allocations: 0.7122 MB / 0.7094 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/2.456, allocations: 0.5625 kB / 0.7094 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005377/2.457, allocations: 399.1 kB / 0.7098 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002069/2.457, allocations: 91.48 kB / 0.7098 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.705e-05/2.457, allocations: 11.94 kB / 0.7099 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/2.457, allocations: 11.98 kB / 0.7099 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/2.457, allocations: 22.08 kB / 0.7099 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/2.457, allocations: 4 kB / 0.7099 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000989/2.458, allocations: 0.784 MB / 0.7107 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/2.458, allocations: 0 / 0.7107 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003099/2.462, allocations: 1.286 MB / 0.7119 GB, free: 10.97 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 11 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004782/2.466, allocations: 1.795 MB / 0.7137 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000805/2.467, allocations: 340.1 kB / 0.714 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/2.467, allocations: 0 / 0.714 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003098/2.467, allocations: 101.8 kB / 0.7141 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008457/2.468, allocations: 140.4 kB / 0.7142 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/2.47, allocations: 1.117 MB / 0.7153 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/2.47, allocations: 333.3 kB / 0.7156 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000138/2.471, allocations: 52.73 kB / 0.7157 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.26e-05/2.471, allocations: 35.36 kB / 0.7157 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of SimCode: time 3.91e-07/2.471, allocations: 0 / 0.7157 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of Templates: time 0.06726/2.538, allocations: 45.69 MB / 0.7603 GB, free: 9.879 MB / 0.6231 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.650266010314226] Failed to read output from testmodel.py, exit status != 0: 2.8845522105693817 2.895069727 0.656607611 Calling exit ...