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.7837/0.7837, allocations: 111.6 MB / 131 MB, free: 5.059 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 2.465e-06/2.465e-06, allocations: 3.938 kB / 175.7 MB, free: 9.453 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.571e-05, allocations: 2.312 kB / 175.7 MB, free: 9.449 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.643/1.643, allocations: 254.4 MB / 430.1 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04778/1.691, allocations: 30.53 MB / 460.6 MB, free: 2.109 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/1.691, allocations: 3.938 kB / 460.6 MB, free: 2.105 MB / 410.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.0003865/1.691, allocations: 99.41 kB / 460.7 MB, free: 2.008 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002586/1.691, allocations: 95.31 kB / 460.8 MB, free: 1.914 MB / 410.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.02661/1.718, allocations: 9.763 MB / 470.6 MB, free: 8.117 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005221/1.719, allocations: 302.5 kB / 470.9 MB, free: 7.82 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002018/1.719, allocations: 100.5 kB / 471 MB, free: 7.723 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003417/1.719, allocations: 179.4 kB / 471.1 MB, free: 7.547 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/1.719, allocations: 71.75 kB / 471.2 MB, free: 7.477 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.39e-05/1.719, allocations: 16 kB / 471.2 MB, free: 7.461 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03297/1.752, allocations: 16.78 MB / 488 MB, free: 6.648 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.091e-05/1.752, allocations: 35.84 kB / 488 MB, free: 6.613 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001642/1.752, allocations: 75.78 kB / 488.1 MB, free: 6.539 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2038/1.956, allocations: 10.77 MB / 498.9 MB, free: 22.18 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/1.956, allocations: 0 / 498.9 MB, free: 22.18 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.674e-06/1.956, allocations: 0 / 498.9 MB, free: 22.18 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.449e-05/1.956, allocations: 0.75 kB / 498.9 MB, free: 22.18 MB / 442.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.005925/1.962, allocations: 1.367 MB / 0.4885 GB, free: 21.37 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/1.962, allocations: 12.67 kB / 0.4885 GB, free: 21.36 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.473e-05/1.962, allocations: 41.64 kB / 0.4886 GB, free: 21.35 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/1.962, allocations: 166.8 kB / 0.4887 GB, free: 21.21 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/1.962, allocations: 13.19 kB / 0.4888 GB, free: 21.21 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/1.963, allocations: 20.12 kB / 0.4888 GB, free: 21.21 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003901/1.963, allocations: 262.8 kB / 0.489 GB, free: 21.13 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/1.963, allocations: 0.5312 kB / 0.489 GB, free: 21.13 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/1.963, allocations: 10.06 kB / 0.489 GB, free: 21.13 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/1.963, allocations: 8.672 kB / 0.489 GB, free: 21.13 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002885/1.963, allocations: 152.6 kB / 0.4892 GB, free: 21.13 MB / 442.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.01738/1.981, allocations: 5.795 MB / 0.4948 GB, free: 20.28 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/1.981, allocations: 65.5 kB / 0.4949 GB, free: 20.25 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.106e-05/1.981, allocations: 45.92 kB / 0.495 GB, free: 20.25 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1368/2.118, allocations: 43.63 MB / 0.5376 GB, free: 7.402 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.696e-05/2.118, allocations: 34.56 kB / 0.5376 GB, free: 7.359 MB / 458.7 MB Notification: Performance of pre-optimization done (n=22): time 1.894e-06/2.118, allocations: 0 / 0.5376 GB, free: 7.359 MB / 458.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005688/2.118, allocations: 193.1 kB / 0.5378 GB, free: 7.215 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/2.118, allocations: 52.28 kB / 0.5378 GB, free: 7.152 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/2.119, allocations: 163.9 kB / 0.538 GB, free: 7.004 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/2.119, allocations: 28.98 kB / 0.538 GB, free: 6.973 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/2.119, allocations: 154.1 kB / 0.5382 GB, free: 6.832 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.363e-05/2.119, allocations: 77.27 kB / 0.5382 GB, free: 6.766 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.299e-05/2.119, allocations: 40.12 kB / 0.5383 GB, free: 6.73 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001768/2.119, allocations: 322.2 kB / 0.5386 GB, free: 6.41 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/2.119, allocations: 50.09 kB / 0.5386 GB, free: 6.383 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/2.119, allocations: 97.69 kB / 0.5387 GB, free: 6.297 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002713/2.12, allocations: 158.5 kB / 0.5389 GB, free: 6.18 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/2.12, allocations: 4 kB / 0.5389 GB, free: 6.176 MB / 458.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003797/2.12, allocations: 203.9 kB / 0.5391 GB, free: 6.027 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/2.12, allocations: 4 kB / 0.5391 GB, free: 6.023 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/2.12, allocations: 4 kB / 0.5391 GB, free: 6.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/2.12, allocations: 0 / 0.5391 GB, free: 6.02 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000728/2.121, allocations: 99.88 kB / 0.5392 GB, free: 5.926 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/2.121, allocations: 4 kB / 0.5392 GB, free: 5.922 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/2.121, allocations: 26.69 kB / 0.5392 GB, free: 5.898 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/2.121, allocations: 4 kB / 0.5392 GB, free: 5.895 MB / 458.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 0.0001458/2.121, allocations: 132.5 kB / 0.5393 GB, free: 5.766 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.103e-05/2.121, allocations: 21.81 kB / 0.5393 GB, free: 5.75 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000515/2.122, allocations: 323.8 kB / 0.5397 GB, free: 5.48 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002633/2.122, allocations: 147.8 kB / 0.5398 GB, free: 5.367 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/2.122, allocations: 0 / 0.5398 GB, free: 5.367 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/2.122, allocations: 4 kB / 0.5398 GB, free: 5.363 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008657/2.123, allocations: 0.524 MB / 0.5403 GB, free: 4.902 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/2.123, allocations: 0 / 0.5403 GB, free: 4.902 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006089/2.123, allocations: 91.92 kB / 0.5404 GB, free: 4.812 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/2.123, allocations: 4 kB / 0.5404 GB, free: 4.809 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/2.123, allocations: 11.67 kB / 0.5404 GB, free: 4.801 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/2.123, allocations: 0 / 0.5404 GB, free: 4.801 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/2.123, allocations: 0 / 0.5404 GB, free: 4.801 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004557/2.124, allocations: 294.8 kB / 0.5407 GB, free: 4.539 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.594e-05/2.124, allocations: 19.25 kB / 0.5407 GB, free: 4.523 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/2.124, allocations: 12.39 kB / 0.5407 GB, free: 4.516 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/2.124, allocations: 7.984 kB / 0.5407 GB, free: 4.508 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/2.124, allocations: 13.12 kB / 0.5407 GB, free: 4.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/2.124, allocations: 4 kB / 0.5408 GB, free: 4.496 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001564/2.124, allocations: 150.5 kB / 0.5409 GB, free: 4.371 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/2.124, allocations: 0 / 0.5409 GB, free: 4.371 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004012/2.128, allocations: 1.198 MB / 0.5421 GB, free: 3.25 MB / 458.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.005698/2.134, allocations: 1.899 MB / 0.5439 GB, free: 1.641 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005633/2.135, allocations: 174.4 kB / 0.5441 GB, free: 1.508 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/2.135, allocations: 4.25 kB / 0.5441 GB, free: 1.504 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001501/2.135, allocations: 64.12 kB / 0.5442 GB, free: 1.461 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006358/2.135, allocations: 91.38 kB / 0.5442 GB, free: 1.395 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008533/2.136, allocations: 449.7 kB / 0.5447 GB, free: 0.9688 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/2.136, allocations: 142.5 kB / 0.5448 GB, free: 0.8086 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.645e-05/2.136, allocations: 22.45 kB / 0.5448 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.841e-05/2.136, allocations: 24.48 kB / 0.5448 GB, free: 0.7617 MB / 458.7 MB Notification: Performance of SimCode: time 4.1e-07/2.136, allocations: 0 / 0.5448 GB, free: 0.7617 MB / 458.7 MB Notification: Performance of Templates: time 0.06644/2.203, allocations: 41.17 MB / 0.5851 GB, free: 7.785 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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.111176132108085]