Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.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.8576/0.8576, 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.SimpleExamples.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005421/0.0005421, allocations: 15.97 kB / 251 MB, free: 3.879 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1638, allocations: 33.35 MB / 284.4 MB, free: 2.043 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.SimpleExamples.TestBend): time 1.873/2.037, allocations: 307.7 MB / 0.5783 GB, free: 17.33 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2101/2.247, allocations: 167.5 MB / 0.7418 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004208/2.247, allocations: 11.94 kB / 0.7418 GB, free: 13.45 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.0004537/2.248, allocations: 207.2 kB / 0.742 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006426/2.249, allocations: 286.6 kB / 0.7423 GB, free: 12.96 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.03531/2.284, allocations: 12.44 MB / 0.7544 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00102/2.285, allocations: 0.5496 MB / 0.755 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003505/2.285, allocations: 233.1 kB / 0.7552 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004189/2.286, allocations: 271.1 kB / 0.7555 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004295/2.286, allocations: 358.8 kB / 0.7558 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 6.837e-05/2.286, allocations: 47.94 kB / 0.7559 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03895/2.325, allocations: 19.69 MB / 0.7751 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003384/2.325, allocations: 219.3 kB / 0.7753 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003931/2.326, allocations: 258.4 kB / 0.7755 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.02594/2.352, allocations: 10.8 MB / 0.7861 GB, free: 60 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/2.352, allocations: 0 / 0.7861 GB, free: 60 kB / 0.6387 GB Notification: Performance of FrontEnd: time 1.873e-06/2.352, allocations: 1.5 kB / 0.7861 GB, free: 60 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.132e-05/2.352, allocations: 4 kB / 0.7861 GB, free: 56 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.005323/2.357, allocations: 2.279 MB / 0.7883 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/2.357, allocations: 12.03 kB / 0.7883 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002195/2.357, allocations: 88.5 kB / 0.7884 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008741/2.358, allocations: 0.5247 MB / 0.7889 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.927e-05/2.358, allocations: 33 kB / 0.789 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.637e-05/2.358, allocations: 36 kB / 0.789 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007918/2.359, allocations: 0.534 MB / 0.7895 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/2.359, allocations: 0 / 0.7895 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.657e-05/2.359, allocations: 16 kB / 0.7895 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/2.359, allocations: 8 kB / 0.7895 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006559/2.36, allocations: 418.3 kB / 0.7899 GB, free: 12 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008731/2.369, allocations: 3.684 MB / 0.7935 GB, free: 8.254 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005337/2.369, allocations: 113.9 kB / 0.7936 GB, free: 8.137 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.773e-05/2.369, allocations: 38.91 kB / 0.7937 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4859/2.855, allocations: 88.7 MB / 0.8803 GB, free: 277.1 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/2.855, allocations: 35.22 kB / 0.8803 GB, free: 277.1 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=11): time 1.853e-06/2.855, allocations: 0 / 0.8803 GB, free: 277.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=11): time 0.001981/2.857, allocations: 402.6 kB / 0.8807 GB, free: 276.8 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/2.857, allocations: 106.8 kB / 0.8808 GB, free: 276.6 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/2.858, allocations: 1.094 MB / 0.8819 GB, free: 275.8 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/2.858, allocations: 29.33 kB / 0.8819 GB, free: 275.8 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/2.858, allocations: 385.5 kB / 0.8823 GB, free: 275.6 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/2.858, allocations: 43.58 kB / 0.8823 GB, free: 275.6 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.852e-05/2.858, allocations: 82.66 kB / 0.8824 GB, free: 275.5 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.41e-05/2.859, allocations: 378.1 kB / 0.8828 GB, free: 275.1 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/2.859, allocations: 130.4 kB / 0.8829 GB, free: 275.1 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/2.859, allocations: 312.3 kB / 0.8832 GB, free: 274.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/2.859, allocations: 322.7 kB / 0.8835 GB, free: 274.4 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/2.859, allocations: 7.75 kB / 0.8835 GB, free: 274.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001165/2.86, allocations: 0.5507 MB / 0.884 GB, free: 273.9 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/2.86, allocations: 7.938 kB / 0.884 GB, free: 273.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/2.86, allocations: 4 kB / 0.8841 GB, free: 273.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001402/2.862, allocations: 200.6 kB / 0.8842 GB, free: 273.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/2.862, allocations: 50.16 kB / 0.8843 GB, free: 273.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004152/2.862, allocations: 0.6247 MB / 0.8849 GB, free: 273 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/2.863, allocations: 47.02 kB / 0.8849 GB, free: 273 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/2.863, allocations: 12 kB / 0.885 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.000209/2.863, allocations: 272.2 kB / 0.8852 GB, free: 272.7 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.216e-05/2.863, allocations: 71.52 kB / 0.8853 GB, free: 272.6 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008663/2.864, allocations: 265.8 kB / 0.8855 GB, free: 272.3 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.84e-06/2.864, allocations: 0 / 0.8855 GB, free: 272.3 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/2.864, allocations: 0 / 0.8855 GB, free: 272.3 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/2.864, allocations: 0 / 0.8855 GB, free: 272.3 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002262/2.866, allocations: 0.7346 MB / 0.8863 GB, free: 271.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/2.866, allocations: 0 / 0.8863 GB, free: 271.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.855e-05/2.866, allocations: 4.547 kB / 0.8863 GB, free: 271.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001518/2.868, allocations: 158.7 kB / 0.8864 GB, free: 271.4 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/2.868, allocations: 4 kB / 0.8864 GB, free: 271.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005753/2.868, allocations: 0.6303 MB / 0.887 GB, free: 270.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/2.868, allocations: 3.875 kB / 0.887 GB, free: 270.8 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/2.87, allocations: 418.9 kB / 0.8874 GB, free: 270.3 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003047/2.87, allocations: 106.9 kB / 0.8875 GB, free: 270.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.886e-05/2.87, allocations: 7.891 kB / 0.8875 GB, free: 270.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002988/2.871, allocations: 8 kB / 0.8875 GB, free: 270.2 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.101e-05/2.871, allocations: 15.97 kB / 0.8876 GB, free: 270.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/2.871, allocations: 4 kB / 0.8876 GB, free: 270.2 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001098/2.872, allocations: 0.7841 MB / 0.8883 GB, free: 269.4 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/2.872, allocations: 3.281 kB / 0.8883 GB, free: 269.4 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004872/2.877, allocations: 1.673 MB / 0.89 GB, free: 268 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.008614/2.885, allocations: 2.498 MB / 0.8924 GB, free: 266 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0008054/2.886, allocations: 228.2 kB / 0.8926 GB, free: 265.8 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/2.886, allocations: 0 / 0.8926 GB, free: 265.8 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002379/2.886, allocations: 63.27 kB / 0.8927 GB, free: 265.7 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009028/2.887, allocations: 91.58 kB / 0.8928 GB, free: 265.6 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002122/2.889, allocations: 1.164 MB / 0.8939 GB, free: 264.4 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/2.89, allocations: 357.7 kB / 0.8943 GB, free: 264.1 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/2.89, allocations: 35.44 kB / 0.8943 GB, free: 264 MB / 0.6856 GB Notification: Performance of SimCode: time 6.91e-07/2.89, allocations: 0 / 0.8943 GB, free: 264 MB / 0.6856 GB Notification: Performance of Templates: time 0.05613/2.946, allocations: 35.88 MB / 0.9293 GB, free: 228.8 MB / 0.6856 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.633023163303733] Failed to read output from testmodel.py, exit status != 0: 3.081801877822727 3.090817953 0.736786191 Calling exit ...