Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.4948/0.4948, allocations: 111.6 MB / 131.4 MB, free: 4.41 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.Fluid.Examples.SimpleExamples.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 176.5 MB, free: 8.922 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.25e-05/1.404e-05, allocations: 2.312 kB / 176.5 MB, free: 8.918 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.Fluid.Examples.SimpleExamples.TestSingularPressureLoss): time 1.078/1.078, allocations: 257.1 MB / 433.6 MB, free: 15.88 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3471/1.425, allocations: 178.2 MB / 0.5975 GB, free: 3.547 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002376/1.425, allocations: 7.938 kB / 0.5975 GB, free: 3.539 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:39:3-40:78:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SinkP.mo:32:3-33:80:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/SingularPressureLoss.mo:22:3-23:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/SingularPressureLoss.mo:24:3-25:78:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0001175/1.425, allocations: 35.59 kB / 0.5975 GB, free: 3.504 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002735/1.425, allocations: 126.9 kB / 0.5976 GB, free: 3.379 MB / 0.5105 GB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/Fluid/derDensity_derP_derh.mo:56:5-56:88:writable] Warning: T 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.02608/1.452, allocations: 11.59 MB / 0.609 GB, free: 7.758 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004796/1.452, allocations: 386.5 kB / 0.6093 GB, free: 7.379 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002509/1.452, allocations: 161.1 kB / 0.6095 GB, free: 7.219 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002798/1.453, allocations: 243.4 kB / 0.6097 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/1.453, allocations: 111.7 kB / 0.6098 GB, free: 6.871 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.597e-05/1.453, allocations: 32 kB / 0.6098 GB, free: 6.84 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02796/1.481, allocations: 18.65 MB / 0.6281 GB, free: 4.164 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001193/1.481, allocations: 79.69 kB / 0.6281 GB, free: 4.086 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001602/1.481, allocations: 119.8 kB / 0.6282 GB, free: 3.969 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.02344/1.504, allocations: 12.2 MB / 0.6402 GB, free: 7.738 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/1.504, allocations: 4 kB / 0.6402 GB, free: 7.734 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.693e-06/1.504, allocations: 0 / 0.6402 GB, free: 7.734 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.823e-06/1.504, allocations: 3.984 kB / 0.6402 GB, free: 7.73 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.004122/1.509, allocations: 1.859 MB / 0.642 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/1.509, allocations: 11.98 kB / 0.642 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.671e-05/1.509, allocations: 75.66 kB / 0.6421 GB, free: 5.738 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/1.509, allocations: 274.8 kB / 0.6423 GB, free: 5.441 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.806e-05/1.509, allocations: 21 kB / 0.6423 GB, free: 5.422 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/1.509, allocations: 36 kB / 0.6424 GB, free: 5.387 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/1.509, allocations: 290.5 kB / 0.6427 GB, free: 5.066 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/1.509, allocations: 4 kB / 0.6427 GB, free: 5.062 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/1.509, allocations: 12 kB / 0.6427 GB, free: 5.051 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/1.509, allocations: 15.94 kB / 0.6427 GB, free: 5.035 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/1.509, allocations: 103.1 kB / 0.6428 GB, free: 4.938 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004141/1.514, allocations: 3.239 MB / 0.6459 GB, free: 1.648 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.162e-05/1.514, allocations: 43.08 kB / 0.646 GB, free: 1.594 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.967e-05/1.514, allocations: 15.72 kB / 0.646 GB, free: 1.574 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06383/1.578, allocations: 38.51 MB / 0.6836 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/1.578, allocations: 41.89 kB / 0.6837 GB, free: 10.99 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 2.074e-06/1.578, allocations: 0 / 0.6837 GB, free: 10.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0005057/1.578, allocations: 166.9 kB / 0.6838 GB, free: 10.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/1.578, allocations: 55.41 kB / 0.6839 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/1.578, allocations: 334 kB / 0.6842 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.717e-06/1.578, allocations: 25.7 kB / 0.6842 GB, free: 10.37 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/1.578, allocations: 286.6 kB / 0.6845 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.203e-05/1.578, allocations: 19.83 kB / 0.6845 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.889e-05/1.578, allocations: 71.23 kB / 0.6846 GB, free: 9.988 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001073/1.579, allocations: 0.5001 MB / 0.6851 GB, free: 9.477 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.918e-05/1.579, allocations: 15.98 kB / 0.6851 GB, free: 9.461 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.129e-05/1.579, allocations: 159 kB / 0.6852 GB, free: 9.238 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/1.579, allocations: 210.7 kB / 0.6854 GB, free: 8.965 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/1.579, allocations: 7.922 kB / 0.6854 GB, free: 8.957 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000267/1.579, allocations: 254.7 kB / 0.6857 GB, free: 8.699 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/1.579, allocations: 12 kB / 0.6857 GB, free: 8.688 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/1.579, allocations: 7.984 kB / 0.6857 GB, free: 8.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003145/1.579, allocations: 61.38 kB / 0.6858 GB, free: 8.617 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.797e-05/1.58, allocations: 35.92 kB / 0.6858 GB, free: 8.582 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003618/1.58, allocations: 0.8156 MB / 0.6866 GB, free: 7.734 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/1.58, allocations: 27.72 kB / 0.6866 GB, free: 7.707 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/1.58, allocations: 12 kB / 0.6866 GB, free: 7.695 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (singularPressureLoss.C2.diff_on_1,SourceP1.C.diff_on_2,SourceP1.fluid1,PuitsP1.fluid,SourceP1.C.ftype,singularPressureLoss.fluid) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001056/1.58, allocations: 161.8 kB / 0.6868 GB, free: 7.527 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/1.58, allocations: 27.8 kB / 0.6868 GB, free: 7.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002155/1.58, allocations: 143.1 kB / 0.6869 GB, free: 7.344 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/1.58, allocations: 3.938 kB / 0.6869 GB, free: 7.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/1.58, allocations: 1.5 kB / 0.6869 GB, free: 7.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/1.58, allocations: 0 / 0.6869 GB, free: 7.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/1.581, allocations: 173.1 kB / 0.6871 GB, free: 7.145 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/1.581, allocations: 0 / 0.6871 GB, free: 7.145 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.111e-05/1.581, allocations: 0 / 0.6871 GB, free: 7.145 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001872/1.581, allocations: 63.42 kB / 0.6872 GB, free: 7.078 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/1.581, allocations: 4 kB / 0.6872 GB, free: 7.074 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002629/1.581, allocations: 0.8047 MB / 0.688 GB, free: 6.238 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/1.581, allocations: 0 / 0.688 GB, free: 6.238 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/1.581, allocations: 156.1 kB / 0.6881 GB, free: 6.059 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.674e-05/1.581, allocations: 35.78 kB / 0.6881 GB, free: 6.023 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/1.581, allocations: 4.062 kB / 0.6881 GB, free: 6.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.484e-05/1.581, allocations: 8.031 kB / 0.6882 GB, free: 6.012 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/1.581, allocations: 3.984 kB / 0.6882 GB, free: 6.008 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/1.581, allocations: 4 kB / 0.6882 GB, free: 6.004 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002311/1.581, allocations: 207 kB / 0.6884 GB, free: 5.805 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/1.581, allocations: 0 / 0.6884 GB, free: 5.805 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002662/1.584, allocations: 1.461 MB / 0.6898 GB, free: 4.34 MB / 0.6042 GB 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 (2): * Single equations (assignments): 1 * 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.003753/1.588, allocations: 2.501 MB / 0.6922 GB, free: 1.828 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001872/1.588, allocations: 87.45 kB / 0.6923 GB, free: 1.738 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/1.588, allocations: 0 / 0.6923 GB, free: 1.738 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.247e-05/1.588, allocations: 31.66 kB / 0.6923 GB, free: 1.703 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/1.588, allocations: 69.55 kB / 0.6924 GB, free: 1.641 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008145/1.589, allocations: 488.7 kB / 0.6929 GB, free: 1.133 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.14e-05/1.589, allocations: 84.31 kB / 0.693 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.289e-05/1.589, allocations: 29.94 kB / 0.693 GB, free: 1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.767e-05/1.589, allocations: 110.2 kB / 0.6931 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of SimCode: time 8.81e-07/1.589, allocations: 0 / 0.6931 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of Templates: time 0.2808/1.87, allocations: 54.32 MB / 0.7461 GB, free: 91.29 MB / 0.6198 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.6752113020047545]