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 4.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/package.mo): time 0.5598/0.5598, allocations: 111.7 MB / 121.6 MB, free: 4.734 MB / 122.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09118/0.651, allocations: 33.98 MB / 155.6 MB, free: 3.648 MB / 154.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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 1.653e-06/1.653e-06, allocations: 0 / 156.9 MB, free: 2.379 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.733e-05/1.899e-05, allocations: 2.312 kB / 156.9 MB, free: 2.375 MB / 154.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.062/1.062, allocations: 233.1 MB / 390.1 MB, free: 2.816 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02961/1.091, allocations: 33.16 MB / 423.2 MB, free: 1.523 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001763/1.092, allocations: 4 kB / 423.2 MB, free: 1.52 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] Notification: Performance of NFTyping.typeComponents: time 0.000269/1.092, allocations: 98.91 kB / 423.3 MB, free: 1.426 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001386/1.092, allocations: 95.25 kB / 423.4 MB, free: 1.332 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01675/1.109, allocations: 8.605 MB / 432 MB, free: 8.691 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000411/1.109, allocations: 286.6 kB / 432.3 MB, free: 8.41 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/1.109, allocations: 82.52 kB / 432.4 MB, free: 8.332 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002631/1.11, allocations: 199.3 kB / 432.6 MB, free: 8.137 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.521e-05/1.11, allocations: 63.81 kB / 432.6 MB, free: 8.074 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/1.11, allocations: 16 kB / 432.6 MB, free: 8.059 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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 4.2.0-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 4.2.0-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 4.2.0-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 4.2.0-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 4.2.0-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 4.2.0-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.02537/1.135, allocations: 18.12 MB / 450.8 MB, free: 5.914 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.326e-05/1.135, allocations: 35.88 kB / 450.8 MB, free: 5.879 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001159/1.135, allocations: 63.88 kB / 450.9 MB, free: 5.816 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01798/1.153, allocations: 8.156 MB / 459 MB, free: 13.64 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-05/1.153, allocations: 3.938 kB / 459 MB, free: 13.64 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.843e-06/1.153, allocations: 0 / 459 MB, free: 13.64 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.538e-05/1.153, allocations: 0 / 459 MB, free: 13.64 MB / 458.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.004282/1.158, allocations: 1.938 MB / 461 MB, free: 11.64 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/1.158, allocations: 12.62 kB / 461 MB, free: 11.63 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/1.158, allocations: 27.97 kB / 461 MB, free: 11.61 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/1.158, allocations: 156.9 kB / 461.2 MB, free: 11.43 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/1.158, allocations: 16.38 kB / 461.2 MB, free: 11.41 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/1.158, allocations: 20 kB / 461.2 MB, free: 11.39 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/1.158, allocations: 213.3 kB / 461.4 MB, free: 11.16 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/1.158, allocations: 0 / 461.4 MB, free: 11.16 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/1.158, allocations: 4 kB / 461.4 MB, free: 11.15 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/1.158, allocations: 15.98 kB / 461.4 MB, free: 11.14 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.29e-05/1.158, allocations: 67.92 kB / 461.5 MB, free: 11.07 MB / 458.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.007499/1.166, allocations: 4.918 MB / 466.4 MB, free: 6.105 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.085e-05/1.166, allocations: 74.48 kB / 466.5 MB, free: 6.023 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.362e-05/1.166, allocations: 24.92 kB / 466.5 MB, free: 5.996 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06372/1.229, allocations: 39.05 MB / 0.4937 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/1.229, allocations: 38.5 kB / 0.4937 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=22): time 2.124e-06/1.229, allocations: 3.938 kB / 0.4938 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22): time 0.0002366/1.23, allocations: 97.61 kB / 0.4938 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/1.23, allocations: 51.41 kB / 0.4939 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/1.23, allocations: 165.5 kB / 0.4941 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/1.23, allocations: 25.7 kB / 0.4941 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.482e-05/1.23, allocations: 152.6 kB / 0.4942 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/1.23, allocations: 67.38 kB / 0.4943 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.424e-05/1.23, allocations: 45.67 kB / 0.4943 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.536e-05/1.23, allocations: 330.7 kB / 0.4946 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.185e-05/1.23, allocations: 18.81 kB / 0.4947 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.152e-05/1.23, allocations: 60.2 kB / 0.4947 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.683e-05/1.23, allocations: 98.02 kB / 0.4948 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.23, allocations: 0 / 0.4948 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001378/1.23, allocations: 116.4 kB / 0.4949 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/1.23, allocations: 8 kB / 0.4949 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/1.23, allocations: 0 / 0.4949 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/1.23, allocations: 0 / 0.4949 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002714/1.231, allocations: 47.94 kB / 0.495 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/1.231, allocations: 4 kB / 0.495 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.718e-05/1.231, allocations: 19.84 kB / 0.495 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/1.231, allocations: 4 kB / 0.495 GB, free: 13.47 MB / 0.4948 GB 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 9.812e-05/1.231, allocations: 133.8 kB / 0.4951 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.892e-05/1.231, allocations: 4 kB / 0.4951 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002302/1.231, allocations: 262 kB / 0.4954 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.151e-05/1.231, allocations: 90.91 kB / 0.4955 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/1.231, allocations: 0 / 0.4955 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/1.231, allocations: 96 / 0.4955 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003877/1.232, allocations: 434.2 kB / 0.4959 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/1.232, allocations: 7.969 kB / 0.4959 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/1.232, allocations: 51.88 kB / 0.4959 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.923e-05/1.232, allocations: 15.89 kB / 0.496 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/1.232, allocations: 7.984 kB / 0.496 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/1.232, allocations: 0 / 0.496 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/1.232, allocations: 0 / 0.496 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.232, allocations: 0 / 0.496 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/1.232, allocations: 251 kB / 0.4962 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/1.232, allocations: 7.953 kB / 0.4962 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.589e-05/1.232, allocations: 4 kB / 0.4962 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.726e-05/1.232, allocations: 15.92 kB / 0.4962 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/1.232, allocations: 7.984 kB / 0.4962 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.497e-05/1.232, allocations: 54.67 kB / 0.4963 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/1.232, allocations: 0 / 0.4963 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00251/1.235, allocations: 1.192 MB / 0.4975 GB, free: 10.86 MB / 0.4948 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 (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.003849/1.238, allocations: 2.058 MB / 0.4995 GB, free: 8.785 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002/1.239, allocations: 110.8 kB / 0.4996 GB, free: 8.668 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/1.239, allocations: 8 kB / 0.4996 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.285e-05/1.239, allocations: 56.75 kB / 0.4996 GB, free: 8.602 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/1.239, allocations: 403.4 kB / 0.5 GB, free: 8.141 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002741/1.242, allocations: 449.2 kB / 0.5004 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.926e-05/1.242, allocations: 83.97 kB / 0.5005 GB, free: 7.566 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.541e-05/1.242, allocations: 17.14 kB / 0.5005 GB, free: 7.551 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/1.242, allocations: 103.3 kB / 0.5006 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of SimCode: time 1.163e-06/1.242, allocations: 0 / 0.5006 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of Templates: time 0.1947/1.437, allocations: 42.48 MB / 0.5421 GB, free: 69.12 MB / 0.4948 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07636/1.513, allocations: 53.74 MB / 0.5946 GB, free: 29.78 MB / 0.4948 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 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.268432850949466]