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.4859/0.4859, allocations: 111.6 MB / 131.2 MB, free: 4.559 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 1.894e-06/1.894e-06, allocations: 0 / 176.2 MB, free: 9.156 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.613e-05/1.803e-05, allocations: 2.312 kB / 176.2 MB, free: 9.152 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.013/1.013, allocations: 256.8 MB / 433 MB, free: 224 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02658/1.039, allocations: 33.01 MB / 466.1 MB, free: 15.09 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.557e-05/1.04, allocations: 4 kB / 466.1 MB, free: 15.08 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.000264/1.04, allocations: 103.5 kB / 466.2 MB, free: 14.98 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 9.786e-05/1.04, allocations: 91.27 kB / 466.2 MB, free: 14.89 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 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:525:9-525: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:708:9-708: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:51:3-51: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:51:3-51: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:118:3-118:151: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:118:3-118:151: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. Notification: Performance of NFTyping.typeClassSections: time 0.01422/1.054, allocations: 9.791 MB / 476 MB, free: 5.055 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002579/1.054, allocations: 294.5 kB / 476.3 MB, free: 4.766 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/1.055, allocations: 80.53 kB / 476.4 MB, free: 4.684 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002089/1.055, allocations: 191.3 kB / 476.6 MB, free: 4.496 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.223e-05/1.055, allocations: 67.8 kB / 476.7 MB, free: 4.43 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/1.055, allocations: 20 kB / 476.7 MB, free: 4.41 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1844/1.239, allocations: 16.77 MB / 493.4 MB, free: 8.711 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.302e-05/1.239, allocations: 42.28 kB / 493.5 MB, free: 8.711 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/1.239, allocations: 75.55 kB / 493.6 MB, free: 8.711 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0114/1.251, allocations: 10.71 MB / 0.4924 GB, free: 5.406 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/1.251, allocations: 1 kB / 0.4925 GB, free: 5.406 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.452e-06/1.251, allocations: 0 / 0.4925 GB, free: 5.406 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/1.251, allocations: 2.281 kB / 0.4925 GB, free: 5.406 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.002333/1.253, allocations: 1.46 MB / 0.4939 GB, free: 4.348 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/1.253, allocations: 13.58 kB / 0.4939 GB, free: 4.344 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.658e-05/1.253, allocations: 42.09 kB / 0.4939 GB, free: 4.324 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/1.253, allocations: 160.5 kB / 0.4941 GB, free: 4.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/1.253, allocations: 20.5 kB / 0.4941 GB, free: 4.152 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/1.253, allocations: 17.66 kB / 0.4941 GB, free: 4.148 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002491/1.254, allocations: 230.8 kB / 0.4943 GB, free: 3.969 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/1.254, allocations: 1.75 kB / 0.4943 GB, free: 3.969 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/1.254, allocations: 7.562 kB / 0.4943 GB, free: 3.965 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/1.254, allocations: 14.48 kB / 0.4944 GB, free: 3.957 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/1.254, allocations: 82.95 kB / 0.4944 GB, free: 3.938 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.008511/1.262, allocations: 6.058 MB / 0.5004 GB, free: 1.207 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.61e-05/1.262, allocations: 52.98 kB / 0.5004 GB, free: 1.164 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.125e-05/1.262, allocations: 27.47 kB / 0.5004 GB, free: 1.148 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08119/1.344, allocations: 43.75 MB / 0.5432 GB, free: 6.488 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/1.344, allocations: 37.39 kB / 0.5432 GB, free: 6.441 MB / 474.7 MB Notification: Performance of pre-optimization done (n=22): time 2.535e-06/1.344, allocations: 4.406 kB / 0.5432 GB, free: 6.441 MB / 474.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003392/1.344, allocations: 125.5 kB / 0.5433 GB, free: 6.312 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/1.344, allocations: 51.41 kB / 0.5434 GB, free: 6.25 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/1.344, allocations: 216.1 kB / 0.5436 GB, free: 6.023 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/1.344, allocations: 25.7 kB / 0.5436 GB, free: 5.992 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.764e-05/1.344, allocations: 199.3 kB / 0.5438 GB, free: 5.793 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.682e-05/1.344, allocations: 79.08 kB / 0.5439 GB, free: 5.719 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.384e-05/1.344, allocations: 49.31 kB / 0.5439 GB, free: 5.664 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/1.344, allocations: 0.4962 MB / 0.5444 GB, free: 5.156 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.749e-05/1.345, allocations: 19.98 kB / 0.5444 GB, free: 5.137 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.725e-05/1.345, allocations: 81.88 kB / 0.5445 GB, free: 5.039 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/1.345, allocations: 120.8 kB / 0.5446 GB, free: 4.906 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.345, allocations: 0.625 kB / 0.5446 GB, free: 4.906 MB / 474.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001981/1.345, allocations: 148.4 kB / 0.5448 GB, free: 4.762 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/1.345, allocations: 4 kB / 0.5448 GB, free: 4.758 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/1.345, allocations: 4 kB / 0.5448 GB, free: 4.754 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/1.345, allocations: 0 / 0.5448 GB, free: 4.754 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003747/1.345, allocations: 67.92 kB / 0.5448 GB, free: 4.688 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/1.345, allocations: 7.5 kB / 0.5448 GB, free: 4.684 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.067e-05/1.345, allocations: 28.66 kB / 0.5449 GB, free: 4.656 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/1.345, allocations: 4 kB / 0.5449 GB, free: 4.652 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 (invSingularPressureLoss.C2.b,invSingularPressureLoss.C1.a,sinkQ.C.a,sourcePQ.C.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.051e-05/1.346, allocations: 169.3 kB / 0.545 GB, free: 4.477 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/1.346, allocations: 12.47 kB / 0.545 GB, free: 4.465 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000329/1.346, allocations: 314.1 kB / 0.5453 GB, free: 4.117 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001145/1.346, allocations: 105.7 kB / 0.5454 GB, free: 4.008 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/1.346, allocations: 0.5625 kB / 0.5454 GB, free: 4.008 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/1.346, allocations: 0 / 0.5454 GB, free: 4.008 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005481/1.347, allocations: 0.5456 MB / 0.546 GB, free: 3.426 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/1.347, allocations: 0 / 0.546 GB, free: 3.426 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000256/1.347, allocations: 63.31 kB / 0.546 GB, free: 3.367 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/1.347, allocations: 3.984 kB / 0.546 GB, free: 3.363 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/1.347, allocations: 9.188 kB / 0.546 GB, free: 3.355 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/1.347, allocations: 0 / 0.546 GB, free: 3.355 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/1.347, allocations: 4.031 kB / 0.546 GB, free: 3.352 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/1.347, allocations: 302.9 kB / 0.5463 GB, free: 3.039 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/1.347, allocations: 19.89 kB / 0.5464 GB, free: 3.02 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/1.347, allocations: 7.938 kB / 0.5464 GB, free: 3.012 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.226e-05/1.347, allocations: 4 kB / 0.5464 GB, free: 3.008 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.571e-05/1.347, allocations: 11.97 kB / 0.5464 GB, free: 2.996 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/1.347, allocations: 4 kB / 0.5464 GB, free: 2.992 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003546/1.348, allocations: 187.9 kB / 0.5466 GB, free: 2.809 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/1.348, allocations: 0 / 0.5466 GB, free: 2.809 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002267/1.35, allocations: 1.196 MB / 0.5477 GB, free: 1.609 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.003755/1.354, allocations: 1.907 MB / 0.5496 GB, free: 15.93 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002257/1.354, allocations: 130.8 kB / 0.5497 GB, free: 15.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/1.354, allocations: 4.062 kB / 0.5497 GB, free: 15.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.108e-05/1.354, allocations: 51.52 kB / 0.5498 GB, free: 15.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004768/1.354, allocations: 85.59 kB / 0.5498 GB, free: 15.68 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009173/1.355, allocations: 440.5 kB / 0.5503 GB, free: 15.21 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.879e-05/1.355, allocations: 83.97 kB / 0.5503 GB, free: 15.11 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.368e-05/1.355, allocations: 22.56 kB / 0.5504 GB, free: 15.09 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.851e-05/1.355, allocations: 20.5 kB / 0.5504 GB, free: 15.07 MB / 490.7 MB Notification: Performance of SimCode: time 5.81e-07/1.355, allocations: 0 / 0.5504 GB, free: 15.07 MB / 490.7 MB Notification: Performance of Templates: time 0.04154/1.397, allocations: 41.86 MB / 0.5913 GB, free: 5.461 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 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.7784677860327065]