Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.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.8248/0.8248, allocations: 111.6 MB / 131 MB, free: 5.086 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.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 3.938 kB / 175.7 MB, free: 9.484 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.297e-05, allocations: 6.25 kB / 175.7 MB, free: 9.477 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.TestSingularPressureLoss): time 1.728/1.728, allocations: 254.7 MB / 430.4 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.05116/1.779, allocations: 32.91 MB / 463.3 MB, free: 15.59 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001911/1.779, allocations: 0 / 463.3 MB, free: 15.59 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:19:3-20: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/SingularPressureLoss.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/SingularPressureLoss.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.0003935/1.779, allocations: 99.41 kB / 463.4 MB, free: 15.49 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002382/1.78, allocations: 119.2 kB / 463.5 MB, free: 15.38 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.02621/1.806, allocations: 9.783 MB / 473.3 MB, free: 5.555 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005815/1.806, allocations: 350.2 kB / 473.6 MB, free: 5.211 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002135/1.807, allocations: 92.84 kB / 473.7 MB, free: 5.121 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003757/1.807, allocations: 199.5 kB / 473.9 MB, free: 4.926 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/1.807, allocations: 79.69 kB / 474 MB, free: 4.848 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.751e-05/1.807, allocations: 20 kB / 474 MB, free: 4.828 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0324/1.84, allocations: 16.78 MB / 490.8 MB, free: 4.02 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.982e-05/1.84, allocations: 43.78 kB / 490.8 MB, free: 3.977 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001701/1.84, allocations: 87.83 kB / 490.9 MB, free: 3.891 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2034/2.043, allocations: 10.8 MB / 0.49 GB, free: 19.79 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/2.043, allocations: 0 / 0.49 GB, free: 19.79 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.232e-06/2.043, allocations: 0 / 0.49 GB, free: 19.79 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.348e-06/2.043, allocations: 1 kB / 0.49 GB, free: 19.79 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.005891/2.049, allocations: 1.506 MB / 0.4914 GB, free: 18.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/2.049, allocations: 13.45 kB / 0.4915 GB, free: 18.86 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.627e-05/2.049, allocations: 43.31 kB / 0.4915 GB, free: 18.84 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/2.049, allocations: 171.1 kB / 0.4917 GB, free: 18.7 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/2.049, allocations: 15.41 kB / 0.4917 GB, free: 18.7 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/2.049, allocations: 20.31 kB / 0.4917 GB, free: 18.7 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003471/2.05, allocations: 276.7 kB / 0.492 GB, free: 18.58 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/2.05, allocations: 1.203 kB / 0.492 GB, free: 18.58 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/2.05, allocations: 10.09 kB / 0.492 GB, free: 18.58 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/2.05, allocations: 15.2 kB / 0.492 GB, free: 18.58 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002021/2.05, allocations: 117.5 kB / 0.4921 GB, free: 18.58 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.03607/2.086, allocations: 11.18 MB / 0.503 GB, free: 16.95 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003116/2.086, allocations: 86.61 kB / 0.5031 GB, free: 16.91 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.283e-05/2.087, allocations: 40.5 kB / 0.5031 GB, free: 16.9 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1587/2.245, allocations: 43.74 MB / 0.5458 GB, free: 15.16 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.688e-05/2.245, allocations: 41.38 kB / 0.5459 GB, free: 15.11 MB / 474.7 MB Notification: Performance of pre-optimization done (n=32): time 1.228e-05/2.245, allocations: 4 kB / 0.5459 GB, free: 15.11 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.0008506/2.246, allocations: 251 kB / 0.5461 GB, free: 14.89 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/2.246, allocations: 55.41 kB / 0.5462 GB, free: 14.82 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/2.246, allocations: 252.6 kB / 0.5464 GB, free: 14.59 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/2.247, allocations: 27.77 kB / 0.5464 GB, free: 14.55 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/2.247, allocations: 209.2 kB / 0.5466 GB, free: 14.36 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/2.247, allocations: 109.1 kB / 0.5468 GB, free: 14.27 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/2.247, allocations: 65.31 kB / 0.5468 GB, free: 14.22 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002936/2.247, allocations: 0.5225 MB / 0.5473 GB, free: 13.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/2.247, allocations: 39.94 kB / 0.5474 GB, free: 13.67 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003581/2.248, allocations: 109.1 kB / 0.5475 GB, free: 13.56 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/2.248, allocations: 162.6 kB / 0.5476 GB, free: 13.42 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/2.248, allocations: 0 / 0.5476 GB, free: 13.42 MB / 474.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004366/2.248, allocations: 238.1 kB / 0.5479 GB, free: 13.23 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/2.248, allocations: 8 kB / 0.5479 GB, free: 13.22 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/2.248, allocations: 0 / 0.5479 GB, free: 13.22 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007445/2.249, allocations: 115.6 kB / 0.548 GB, free: 13.11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.046e-05/2.249, allocations: 15.08 kB / 0.548 GB, free: 13.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007825/2.25, allocations: 0.8879 MB / 0.5488 GB, free: 12.22 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/2.25, allocations: 23.78 kB / 0.5489 GB, free: 12.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/2.25, allocations: 4.5 kB / 0.5489 GB, free: 12.19 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 (singularPressureLoss.C2.b,singularPressureLoss.C1.a,PuitsP1.C.a,SourceP1.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): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001782/2.25, allocations: 182.8 kB / 0.5491 GB, free: 12.02 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.04e-05/2.25, allocations: 19.86 kB / 0.5491 GB, free: 12 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009612/2.251, allocations: 0.6724 MB / 0.5497 GB, free: 11.38 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003469/2.252, allocations: 174.2 kB / 0.5499 GB, free: 11.23 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/2.252, allocations: 4.031 kB / 0.5499 GB, free: 11.23 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/2.252, allocations: 0 / 0.5499 GB, free: 11.23 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009071/2.252, allocations: 0.6509 MB / 0.5505 GB, free: 10.67 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/2.252, allocations: 0 / 0.5505 GB, free: 10.67 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-05/2.253, allocations: 12 kB / 0.5505 GB, free: 10.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003194/2.253, allocations: 92.36 kB / 0.5506 GB, free: 10.57 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/2.253, allocations: 1.688 kB / 0.5506 GB, free: 10.57 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007205/2.254, allocations: 0.8811 MB / 0.5515 GB, free: 9.688 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/2.254, allocations: 1.375 kB / 0.5515 GB, free: 9.688 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003896/2.254, allocations: 329.4 kB / 0.5518 GB, free: 9.379 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.06e-05/2.254, allocations: 31.33 kB / 0.5518 GB, free: 9.352 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.317e-05/2.254, allocations: 9.641 kB / 0.5518 GB, free: 9.344 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.401e-05/2.254, allocations: 1.688 kB / 0.5518 GB, free: 9.344 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/2.254, allocations: 10.92 kB / 0.5519 GB, free: 9.336 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/2.254, allocations: 4 kB / 0.5519 GB, free: 9.332 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002651/2.254, allocations: 252.9 kB / 0.5521 GB, free: 9.117 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/2.254, allocations: 0 / 0.5521 GB, free: 9.117 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004569/2.259, allocations: 1.202 MB / 0.5533 GB, free: 7.988 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 10 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007976/2.267, allocations: 1.902 MB / 0.5551 GB, free: 6.371 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005819/2.268, allocations: 194.8 kB / 0.5553 GB, free: 6.207 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/2.268, allocations: 0 / 0.5553 GB, free: 6.207 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004974/2.268, allocations: 92.89 kB / 0.5554 GB, free: 6.129 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007829/2.269, allocations: 118.1 kB / 0.5555 GB, free: 6.031 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009604/2.27, allocations: 474.5 kB / 0.556 GB, free: 5.574 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001879/2.27, allocations: 156.2 kB / 0.5561 GB, free: 5.41 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 8.409e-05/2.27, allocations: 18.66 kB / 0.5561 GB, free: 5.391 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.708e-05/2.27, allocations: 20.5 kB / 0.5562 GB, free: 5.371 MB / 474.7 MB Notification: Performance of SimCode: time 6.62e-07/2.27, allocations: 0 / 0.5562 GB, free: 5.371 MB / 474.7 MB Notification: Performance of Templates: time 0.07194/2.342, allocations: 42.74 MB / 0.5979 GB, free: 10.91 MB / 0.5105 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.341629768023267]