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.5793/0.5793, allocations: 111.6 MB / 131.5 MB, free: 4.91 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/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 1.643e-06/1.643e-06, allocations: 0 / 176.7 MB, free: 8.863 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.515e-05/1.679e-05, allocations: 5.047 kB / 176.7 MB, free: 8.859 MB / 170.7 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.125/1.125, allocations: 263.1 MB / 439.8 MB, free: 14.84 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3545/1.479, allocations: 183.8 MB / 0.609 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002868/1.479, allocations: 15.88 kB / 0.609 GB, free: 12.02 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:39:3-40:78: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:32:3-33:80: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:42:3-43:80: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:44:3-45:80: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.0003047/1.48, allocations: 207.1 kB / 0.6092 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003575/1.48, allocations: 282.5 kB / 0.6095 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.02335/1.503, allocations: 11.28 MB / 0.6205 GB, free: 220 kB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0006429/1.504, allocations: 0.565 MB / 0.621 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002724/1.504, allocations: 251.4 kB / 0.6213 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003608/1.505, allocations: 371.1 kB / 0.6216 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002523/1.505, allocations: 287.4 kB / 0.6219 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 3.962e-05/1.505, allocations: 40 kB / 0.6219 GB, free: 14.71 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:525:9-525:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:708:9-708:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: 'dh1satp' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: 'dh2satp' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: 'du1satp_der' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: 'du2satp_der' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/Fluid/derDensity_derP_derh.mo:56:5-56:88:writable] Warning: 'T' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. Notification: Performance of NFFlatten.collectFunctions: time 0.0299/1.535, allocations: 21.15 MB / 0.6426 GB, free: 9.535 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002363/1.535, allocations: 227.3 kB / 0.6428 GB, free: 9.312 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002242/1.535, allocations: 203.4 kB / 0.643 GB, free: 9.113 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.023/1.558, allocations: 13.13 MB / 0.6558 GB, free: 11.95 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/1.558, allocations: 0 / 0.6558 GB, free: 11.95 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.573e-06/1.558, allocations: 3.938 kB / 0.6558 GB, free: 11.95 MB / 0.573 GB Notification: Performance of Transformations before backend: time 7.845e-06/1.558, allocations: 3.938 kB / 0.6558 GB, free: 11.94 MB / 0.573 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.004478/1.563, allocations: 2.23 MB / 0.658 GB, free: 9.672 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/1.563, allocations: 19.98 kB / 0.658 GB, free: 9.652 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001858/1.563, allocations: 87.91 kB / 0.6581 GB, free: 9.566 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004037/1.564, allocations: 393.5 kB / 0.6585 GB, free: 9.152 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/1.564, allocations: 32.94 kB / 0.6585 GB, free: 9.121 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.256e-05/1.564, allocations: 44 kB / 0.6586 GB, free: 9.078 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003768/1.564, allocations: 402.2 kB / 0.6589 GB, free: 8.629 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/1.564, allocations: 0 / 0.6589 GB, free: 8.629 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/1.564, allocations: 20 kB / 0.659 GB, free: 8.609 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/1.564, allocations: 12.67 kB / 0.659 GB, free: 8.598 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/1.564, allocations: 121.9 kB / 0.6591 GB, free: 8.48 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005325/1.569, allocations: 3.638 MB / 0.6626 GB, free: 4.801 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002569/1.57, allocations: 70.53 kB / 0.6627 GB, free: 4.723 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.099e-05/1.57, allocations: 24.83 kB / 0.6627 GB, free: 4.695 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3664/1.936, allocations: 80.12 MB / 0.741 GB, free: 89.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/1.936, allocations: 36.7 kB / 0.741 GB, free: 89.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.094e-06/1.936, allocations: 0 / 0.741 GB, free: 89.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0009766/1.937, allocations: 288.6 kB / 0.7413 GB, free: 89.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/1.937, allocations: 108.9 kB / 0.7414 GB, free: 89.28 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004954/1.938, allocations: 0.6949 MB / 0.7421 GB, free: 89.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/1.938, allocations: 28.64 kB / 0.7421 GB, free: 89.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/1.938, allocations: 303.1 kB / 0.7424 GB, free: 89.03 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/1.938, allocations: 46.88 kB / 0.7424 GB, free: 89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.019e-05/1.938, allocations: 81.03 kB / 0.7425 GB, free: 88.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.174e-05/1.938, allocations: 383.6 kB / 0.7429 GB, free: 88.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.347e-05/1.938, allocations: 26.67 kB / 0.7429 GB, free: 88.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.558e-05/1.938, allocations: 206.9 kB / 0.7431 GB, free: 88.44 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/1.938, allocations: 207 kB / 0.7433 GB, free: 88.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.938, allocations: 0 / 0.7433 GB, free: 88.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005079/1.939, allocations: 297.2 kB / 0.7436 GB, free: 88.24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/1.939, allocations: 7.219 kB / 0.7436 GB, free: 88.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/1.939, allocations: 5.594 kB / 0.7436 GB, free: 88.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000612/1.939, allocations: 136.8 kB / 0.7437 GB, free: 88.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.37e-05/1.939, allocations: 52.45 kB / 0.7438 GB, free: 88.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002693/1.94, allocations: 0.5722 MB / 0.7443 GB, free: 87.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/1.94, allocations: 34.36 kB / 0.7444 GB, free: 87.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/1.94, allocations: 16.94 kB / 0.7444 GB, free: 87.7 MB / 0.6198 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 (Bend.C2.diff_on_1,SourceP1.C.diff_on_2,SourceP1.fluid1,Bend.fluid,SinkP1.fluid,SourceP1.C.ftype) * 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.0001039/1.94, allocations: 134.2 kB / 0.7445 GB, free: 87.58 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.741e-05/1.94, allocations: 44.17 kB / 0.7445 GB, free: 87.58 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003091/1.94, allocations: 195.6 kB / 0.7447 GB, free: 87.51 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/1.94, allocations: 2.25 kB / 0.7447 GB, free: 87.51 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/1.94, allocations: 0 / 0.7447 GB, free: 87.51 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/1.94, allocations: 3.078 kB / 0.7447 GB, free: 87.51 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007245/1.941, allocations: 0.5055 MB / 0.7452 GB, free: 87.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/1.941, allocations: 3.094 kB / 0.7452 GB, free: 87.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.345e-05/1.941, allocations: 1.938 kB / 0.7452 GB, free: 87.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004241/1.942, allocations: 125.1 kB / 0.7454 GB, free: 87.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/1.942, allocations: 5.812 kB / 0.7454 GB, free: 87.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002026/1.942, allocations: 0.5714 MB / 0.7459 GB, free: 86.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.942, allocations: 8.562 kB / 0.7459 GB, free: 86.78 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004638/1.942, allocations: 318.9 kB / 0.7462 GB, free: 86.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.735e-05/1.942, allocations: 87.67 kB / 0.7463 GB, free: 86.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/1.942, allocations: 2.844 kB / 0.7463 GB, free: 86.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.476e-05/1.942, allocations: 9.188 kB / 0.7463 GB, free: 86.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/1.942, allocations: 10.84 kB / 0.7463 GB, free: 86.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/1.942, allocations: 4 kB / 0.7463 GB, free: 86.58 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002423/1.943, allocations: 353 kB / 0.7467 GB, free: 86.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.1e-08/1.943, allocations: 0 / 0.7467 GB, free: 86.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002952/1.946, allocations: 1.674 MB / 0.7483 GB, free: 86.54 MB / 0.6198 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.005039/1.951, allocations: 2.884 MB / 0.7511 GB, free: 86.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003643/1.951, allocations: 124.4 kB / 0.7512 GB, free: 86.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.97e-05/1.951, allocations: 10.94 kB / 0.7513 GB, free: 86.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.65e-05/1.951, allocations: 37.83 kB / 0.7513 GB, free: 86.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/1.951, allocations: 92.66 kB / 0.7514 GB, free: 86.17 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/1.953, allocations: 0.9962 MB / 0.7524 GB, free: 85.63 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.407e-05/1.953, allocations: 161.5 kB / 0.7525 GB, free: 85.56 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001086/1.953, allocations: 62.41 kB / 0.7526 GB, free: 85.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/1.953, allocations: 122.9 kB / 0.7527 GB, free: 85.49 MB / 0.6198 GB Notification: Performance of SimCode: time 2.054e-06/1.953, allocations: 0 / 0.7527 GB, free: 85.49 MB / 0.6198 GB Notification: Performance of Templates: time 0.04746/2.001, allocations: 60.37 MB / 0.8116 GB, free: 35.51 MB / 0.6198 GB " [Timeout remaining time 658] 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.943040533922613]