Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7943/0.7943, allocations: 152.6 MB / 169.6 MB, free: 15.15 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0004706/0.0004706, allocations: 16.52 kB / 245.6 MB, free: 15.62 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05299/0.05346, allocations: 33.05 MB / 278.6 MB, free: 0.6992 MB / 222.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend): time 1.548/1.601, allocations: 301.3 MB / 0.5663 GB, free: 2.477 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4531/2.054, allocations: 191.1 MB / 0.7529 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002553/2.055, allocations: 8.938 kB / 0.753 GB, free: 15.23 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59:65: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 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67: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 4.0.0-master/Fluid/PressureLosses/Bend.mo:57:3-58:67: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 4.0.0-master/Fluid/PressureLosses/Bend.mo:59:3-60:67: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.0002846/2.055, allocations: 203.7 kB / 0.7531 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003248/2.055, allocations: 275.8 kB / 0.7534 GB, free: 15.21 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84: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.02942/2.085, allocations: 12.52 MB / 0.7656 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007093/2.085, allocations: 0.5346 MB / 0.7662 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002799/2.086, allocations: 247.2 kB / 0.7664 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002511/2.086, allocations: 254.3 kB / 0.7666 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003341/2.086, allocations: 381 kB / 0.767 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.851e-05/2.086, allocations: 42.41 kB / 0.767 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03738/2.124, allocations: 21.14 MB / 0.7877 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002792/2.124, allocations: 208.5 kB / 0.7879 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003534/2.124, allocations: 323.7 kB / 0.7882 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02719/2.151, allocations: 10.78 MB / 0.7987 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/2.151, allocations: 0 / 0.7987 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.342e-06/2.151, allocations: 0 / 0.7987 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.039e-05/2.151, allocations: 0 / 0.7987 GB, free: 13.43 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.005589/2.157, allocations: 2.334 MB / 0.801 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/2.157, allocations: 8.031 kB / 0.801 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/2.157, allocations: 87.44 kB / 0.8011 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000731/2.158, allocations: 0.5616 MB / 0.8016 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.148e-05/2.158, allocations: 29 kB / 0.8017 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.749e-05/2.158, allocations: 36 kB / 0.8017 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007125/2.159, allocations: 495.4 kB / 0.8022 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/2.159, allocations: 0 / 0.8022 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.535e-05/2.159, allocations: 19.94 kB / 0.8022 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/2.159, allocations: 12 kB / 0.8022 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006151/2.159, allocations: 418.3 kB / 0.8026 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009729/2.169, allocations: 6.704 MB / 0.8091 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005212/2.17, allocations: 106.7 kB / 0.8092 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.466e-05/2.17, allocations: 40.84 kB / 0.8093 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3317/2.501, allocations: 155.7 MB / 0.9613 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/2.501, allocations: 34.56 kB / 0.9613 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 2.064e-06/2.502, allocations: 0 / 0.9613 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.002174/2.504, allocations: 478 kB / 0.9618 GB, free: 4.371 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.976e-05/2.504, allocations: 102.8 kB / 0.9619 GB, free: 4.246 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/2.505, allocations: 1.071 MB / 0.9629 GB, free: 3.164 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/2.505, allocations: 29.7 kB / 0.963 GB, free: 3.129 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003256/2.506, allocations: 394 kB / 0.9633 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.953e-05/2.506, allocations: 43.64 kB / 0.9634 GB, free: 2.699 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/2.506, allocations: 77.58 kB / 0.9634 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000194/2.506, allocations: 382.7 kB / 0.9638 GB, free: 2.234 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/2.506, allocations: 128 kB / 0.9639 GB, free: 2.109 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002974/2.506, allocations: 257 kB / 0.9642 GB, free: 1.797 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004105/2.507, allocations: 327.1 kB / 0.9645 GB, free: 1.422 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/2.507, allocations: 0 / 0.9645 GB, free: 1.422 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001412/2.508, allocations: 0.5629 MB / 0.965 GB, free: 0.8516 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/2.508, allocations: 4 kB / 0.965 GB, free: 0.8477 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/2.508, allocations: 4 kB / 0.965 GB, free: 0.8438 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001491/2.51, allocations: 202.1 kB / 0.9652 GB, free: 0.6484 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/2.51, allocations: 47.91 kB / 0.9653 GB, free: 0.6016 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006387/2.51, allocations: 0.6351 MB / 0.9659 GB, free: 15.94 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002795/2.511, allocations: 47.66 kB / 0.9659 GB, free: 15.89 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/2.511, allocations: 12 kB / 0.966 GB, free: 15.88 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (SourceP1.C.ftype,SinkP1.fluid,Bend.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,Bend.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.000297/2.511, allocations: 271.6 kB / 0.9662 GB, free: 15.61 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/2.511, allocations: 71.47 kB / 0.9663 GB, free: 15.54 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006965/2.512, allocations: 254.9 kB / 0.9665 GB, free: 15.28 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/2.512, allocations: 4 kB / 0.9665 GB, free: 15.27 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/2.512, allocations: 1.188 kB / 0.9665 GB, free: 15.27 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/2.512, allocations: 0 / 0.9665 GB, free: 15.27 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001832/2.514, allocations: 0.8503 MB / 0.9674 GB, free: 14.37 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/2.514, allocations: 0 / 0.9674 GB, free: 14.37 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.21e-05/2.514, allocations: 6 kB / 0.9674 GB, free: 14.36 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001037/2.515, allocations: 160.6 kB / 0.9675 GB, free: 14.2 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/2.515, allocations: 0 / 0.9675 GB, free: 14.2 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006006/2.515, allocations: 0.6343 MB / 0.9681 GB, free: 13.54 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/2.515, allocations: 3.938 kB / 0.9681 GB, free: 13.54 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/2.517, allocations: 413.7 kB / 0.9685 GB, free: 13.12 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001886/2.517, allocations: 168.6 kB / 0.9687 GB, free: 12.94 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.465e-05/2.517, allocations: 4 kB / 0.9687 GB, free: 12.93 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/2.517, allocations: 15.98 kB / 0.9687 GB, free: 12.92 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/2.517, allocations: 11.92 kB / 0.9687 GB, free: 12.91 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/2.517, allocations: 4 kB / 0.9687 GB, free: 12.9 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0008908/2.518, allocations: 0.7802 MB / 0.9695 GB, free: 12.12 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.11e-07/2.518, allocations: 0 / 0.9695 GB, free: 12.12 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.003998/2.522, allocations: 1.667 MB / 0.9711 GB, free: 10.45 MB / 0.795 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 (3): * Single equations (assignments): 2 * 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.007178/2.529, allocations: 2.516 MB / 0.9736 GB, free: 8.211 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005721/2.53, allocations: 232.6 kB / 0.9738 GB, free: 7.984 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/2.53, allocations: 0 / 0.9738 GB, free: 7.984 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000182/2.53, allocations: 55.94 kB / 0.9739 GB, free: 7.93 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005675/2.531, allocations: 97.86 kB / 0.974 GB, free: 7.844 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/2.532, allocations: 1.118 MB / 0.975 GB, free: 6.684 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005709/2.533, allocations: 0.9294 MB / 0.976 GB, free: 5.73 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.038e-05/2.533, allocations: 43.44 kB / 0.976 GB, free: 5.688 MB / 0.795 GB Notification: Performance of SimCode: time 4.01e-07/2.533, allocations: 0 / 0.976 GB, free: 5.688 MB / 0.795 GB Notification: Performance of Templates: time 0.2129/2.746, allocations: 35.7 MB / 1.011 GB, free: 417.9 MB / 0.8106 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.587329521076754] Failed to read output from testmodel.py, exit status != 0: 2.8609716889914125 2.868411067 0.7150968329999999 Calling exit ...