Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.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.5751/0.5751, allocations: 111.6 MB / 131.5 MB, free: 4.906 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.Examples.SimpleExamples.TestInvSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss") translateModel(ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.506e-06/3.506e-06, allocations: 0 / 176.7 MB, free: 8.879 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.978e-05/4.329e-05, allocations: 4.984 kB / 176.7 MB, free: 8.875 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.Examples.SimpleExamples.TestInvSingularPressureLoss): time 1.151/1.151, allocations: 262.7 MB / 439.4 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0291/1.18, allocations: 32.91 MB / 472.3 MB, free: 14.19 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/1.18, allocations: 4 kB / 472.3 MB, free: 14.18 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourcePQ.mo:16:3-17:78:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SinkP.mo:19:3-20:80:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/InvSingularPressureLoss.mo:15:3-16:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/InvSingularPressureLoss.mo:17:3-18:78:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003024/1.18, allocations: 95.45 kB / 472.4 MB, free: 14.09 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001323/1.18, allocations: 91.27 kB / 472.5 MB, free: 14 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01511/1.195, allocations: 8.607 MB / 481.1 MB, free: 5.352 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003269/1.196, allocations: 290.5 kB / 481.4 MB, free: 5.066 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/1.196, allocations: 90.48 kB / 481.5 MB, free: 4.977 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002306/1.196, allocations: 179.5 kB / 481.6 MB, free: 4.801 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.436e-05/1.196, allocations: 67.75 kB / 481.7 MB, free: 4.734 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/1.196, allocations: 19.98 kB / 481.7 MB, free: 4.715 MB / 426.7 MB [/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. Notification: Performance of NFFlatten.collectFunctions: time 0.2019/1.398, allocations: 18.06 MB / 499.8 MB, free: 8.312 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.963e-05/1.398, allocations: 38.48 kB / 499.8 MB, free: 8.312 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 9.017e-05/1.398, allocations: 76.03 kB / 499.9 MB, free: 8.312 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01002/1.408, allocations: 10.7 MB / 0.4986 GB, free: 4.969 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.408, allocations: 0 / 0.4986 GB, free: 4.969 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.473e-06/1.408, allocations: 3.125 kB / 0.4986 GB, free: 4.969 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/1.408, allocations: 0 / 0.4986 GB, free: 4.969 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001801/1.41, allocations: 1.345 MB / 0.4999 GB, free: 4.055 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/1.41, allocations: 13.17 kB / 0.5 GB, free: 4.051 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/1.41, allocations: 34.31 kB / 0.5 GB, free: 4.035 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/1.41, allocations: 138.5 kB / 0.5001 GB, free: 3.898 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/1.41, allocations: 10.97 kB / 0.5001 GB, free: 3.895 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/1.41, allocations: 25.33 kB / 0.5002 GB, free: 3.883 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/1.41, allocations: 215.1 kB / 0.5004 GB, free: 3.734 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/1.41, allocations: 0 / 0.5004 GB, free: 3.734 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/1.41, allocations: 8.75 kB / 0.5004 GB, free: 3.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/1.41, allocations: 10.59 kB / 0.5004 GB, free: 3.727 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.145e-05/1.411, allocations: 59.27 kB / 0.5004 GB, free: 3.715 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006897/1.417, allocations: 4.924 MB / 0.5052 GB, free: 1.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.817e-05/1.417, allocations: 81.67 kB / 0.5053 GB, free: 1.664 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/1.418, allocations: 20.89 kB / 0.5053 GB, free: 1.641 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07018/1.488, allocations: 39.05 MB / 0.5435 GB, free: 10.71 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/1.488, allocations: 30.56 kB / 0.5435 GB, free: 10.67 MB / 474.7 MB Notification: Performance of pre-optimization done (n=22): time 2.054e-06/1.488, allocations: 0 / 0.5435 GB, free: 10.67 MB / 474.7 MB Notification: Performance of matching and sorting (n=22): time 0.00025/1.488, allocations: 96.25 kB / 0.5436 GB, free: 10.57 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/1.488, allocations: 59.34 kB / 0.5437 GB, free: 10.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/1.488, allocations: 159.2 kB / 0.5438 GB, free: 10.35 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/1.488, allocations: 33.64 kB / 0.5438 GB, free: 10.31 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.861e-05/1.488, allocations: 147.9 kB / 0.544 GB, free: 10.17 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.635e-05/1.488, allocations: 74.41 kB / 0.5441 GB, free: 10.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.659e-05/1.488, allocations: 48.72 kB / 0.5441 GB, free: 10.05 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.139e-05/1.488, allocations: 325.8 kB / 0.5444 GB, free: 9.734 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.069e-05/1.488, allocations: 18.39 kB / 0.5444 GB, free: 9.719 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.302e-05/1.488, allocations: 56.16 kB / 0.5445 GB, free: 9.652 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/1.489, allocations: 105.2 kB / 0.5446 GB, free: 9.547 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/1.489, allocations: 0 / 0.5446 GB, free: 9.547 MB / 474.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001467/1.489, allocations: 111.3 kB / 0.5447 GB, free: 9.438 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/1.489, allocations: 7.938 kB / 0.5447 GB, free: 9.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/1.489, allocations: 4 kB / 0.5447 GB, free: 9.426 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/1.489, allocations: 0 / 0.5447 GB, free: 9.426 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000339/1.489, allocations: 51.41 kB / 0.5448 GB, free: 9.379 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/1.489, allocations: 8.672 kB / 0.5448 GB, free: 9.371 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.888e-05/1.489, allocations: 19.84 kB / 0.5448 GB, free: 9.352 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/1.489, allocations: 7.984 kB / 0.5448 GB, free: 9.344 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (sourcePQ.C.b,sinkQ.C.a,invSingularPressureLoss.C1.a,invSingularPressureLoss.C2.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.857e-05/1.489, allocations: 110.4 kB / 0.5449 GB, free: 9.227 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/1.489, allocations: 11.94 kB / 0.5449 GB, free: 9.215 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002683/1.49, allocations: 255.8 kB / 0.5451 GB, free: 8.957 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.423e-05/1.49, allocations: 93.36 kB / 0.5452 GB, free: 8.863 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/1.49, allocations: 0 / 0.5452 GB, free: 8.863 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/1.49, allocations: 0.875 kB / 0.5452 GB, free: 8.863 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004615/1.49, allocations: 428.5 kB / 0.5456 GB, free: 8.449 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/1.49, allocations: 1.031 kB / 0.5456 GB, free: 8.449 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002464/1.49, allocations: 47.94 kB / 0.5457 GB, free: 8.402 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/1.49, allocations: 1.125 kB / 0.5457 GB, free: 8.402 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/1.49, allocations: 11.94 kB / 0.5457 GB, free: 8.391 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/1.49, allocations: 0.625 kB / 0.5457 GB, free: 8.391 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.49, allocations: 7.922 kB / 0.5457 GB, free: 8.383 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/1.491, allocations: 249.5 kB / 0.546 GB, free: 8.125 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.319e-05/1.491, allocations: 19.88 kB / 0.546 GB, free: 8.105 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/1.491, allocations: 7.953 kB / 0.546 GB, free: 8.098 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.219e-05/1.491, allocations: 4 kB / 0.546 GB, free: 8.094 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.15e-05/1.491, allocations: 11.97 kB / 0.546 GB, free: 8.082 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/1.491, allocations: 4.562 kB / 0.546 GB, free: 8.078 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.766e-05/1.491, allocations: 55.91 kB / 0.5461 GB, free: 8.027 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/1.491, allocations: 4 kB / 0.5461 GB, free: 8.023 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002933/1.494, allocations: 1.192 MB / 0.5472 GB, free: 6.828 MB / 474.7 MB 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005046/1.499, allocations: 2.037 MB / 0.5492 GB, free: 5.027 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002609/1.499, allocations: 129.2 kB / 0.5493 GB, free: 4.898 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/1.499, allocations: 0 / 0.5493 GB, free: 4.898 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.662e-05/1.499, allocations: 39.06 kB / 0.5494 GB, free: 4.863 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004454/1.5, allocations: 93.59 kB / 0.5495 GB, free: 4.777 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/1.501, allocations: 446.9 kB / 0.5499 GB, free: 4.32 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.355e-05/1.501, allocations: 83.97 kB / 0.55 GB, free: 4.219 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 8.535e-05/1.501, allocations: 18.08 kB / 0.55 GB, free: 4.203 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/1.501, allocations: 99.34 kB / 0.5501 GB, free: 4.105 MB / 474.7 MB Notification: Performance of SimCode: time 1.292e-06/1.501, allocations: 0 / 0.5501 GB, free: 4.105 MB / 474.7 MB Notification: Performance of Templates: time 0.06564/1.567, allocations: 47.77 MB / 0.5967 GB, free: 4.582 MB / 0.5105 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.00719416514039]