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.904/0.904, allocations: 153.8 MB / 173.4 MB, free: 4.879 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.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.0005589/0.0005589, allocations: 15.98 kB / 251 MB, free: 3.918 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1597, allocations: 33.36 MB / 284.4 MB, free: 2.066 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.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend): time 1.932/2.092, allocations: 307.7 MB / 0.5782 GB, free: 17.29 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2158/2.308, allocations: 167.5 MB / 0.7417 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004721/2.308, allocations: 11.94 kB / 0.7417 GB, free: 13.18 MB / 0.6075 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.0005234/2.309, allocations: 203.2 kB / 0.7419 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007926/2.31, allocations: 282.7 kB / 0.7422 GB, free: 12.7 MB / 0.6075 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.03474/2.344, allocations: 12.44 MB / 0.7543 GB, free: 256 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009493/2.345, allocations: 0.5535 MB / 0.7549 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003498/2.346, allocations: 233.1 kB / 0.7551 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004132/2.346, allocations: 275.1 kB / 0.7554 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000431/2.346, allocations: 358.8 kB / 0.7557 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.489e-05/2.346, allocations: 40 kB / 0.7557 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03991/2.386, allocations: 19.69 MB / 0.775 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003142/2.387, allocations: 223.3 kB / 0.7752 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003201/2.387, allocations: 258.4 kB / 0.7754 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.02652/2.414, allocations: 10.8 MB / 0.786 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/2.414, allocations: 0 / 0.786 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.714e-06/2.414, allocations: 0 / 0.786 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.289e-05/2.414, allocations: 0 / 0.786 GB, free: 15.79 MB / 0.6544 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.006228/2.42, allocations: 2.284 MB / 0.7882 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/2.42, allocations: 12.03 kB / 0.7882 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000247/2.42, allocations: 95.42 kB / 0.7883 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008943/2.421, allocations: 0.5169 MB / 0.7888 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.068e-05/2.421, allocations: 30.25 kB / 0.7888 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.374e-05/2.421, allocations: 36 kB / 0.7889 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008293/2.422, allocations: 0.534 MB / 0.7894 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/2.422, allocations: 0 / 0.7894 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.62e-05/2.422, allocations: 16 kB / 0.7894 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/2.422, allocations: 16 kB / 0.7894 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006645/2.423, allocations: 414.3 kB / 0.7898 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008798/2.431, allocations: 3.681 MB / 0.7934 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005485/2.432, allocations: 111.5 kB / 0.7935 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.878e-05/2.432, allocations: 41.5 kB / 0.7936 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4975/2.93, allocations: 88.7 MB / 0.8802 GB, free: 276.9 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/2.93, allocations: 38.31 kB / 0.8802 GB, free: 276.9 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=11): time 2.274e-06/2.93, allocations: 0 / 0.8802 GB, free: 276.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=11): time 0.002051/2.932, allocations: 399 kB / 0.8806 GB, free: 276.6 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/2.932, allocations: 111.5 kB / 0.8807 GB, free: 276.4 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/2.933, allocations: 1.087 MB / 0.8818 GB, free: 275.6 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/2.933, allocations: 28.89 kB / 0.8818 GB, free: 275.6 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/2.933, allocations: 392.3 kB / 0.8822 GB, free: 275.4 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/2.933, allocations: 45.31 kB / 0.8822 GB, free: 275.4 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.714e-05/2.933, allocations: 82.03 kB / 0.8823 GB, free: 275.3 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.845e-05/2.933, allocations: 381.1 kB / 0.8827 GB, free: 275 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/2.933, allocations: 122.7 kB / 0.8828 GB, free: 274.9 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/2.934, allocations: 315.8 kB / 0.8831 GB, free: 274.5 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/2.934, allocations: 325.5 kB / 0.8834 GB, free: 274.2 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/2.934, allocations: 4 kB / 0.8834 GB, free: 274.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001181/2.935, allocations: 0.5523 MB / 0.8839 GB, free: 273.7 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/2.935, allocations: 7.938 kB / 0.8839 GB, free: 273.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/2.935, allocations: 7.875 kB / 0.8839 GB, free: 273.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001465/2.937, allocations: 195.8 kB / 0.8841 GB, free: 273.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/2.937, allocations: 47.91 kB / 0.8842 GB, free: 273.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004425/2.937, allocations: 0.6311 MB / 0.8848 GB, free: 272.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002683/2.937, allocations: 44.98 kB / 0.8848 GB, free: 272.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/2.937, allocations: 12 kB / 0.8848 GB, free: 272.7 MB / 0.6856 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.0002344/2.938, allocations: 271.9 kB / 0.8851 GB, free: 272.4 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.477e-05/2.938, allocations: 68.3 kB / 0.8852 GB, free: 272.4 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000626/2.938, allocations: 263.2 kB / 0.8854 GB, free: 272.1 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/2.938, allocations: 3.984 kB / 0.8854 GB, free: 272.1 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/2.938, allocations: 0 / 0.8854 GB, free: 272.1 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/2.938, allocations: 3.891 kB / 0.8854 GB, free: 272.1 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/2.94, allocations: 0.728 MB / 0.8861 GB, free: 271.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/2.94, allocations: 3.984 kB / 0.8861 GB, free: 271.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.064e-05/2.94, allocations: 4 kB / 0.8861 GB, free: 271.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009918/2.941, allocations: 163.6 kB / 0.8863 GB, free: 271.2 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/2.941, allocations: 2.953 kB / 0.8863 GB, free: 271.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003839/2.941, allocations: 0.6303 MB / 0.8869 GB, free: 270.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/2.941, allocations: 0 / 0.8869 GB, free: 270.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/2.942, allocations: 422.1 kB / 0.8873 GB, free: 270.1 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/2.943, allocations: 102.1 kB / 0.8874 GB, free: 270 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.69e-05/2.943, allocations: 12.53 kB / 0.8874 GB, free: 270 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/2.943, allocations: 12 kB / 0.8874 GB, free: 270 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/2.943, allocations: 7.984 kB / 0.8875 GB, free: 270 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/2.943, allocations: 4 kB / 0.8875 GB, free: 270 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006611/2.944, allocations: 0.7841 MB / 0.8882 GB, free: 269.2 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/2.944, allocations: 0 / 0.8882 GB, free: 269.2 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003534/2.947, allocations: 1.674 MB / 0.8899 GB, free: 267.8 MB / 0.6856 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.005285/2.952, allocations: 2.501 MB / 0.8923 GB, free: 265.7 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005112/2.953, allocations: 232.2 kB / 0.8925 GB, free: 265.5 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/2.953, allocations: 3.172 kB / 0.8925 GB, free: 265.5 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/2.953, allocations: 55.89 kB / 0.8926 GB, free: 265.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005318/2.954, allocations: 93.12 kB / 0.8927 GB, free: 265.4 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/2.955, allocations: 1.167 MB / 0.8938 GB, free: 264.2 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/2.955, allocations: 351.4 kB / 0.8941 GB, free: 263.8 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.889e-05/2.955, allocations: 35.44 kB / 0.8942 GB, free: 263.8 MB / 0.6856 GB Notification: Performance of SimCode: time 5.21e-07/2.955, allocations: 0 / 0.8942 GB, free: 263.8 MB / 0.6856 GB Notification: Performance of Templates: time 0.03823/2.993, allocations: 35.89 MB / 0.9292 GB, free: 228.5 MB / 0.6856 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: 12.953855495899916] Failed to read output from testmodel.py, exit status != 0: 3.1293930378742516 3.14461792 0.7278498830000001 Calling exit ...