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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.5808/0.5808, allocations: 120.4 MB / 140.2 MB, free: 12.97 MB / 138.7 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.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 2.515e-06/2.515e-06, allocations: 0 / 217.9 MB, free: 8.672 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.794e-05/3.046e-05, allocations: 7.188 kB / 217.9 MB, free: 8.668 MB / 202.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.TestBend): time 0.951/0.951, allocations: 254.4 MB / 472.3 MB, free: 8.723 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.3304/1.281, allocations: 167.5 MB / 0.6248 GB, free: 8.441 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002385/1.282, allocations: 7.938 kB / 0.6248 GB, free: 8.434 MB / 0.5573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:59:3-60: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 master/Fluid/BoundaryConditions/SinkP.mo:47:3-48: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 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 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.0002886/1.282, allocations: 211.1 kB / 0.625 GB, free: 8.227 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003384/1.282, allocations: 294.5 kB / 0.6253 GB, free: 7.938 MB / 0.5573 GB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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.02179/1.304, allocations: 12.58 MB / 0.6376 GB, free: 11.36 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0005617/1.305, allocations: 0.565 MB / 0.6381 GB, free: 10.79 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002645/1.305, allocations: 241.2 kB / 0.6384 GB, free: 10.55 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003557/1.305, allocations: 363.2 kB / 0.6387 GB, free: 10.2 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000251/1.305, allocations: 327.3 kB / 0.639 GB, free: 9.875 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 4.088e-05/1.306, allocations: 44 kB / 0.6391 GB, free: 9.832 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02341/1.329, allocations: 19.74 MB / 0.6583 GB, free: 6.066 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001787/1.329, allocations: 219.3 kB / 0.6585 GB, free: 5.852 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001418/1.329, allocations: 195.4 kB / 0.6587 GB, free: 5.66 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.01745/1.347, allocations: 13.43 MB / 0.6718 GB, free: 8.199 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/1.347, allocations: 0 / 0.6718 GB, free: 8.199 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.312e-06/1.347, allocations: 0 / 0.6718 GB, free: 8.199 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.678e-06/1.347, allocations: 3.938 kB / 0.6719 GB, free: 8.195 MB / 0.6042 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.004015/1.351, allocations: 2.28 MB / 0.6741 GB, free: 5.871 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/1.351, allocations: 8.031 kB / 0.6741 GB, free: 5.863 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/1.351, allocations: 91.44 kB / 0.6742 GB, free: 5.773 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005181/1.351, allocations: 0.5092 MB / 0.6747 GB, free: 5.234 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/1.351, allocations: 33.44 kB / 0.6747 GB, free: 5.199 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.438e-05/1.352, allocations: 36 kB / 0.6747 GB, free: 5.164 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005023/1.352, allocations: 0.534 MB / 0.6753 GB, free: 4.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/1.352, allocations: 0 / 0.6753 GB, free: 4.59 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/1.352, allocations: 16 kB / 0.6753 GB, free: 4.574 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/1.352, allocations: 12.56 kB / 0.6753 GB, free: 4.562 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004005/1.352, allocations: 422.3 kB / 0.6757 GB, free: 4.148 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004299/1.357, allocations: 3.681 MB / 0.6793 GB, free: 428 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000326/1.357, allocations: 107.5 kB / 0.6794 GB, free: 312 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.437e-05/1.357, allocations: 40.89 kB / 0.6794 GB, free: 268 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2841/1.641, allocations: 88.7 MB / 0.766 GB, free: 287.9 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/1.641, allocations: 40.05 kB / 0.7661 GB, free: 287.8 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=11): time 3.777e-06/1.641, allocations: 0.9375 kB / 0.7661 GB, free: 287.8 MB / 0.6667 GB Notification: Performance of matching and sorting (n=11): time 0.001362/1.643, allocations: 394.2 kB / 0.7665 GB, free: 287.5 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/1.643, allocations: 106.8 kB / 0.7666 GB, free: 287.3 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008667/1.643, allocations: 1.091 MB / 0.7676 GB, free: 286.3 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/1.644, allocations: 29.7 kB / 0.7677 GB, free: 286.2 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/1.644, allocations: 382.6 kB / 0.768 GB, free: 285.9 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/1.644, allocations: 46.16 kB / 0.7681 GB, free: 285.9 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.586e-05/1.644, allocations: 77.59 kB / 0.7681 GB, free: 285.8 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 5.981e-05/1.644, allocations: 375.4 kB / 0.7685 GB, free: 285.4 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/1.644, allocations: 139.9 kB / 0.7686 GB, free: 285.3 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/1.644, allocations: 316.2 kB / 0.7689 GB, free: 284.9 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/1.644, allocations: 315 kB / 0.7692 GB, free: 284.5 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/1.644, allocations: 3.75 kB / 0.7692 GB, free: 284.5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007151/1.645, allocations: 0.5476 MB / 0.7698 GB, free: 284 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/1.645, allocations: 10.91 kB / 0.7698 GB, free: 284 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/1.645, allocations: 18.41 kB / 0.7698 GB, free: 284 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007532/1.646, allocations: 195.1 kB / 0.77 GB, free: 283.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.456e-05/1.646, allocations: 43.92 kB / 0.77 GB, free: 283.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002947/1.646, allocations: 0.6346 MB / 0.7706 GB, free: 283.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/1.646, allocations: 39.16 kB / 0.7707 GB, free: 283 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/1.646, allocations: 21.27 kB / 0.7707 GB, free: 283 MB / 0.6667 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.0001791/1.647, allocations: 269.2 kB / 0.771 GB, free: 282.8 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/1.647, allocations: 75.58 kB / 0.771 GB, free: 282.7 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003761/1.647, allocations: 260.6 kB / 0.7713 GB, free: 282.4 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/1.647, allocations: 8 kB / 0.7713 GB, free: 282.4 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.647, allocations: 0 / 0.7713 GB, free: 282.4 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/1.647, allocations: 0.9844 kB / 0.7713 GB, free: 282.4 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000794/1.648, allocations: 0.7213 MB / 0.772 GB, free: 281.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/1.648, allocations: 4.031 kB / 0.772 GB, free: 281.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.369e-05/1.648, allocations: 4.844 kB / 0.772 GB, free: 281.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004596/1.648, allocations: 157 kB / 0.7721 GB, free: 281.5 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/1.648, allocations: 9.062 kB / 0.7722 GB, free: 281.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002266/1.648, allocations: 0.6277 MB / 0.7728 GB, free: 280.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.648, allocations: 7.969 kB / 0.7728 GB, free: 280.8 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005259/1.649, allocations: 408.5 kB / 0.7732 GB, free: 280.4 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/1.649, allocations: 107.5 kB / 0.7733 GB, free: 280.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/1.649, allocations: 8 kB / 0.7733 GB, free: 280.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.531e-05/1.649, allocations: 8.641 kB / 0.7733 GB, free: 280.3 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/1.649, allocations: 11.92 kB / 0.7733 GB, free: 280.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/1.649, allocations: 4 kB / 0.7733 GB, free: 280.3 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004339/1.65, allocations: 0.7802 MB / 0.7741 GB, free: 279.5 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7e-08/1.65, allocations: 0 / 0.7741 GB, free: 279.5 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002913/1.653, allocations: 1.679 MB / 0.7757 GB, free: 278.1 MB / 0.6667 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.004232/1.657, allocations: 2.741 MB / 0.7784 GB, free: 275.8 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.000315/1.657, allocations: 221.1 kB / 0.7786 GB, free: 275.6 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.657, allocations: 0 / 0.7786 GB, free: 275.6 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 7.577e-05/1.657, allocations: 64.8 kB / 0.7787 GB, free: 275.5 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/1.658, allocations: 90.38 kB / 0.7787 GB, free: 275.4 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009082/1.658, allocations: 1.14 MB / 0.7798 GB, free: 274.3 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001659/1.659, allocations: 350.8 kB / 0.7802 GB, free: 273.9 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.873e-05/1.659, allocations: 40.5 kB / 0.7802 GB, free: 273.9 MB / 0.6667 GB Notification: Performance of SimCode: time 6.91e-07/1.659, allocations: 0 / 0.7802 GB, free: 273.9 MB / 0.6667 GB Notification: Performance of Templates: time 0.02382/1.683, allocations: 36.18 MB / 0.8156 GB, free: 237.9 MB / 0.6667 GB " [Timeout remaining time 658] 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: 8.024954237043858] Failed to read output from testmodel.py, exit status != 0: 1.8904199693351984 1.797437883 0.449437841 Calling exit ...