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.8685/0.8685, allocations: 153.8 MB / 172.7 MB, free: 4.84 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.0005471/0.0005471, allocations: 15.97 kB / 250.3 MB, free: 3.879 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1495, allocations: 33.36 MB / 283.7 MB, free: 2.051 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.844/1.993, allocations: 307.7 MB / 0.5775 GB, free: 17.29 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2046/2.198, allocations: 167.5 MB / 0.7411 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003676/2.198, allocations: 11.94 kB / 0.7411 GB, free: 13.41 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.0004148/2.199, allocations: 208.8 kB / 0.7413 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005509/2.199, allocations: 289.2 kB / 0.7416 GB, free: 12.92 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.03232/2.231, allocations: 12.44 MB / 0.7537 GB, free: 488 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009085/2.232, allocations: 0.5475 MB / 0.7542 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003862/2.233, allocations: 241.1 kB / 0.7545 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004581/2.233, allocations: 271.1 kB / 0.7547 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004631/2.234, allocations: 354.8 kB / 0.7551 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.624e-05/2.234, allocations: 51.94 kB / 0.7551 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03731/2.271, allocations: 19.69 MB / 0.7743 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002945/2.271, allocations: 215.3 kB / 0.7746 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000325/2.272, allocations: 250.5 kB / 0.7748 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0234/2.295, allocations: 10.81 MB / 0.7853 GB, free: 20 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/2.295, allocations: 4 kB / 0.7853 GB, free: 16 kB / 0.6387 GB Notification: Performance of FrontEnd: time 2.114e-06/2.295, allocations: 0 / 0.7853 GB, free: 16 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.349e-05/2.295, allocations: 4 kB / 0.7854 GB, free: 12 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.005322/2.3, allocations: 2.279 MB / 0.7876 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/2.301, allocations: 9.531 kB / 0.7876 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002533/2.301, allocations: 92.44 kB / 0.7877 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008599/2.302, allocations: 0.5246 MB / 0.7882 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.994e-05/2.302, allocations: 33 kB / 0.7882 GB, free: 13 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.934e-05/2.302, allocations: 40 kB / 0.7883 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008085/2.303, allocations: 0.5301 MB / 0.7888 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/2.303, allocations: 0 / 0.7888 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.63e-05/2.303, allocations: 16 kB / 0.7888 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/2.303, allocations: 8 kB / 0.7888 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000653/2.303, allocations: 419.5 kB / 0.7892 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008345/2.312, allocations: 3.682 MB / 0.7928 GB, free: 8.215 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005243/2.312, allocations: 111.3 kB / 0.7929 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.566e-05/2.312, allocations: 36.89 kB / 0.7929 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4754/2.788, allocations: 88.7 MB / 0.8796 GB, free: 277.1 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/2.788, allocations: 45.14 kB / 0.8796 GB, free: 277.1 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=11): time 2.064e-06/2.788, allocations: 0 / 0.8796 GB, free: 277.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=11): time 0.001987/2.79, allocations: 403.3 kB / 0.88 GB, free: 276.8 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/2.79, allocations: 106.8 kB / 0.8801 GB, free: 276.6 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/2.791, allocations: 1.087 MB / 0.8811 GB, free: 275.8 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/2.791, allocations: 28.89 kB / 0.8812 GB, free: 275.8 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/2.791, allocations: 391.1 kB / 0.8815 GB, free: 275.6 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/2.791, allocations: 46.23 kB / 0.8816 GB, free: 275.6 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.437e-05/2.791, allocations: 85.41 kB / 0.8817 GB, free: 275.5 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.461e-05/2.791, allocations: 377 kB / 0.882 GB, free: 275.1 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/2.791, allocations: 125.4 kB / 0.8822 GB, free: 275.1 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/2.791, allocations: 311.3 kB / 0.8824 GB, free: 274.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/2.792, allocations: 319.7 kB / 0.8828 GB, free: 274.4 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/2.792, allocations: 3.75 kB / 0.8828 GB, free: 274.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001174/2.793, allocations: 0.5587 MB / 0.8833 GB, free: 273.9 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/2.793, allocations: 16.03 kB / 0.8833 GB, free: 273.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/2.793, allocations: 4 kB / 0.8833 GB, free: 273.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001417/2.794, allocations: 187.5 kB / 0.8835 GB, free: 273.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/2.794, allocations: 55.84 kB / 0.8836 GB, free: 273.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004247/2.795, allocations: 0.6314 MB / 0.8842 GB, free: 273 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002491/2.795, allocations: 37.59 kB / 0.8842 GB, free: 273 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/2.795, allocations: 16 kB / 0.8842 GB, free: 273 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.0002103/2.795, allocations: 280.2 kB / 0.8845 GB, free: 272.7 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.124e-05/2.795, allocations: 67.53 kB / 0.8846 GB, free: 272.6 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005996/2.796, allocations: 263.5 kB / 0.8848 GB, free: 272.3 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/2.796, allocations: 4.875 kB / 0.8848 GB, free: 272.3 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/2.796, allocations: 0 / 0.8848 GB, free: 272.3 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/2.796, allocations: 0 / 0.8848 GB, free: 272.3 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/2.798, allocations: 0.7283 MB / 0.8855 GB, free: 271.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/2.798, allocations: 0 / 0.8855 GB, free: 271.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.959e-05/2.798, allocations: 8 kB / 0.8855 GB, free: 271.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009796/2.799, allocations: 156.4 kB / 0.8857 GB, free: 271.4 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/2.799, allocations: 12.81 kB / 0.8857 GB, free: 271.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003773/2.799, allocations: 0.6317 MB / 0.8863 GB, free: 270.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/2.799, allocations: 0 / 0.8863 GB, free: 270.7 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/2.8, allocations: 409.9 kB / 0.8867 GB, free: 270.3 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/2.8, allocations: 101.6 kB / 0.8868 GB, free: 270.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.749e-05/2.8, allocations: 16.58 kB / 0.8868 GB, free: 270.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/2.801, allocations: 4 kB / 0.8868 GB, free: 270.2 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/2.801, allocations: 7.984 kB / 0.8868 GB, free: 270.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/2.801, allocations: 11.92 kB / 0.8868 GB, free: 270.2 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006243/2.801, allocations: 0.7763 MB / 0.8876 GB, free: 269.4 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/2.801, allocations: 0 / 0.8876 GB, free: 269.4 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003237/2.804, allocations: 1.675 MB / 0.8892 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.005047/2.809, allocations: 2.516 MB / 0.8917 GB, free: 266 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004868/2.81, allocations: 227.7 kB / 0.8919 GB, free: 265.8 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/2.81, allocations: 2.484 kB / 0.8919 GB, free: 265.8 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001508/2.81, allocations: 59.95 kB / 0.892 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.0005121/2.811, allocations: 84.72 kB / 0.892 GB, free: 265.6 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/2.812, allocations: 1.104 MB / 0.8931 GB, free: 264.5 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/2.812, allocations: 350.6 kB / 0.8935 GB, free: 264.1 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001555/2.812, allocations: 69.23 kB / 0.8935 GB, free: 264.1 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.478e-05/2.812, allocations: 35.38 kB / 0.8936 GB, free: 264 MB / 0.6856 GB Notification: Performance of SimCode: time 4.41e-07/2.812, allocations: 4.766 kB / 0.8936 GB, free: 264 MB / 0.6856 GB Notification: Performance of Templates: time 0.05008/2.862, allocations: 51.83 MB / 0.9442 GB, free: 212.9 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.101733962073922] Failed to read output from testmodel.py, exit status != 0: 2.983037430793047 2.992093238 0.694658932 Calling exit ...