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.8765/0.8765, allocations: 153.8 MB / 172.7 MB, free: 4.836 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.0005552/0.0005552, allocations: 15.97 kB / 250.3 MB, free: 3.898 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1575, allocations: 33.34 MB / 283.6 MB, free: 2.062 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.892/2.049, allocations: 307.7 MB / 0.5774 GB, free: 17.41 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2133/2.262, allocations: 167.5 MB / 0.741 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00044/2.263, allocations: 7.938 kB / 0.741 GB, free: 13.46 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.0005518/2.263, allocations: 215.9 kB / 0.7412 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007169/2.264, allocations: 278.7 kB / 0.7414 GB, free: 12.98 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.03444/2.299, allocations: 12.45 MB / 0.7536 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008823/2.299, allocations: 0.5452 MB / 0.7541 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003418/2.3, allocations: 245 kB / 0.7544 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000411/2.3, allocations: 271.1 kB / 0.7546 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004193/2.301, allocations: 354.8 kB / 0.755 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 6.598e-05/2.301, allocations: 44 kB / 0.755 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03761/2.338, allocations: 19.69 MB / 0.7742 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000289/2.339, allocations: 219.3 kB / 0.7744 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003143/2.339, allocations: 250.5 kB / 0.7747 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.02707/2.366, allocations: 10.8 MB / 0.7852 GB, free: 76 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.023e-05/2.366, allocations: 4 kB / 0.7852 GB, free: 72 kB / 0.6387 GB Notification: Performance of FrontEnd: time 2.395e-06/2.366, allocations: 0 / 0.7852 GB, free: 72 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.507e-05/2.366, allocations: 4 kB / 0.7852 GB, free: 68 kB / 0.6387 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.007711/2.374, allocations: 2.287 MB / 0.7875 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 7.267e-05/2.374, allocations: 8.031 kB / 0.7875 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003255/2.374, allocations: 92.12 kB / 0.7876 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/2.375, allocations: 0.5227 MB / 0.7881 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.229e-05/2.375, allocations: 29 kB / 0.7881 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.947e-05/2.375, allocations: 38.34 kB / 0.7881 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008878/2.376, allocations: 0.534 MB / 0.7887 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/2.376, allocations: 0 / 0.7887 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.605e-05/2.376, allocations: 16 kB / 0.7887 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/2.376, allocations: 12 kB / 0.7887 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006368/2.377, allocations: 415.1 kB / 0.7891 GB, free: 12 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008514/2.385, allocations: 3.684 MB / 0.7927 GB, free: 8.266 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005482/2.386, allocations: 106.6 kB / 0.7928 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.945e-05/2.386, allocations: 40.89 kB / 0.7928 GB, free: 8.109 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4922/2.878, allocations: 88.71 MB / 0.8795 GB, free: 277.1 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/2.878, allocations: 39.44 kB / 0.8795 GB, free: 277 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=11): time 2.134e-06/2.878, allocations: 0 / 0.8795 GB, free: 277 MB / 0.6856 GB Notification: Performance of matching and sorting (n=11): time 0.002021/2.88, allocations: 404.3 kB / 0.8799 GB, free: 276.7 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/2.88, allocations: 102.8 kB / 0.88 GB, free: 276.6 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/2.881, allocations: 1.097 MB / 0.8811 GB, free: 275.8 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/2.881, allocations: 25.7 kB / 0.8811 GB, free: 275.7 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002535/2.882, allocations: 385.6 kB / 0.8814 GB, free: 275.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/2.882, allocations: 44.77 kB / 0.8815 GB, free: 275.5 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/2.882, allocations: 82.41 kB / 0.8816 GB, free: 275.4 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.8e-05/2.882, allocations: 378.3 kB / 0.8819 GB, free: 275.1 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/2.882, allocations: 127.4 kB / 0.882 GB, free: 275 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/2.882, allocations: 313.4 kB / 0.8823 GB, free: 274.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003161/2.883, allocations: 325 kB / 0.8827 GB, free: 274.4 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/2.883, allocations: 9.625 kB / 0.8827 GB, free: 274.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001215/2.884, allocations: 0.5497 MB / 0.8832 GB, free: 273.8 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/2.884, allocations: 7.938 kB / 0.8832 GB, free: 273.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/2.884, allocations: 4 kB / 0.8832 GB, free: 273.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00141/2.885, allocations: 196.7 kB / 0.8834 GB, free: 273.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/2.885, allocations: 47.91 kB / 0.8834 GB, free: 273.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004276/2.886, allocations: 0.6298 MB / 0.8841 GB, free: 272.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002811/2.886, allocations: 43.06 kB / 0.8841 GB, free: 272.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/2.886, allocations: 12 kB / 0.8841 GB, free: 272.9 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.0002647/2.886, allocations: 276.1 kB / 0.8844 GB, free: 272.6 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.575e-05/2.886, allocations: 71.52 kB / 0.8844 GB, free: 272.5 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006033/2.887, allocations: 259 kB / 0.8847 GB, free: 272.2 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/2.887, allocations: 0 / 0.8847 GB, free: 272.2 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/2.887, allocations: 0.6562 kB / 0.8847 GB, free: 272.2 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/2.887, allocations: 0 / 0.8847 GB, free: 272.2 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001525/2.889, allocations: 0.7417 MB / 0.8854 GB, free: 271.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/2.889, allocations: 3.875 kB / 0.8854 GB, free: 271.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.126e-05/2.889, allocations: 5.828 kB / 0.8854 GB, free: 271.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009972/2.89, allocations: 161.1 kB / 0.8856 GB, free: 271.3 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/2.89, allocations: 0 / 0.8856 GB, free: 271.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003804/2.89, allocations: 0.6303 MB / 0.8862 GB, free: 270.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/2.89, allocations: 3.938 kB / 0.8862 GB, free: 270.6 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/2.891, allocations: 402.6 kB / 0.8866 GB, free: 270.2 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002223/2.891, allocations: 114.5 kB / 0.8867 GB, free: 270.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.027e-05/2.891, allocations: 3.938 kB / 0.8867 GB, free: 270.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/2.892, allocations: 8 kB / 0.8867 GB, free: 270.1 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/2.892, allocations: 15.97 kB / 0.8867 GB, free: 270.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/2.892, allocations: 4 kB / 0.8867 GB, free: 270.1 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006782/2.892, allocations: 0.7841 MB / 0.8875 GB, free: 269.3 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/2.892, allocations: 3.938 kB / 0.8875 GB, free: 269.3 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003279/2.896, allocations: 1.673 MB / 0.8891 GB, free: 267.9 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.00581/2.901, allocations: 2.512 MB / 0.8916 GB, free: 265.9 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005947/2.902, allocations: 228.2 kB / 0.8918 GB, free: 265.7 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/2.902, allocations: 1.203 kB / 0.8918 GB, free: 265.7 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000158/2.902, allocations: 51.95 kB / 0.8918 GB, free: 265.6 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005731/2.903, allocations: 92.48 kB / 0.8919 GB, free: 265.5 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/2.904, allocations: 1.108 MB / 0.893 GB, free: 264.4 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/2.904, allocations: 347.4 kB / 0.8933 GB, free: 264 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001516/2.904, allocations: 71.11 kB / 0.8934 GB, free: 264 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.106e-05/2.905, allocations: 31.44 kB / 0.8934 GB, free: 263.9 MB / 0.6856 GB Notification: Performance of SimCode: time 4.61e-07/2.905, allocations: 0 / 0.8934 GB, free: 263.9 MB / 0.6856 GB Notification: Performance of Templates: time 0.05031/2.955, allocations: 51.84 MB / 0.9441 GB, free: 212.8 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: 9.56102285347879] Failed to read output from testmodel.py, exit status != 0: 3.089840278029442 3.099487201 0.731122435 Calling exit ...