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 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.8304/0.8304, allocations: 152.6 MB / 171.4 MB, free: 6 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.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.000585/0.000585, allocations: 15.92 kB / 248.5 MB, free: 5.637 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1811, allocations: 33.05 MB / 281.6 MB, free: 3.559 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.SimpleExamples.TestBend): time 1.547/1.728, allocations: 301.4 MB / 0.5693 GB, free: 5.344 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.4866/2.215, allocations: 191.2 MB / 0.756 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003816/2.215, allocations: 11.88 kB / 0.756 GB, free: 0.8047 MB / 0.6075 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.0004054/2.216, allocations: 199.3 kB / 0.7562 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004617/2.216, allocations: 282.6 kB / 0.7564 GB, free: 340 kB / 0.6075 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.03403/2.25, allocations: 12.63 MB / 0.7688 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0008358/2.251, allocations: 0.5341 MB / 0.7693 GB, free: 3.164 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003341/2.251, allocations: 245.2 kB / 0.7695 GB, free: 2.922 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003251/2.252, allocations: 259.2 kB / 0.7698 GB, free: 2.668 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004218/2.252, allocations: 386.8 kB / 0.7701 GB, free: 2.289 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 6.186e-05/2.252, allocations: 40 kB / 0.7702 GB, free: 2.25 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04263/2.295, allocations: 21.18 MB / 0.7909 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003111/2.295, allocations: 207.3 kB / 0.7911 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003895/2.296, allocations: 326 kB / 0.7914 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02725/2.323, allocations: 10.78 MB / 0.8019 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/2.323, allocations: 0 / 0.8019 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.264e-06/2.323, allocations: 0 / 0.8019 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.815e-05/2.323, allocations: 5.125 kB / 0.8019 GB, free: 1.711 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.005767/2.329, allocations: 2.26 MB / 0.8041 GB, free: 15.4 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/2.329, allocations: 8.031 kB / 0.8041 GB, free: 15.39 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/2.329, allocations: 91.38 kB / 0.8042 GB, free: 15.3 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007332/2.33, allocations: 0.489 MB / 0.8047 GB, free: 14.79 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.827e-05/2.33, allocations: 33 kB / 0.8047 GB, free: 14.76 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.85e-05/2.33, allocations: 38.02 kB / 0.8047 GB, free: 14.72 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000752/2.33, allocations: 495.4 kB / 0.8052 GB, free: 14.2 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/2.33, allocations: 3.938 kB / 0.8052 GB, free: 14.2 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.794e-05/2.33, allocations: 16 kB / 0.8052 GB, free: 14.18 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/2.33, allocations: 8 kB / 0.8052 GB, free: 14.18 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006231/2.331, allocations: 415.2 kB / 0.8056 GB, free: 13.77 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008389/2.339, allocations: 4.359 MB / 0.8099 GB, free: 9.223 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005422/2.34, allocations: 120 kB / 0.81 GB, free: 9.098 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.725e-05/2.34, allocations: 40.84 kB / 0.8101 GB, free: 9.055 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5033/2.843, allocations: 86.44 MB / 0.8945 GB, free: 269.4 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/2.843, allocations: 36.06 kB / 0.8945 GB, free: 269.3 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=11): time 1.713e-06/2.843, allocations: 0 / 0.8945 GB, free: 269.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=11): time 0.002218/2.846, allocations: 397.3 kB / 0.8949 GB, free: 269 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/2.846, allocations: 111.4 kB / 0.895 GB, free: 268.9 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/2.847, allocations: 1.072 MB / 0.896 GB, free: 267.9 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/2.847, allocations: 25.7 kB / 0.8961 GB, free: 267.9 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.00025/2.847, allocations: 388.6 kB / 0.8964 GB, free: 267.6 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/2.847, allocations: 52.62 kB / 0.8965 GB, free: 267.5 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/2.848, allocations: 69.64 kB / 0.8965 GB, free: 267.5 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001162/2.848, allocations: 378.8 kB / 0.8969 GB, free: 267.1 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/2.848, allocations: 130 kB / 0.897 GB, free: 267 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/2.848, allocations: 260.7 kB / 0.8973 GB, free: 266.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003249/2.848, allocations: 320.8 kB / 0.8976 GB, free: 266.3 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/2.848, allocations: 0 / 0.8976 GB, free: 266.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001384/2.85, allocations: 0.5674 MB / 0.8981 GB, free: 265.8 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/2.85, allocations: 8 kB / 0.8981 GB, free: 265.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/2.85, allocations: 4 kB / 0.8981 GB, free: 265.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00156/2.851, allocations: 198.4 kB / 0.8983 GB, free: 265.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/2.851, allocations: 51.27 kB / 0.8984 GB, free: 265.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005072/2.852, allocations: 0.6272 MB / 0.899 GB, free: 264.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003484/2.852, allocations: 48.14 kB / 0.899 GB, free: 264.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/2.852, allocations: 20 kB / 0.8991 GB, free: 264.8 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.0002636/2.853, allocations: 259.6 kB / 0.8993 GB, free: 264.6 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.824e-05/2.853, allocations: 71.53 kB / 0.8994 GB, free: 264.5 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006363/2.853, allocations: 254.7 kB / 0.8996 GB, free: 264.2 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/2.853, allocations: 0 / 0.8996 GB, free: 264.2 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/2.853, allocations: 3.375 kB / 0.8996 GB, free: 264.2 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/2.853, allocations: 7.922 kB / 0.8996 GB, free: 264.2 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00162/2.855, allocations: 0.8104 MB / 0.9004 GB, free: 263.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/2.855, allocations: 3.938 kB / 0.9004 GB, free: 263.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.901e-05/2.855, allocations: 4 kB / 0.9004 GB, free: 263.4 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00102/2.856, allocations: 167.5 kB / 0.9006 GB, free: 263.2 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/2.856, allocations: 4 kB / 0.9006 GB, free: 263.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004006/2.856, allocations: 0.6334 MB / 0.9012 GB, free: 262.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/2.856, allocations: 0 / 0.9012 GB, free: 262.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/2.858, allocations: 398.3 kB / 0.9016 GB, free: 262.1 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/2.858, allocations: 110.7 kB / 0.9017 GB, free: 262 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.074e-05/2.858, allocations: 3.984 kB / 0.9017 GB, free: 262 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/2.858, allocations: 8 kB / 0.9017 GB, free: 262 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.604e-05/2.858, allocations: 7.984 kB / 0.9017 GB, free: 262 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/2.858, allocations: 15.8 kB / 0.9017 GB, free: 262 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006882/2.859, allocations: 0.7835 MB / 0.9025 GB, free: 261.2 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8.1e-08/2.859, allocations: 0 / 0.9025 GB, free: 261.2 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004873/2.864, allocations: 1.662 MB / 0.9041 GB, free: 259.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.005488/2.869, allocations: 2.511 MB / 0.9066 GB, free: 257.8 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005123/2.87, allocations: 230.8 kB / 0.9068 GB, free: 257.6 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/2.87, allocations: 0 / 0.9068 GB, free: 257.6 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/2.87, allocations: 56.3 kB / 0.9068 GB, free: 257.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005345/2.87, allocations: 95.5 kB / 0.9069 GB, free: 257.4 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/2.872, allocations: 1.074 MB / 0.908 GB, free: 256.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/2.872, allocations: 0.9284 MB / 0.9089 GB, free: 255.4 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001455/2.872, allocations: 82.73 kB / 0.909 GB, free: 255.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.878e-05/2.872, allocations: 31.44 kB / 0.909 GB, free: 255.3 MB / 0.6856 GB Notification: Performance of SimCode: time 4.31e-07/2.872, allocations: 0 / 0.909 GB, free: 255.3 MB / 0.6856 GB Notification: Performance of Templates: time 0.05287/2.925, allocations: 51.74 MB / 0.9595 GB, free: 204.2 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: 9.69040491618216] Failed to read output from testmodel.py, exit status != 0: 3.072472659870982 3.081584328 0.756428624 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f27436417b0>