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.5015/0.5015, allocations: 111.6 MB / 131.5 MB, free: 4.91 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.983e-06/1.983e-06, allocations: 0 / 176.7 MB, free: 8.863 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.631e-05/2.829e-05, allocations: 5.047 kB / 176.7 MB, free: 8.859 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.128/1.128, allocations: 262.9 MB / 439.6 MB, free: 15.03 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3783/1.506, allocations: 180.9 MB / 0.6059 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/1.506, allocations: 11.88 kB / 0.6059 GB, free: 15.23 MB / 0.5261 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 9.637e-05/1.506, allocations: 35.59 kB / 0.6059 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002582/1.507, allocations: 130.8 kB / 0.6061 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.02112/1.528, allocations: 10.34 MB / 0.6162 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004103/1.528, allocations: 394.5 kB / 0.6165 GB, free: 4.297 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/1.528, allocations: 173.2 kB / 0.6167 GB, free: 4.133 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/1.529, allocations: 231.5 kB / 0.6169 GB, free: 3.906 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/1.529, allocations: 115.6 kB / 0.617 GB, free: 3.793 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.297e-05/1.529, allocations: 32 kB / 0.6171 GB, free: 3.762 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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 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 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 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 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/Fluid/derDensity_derP_derh.mo:56:5-56:88:writable] Warning: 'T' 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.02562/1.554, allocations: 20.02 MB / 0.6366 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001033/1.554, allocations: 87.67 kB / 0.6367 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001268/1.555, allocations: 119.8 kB / 0.6368 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01611/1.571, allocations: 12.21 MB / 0.6487 GB, free: 3.285 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/1.571, allocations: 0 / 0.6487 GB, free: 3.285 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.422e-06/1.571, allocations: 0 / 0.6487 GB, free: 3.285 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.969e-06/1.571, allocations: 0 / 0.6487 GB, free: 3.285 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.003112/1.574, allocations: 1.727 MB / 0.6504 GB, free: 1.523 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/1.574, allocations: 15.98 kB / 0.6504 GB, free: 1.508 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.828e-05/1.574, allocations: 51.95 kB / 0.6505 GB, free: 1.457 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/1.574, allocations: 240 kB / 0.6507 GB, free: 1.195 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/1.574, allocations: 25 kB / 0.6507 GB, free: 1.172 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/1.574, allocations: 32 kB / 0.6508 GB, free: 1.141 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/1.574, allocations: 277.6 kB / 0.651 GB, free: 0.8359 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/1.574, allocations: 7.938 kB / 0.651 GB, free: 0.8281 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/1.574, allocations: 12 kB / 0.6511 GB, free: 0.8164 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/1.574, allocations: 19.88 kB / 0.6511 GB, free: 0.7969 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/1.575, allocations: 99.78 kB / 0.6512 GB, free: 0.7031 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004311/1.579, allocations: 3.354 MB / 0.6544 GB, free: 13.31 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 6.634e-05/1.579, allocations: 34.59 kB / 0.6545 GB, free: 13.27 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.798e-05/1.579, allocations: 13.61 kB / 0.6545 GB, free: 13.25 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08339/1.662, allocations: 40.02 MB / 0.6936 GB, free: 5.191 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.072e-05/1.662, allocations: 34.5 kB / 0.6936 GB, free: 5.148 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 3.867e-06/1.662, allocations: 3.938 kB / 0.6936 GB, free: 5.145 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0005673/1.663, allocations: 99.67 kB / 0.6937 GB, free: 5.039 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/1.663, allocations: 55.41 kB / 0.6938 GB, free: 4.973 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/1.663, allocations: 270.8 kB / 0.694 GB, free: 4.695 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/1.663, allocations: 29.7 kB / 0.694 GB, free: 4.66 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/1.663, allocations: 227.9 kB / 0.6943 GB, free: 4.434 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/1.663, allocations: 31.77 kB / 0.6943 GB, free: 4.402 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-05/1.664, allocations: 61.58 kB / 0.6943 GB, free: 4.336 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001041/1.664, allocations: 330.8 kB / 0.6947 GB, free: 4.004 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.509e-05/1.664, allocations: 12 kB / 0.6947 GB, free: 3.992 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.803e-05/1.664, allocations: 117.7 kB / 0.6948 GB, free: 3.828 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/1.664, allocations: 157.5 kB / 0.6949 GB, free: 3.625 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/1.664, allocations: 0 / 0.6949 GB, free: 3.625 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003489/1.664, allocations: 171.6 kB / 0.6951 GB, free: 3.449 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/1.664, allocations: 8 kB / 0.6951 GB, free: 3.441 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/1.664, allocations: 5.719 kB / 0.6951 GB, free: 3.438 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004702/1.665, allocations: 64.64 kB / 0.6952 GB, free: 3.371 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/1.665, allocations: 39.91 kB / 0.6952 GB, free: 3.332 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003352/1.665, allocations: 0.5405 MB / 0.6957 GB, free: 2.766 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/1.665, allocations: 23.84 kB / 0.6958 GB, free: 2.742 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/1.665, allocations: 8 kB / 0.6958 GB, free: 2.734 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.0001269/1.666, allocations: 133.8 kB / 0.6959 GB, free: 2.594 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/1.666, allocations: 11.98 kB / 0.6959 GB, free: 2.582 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002484/1.666, allocations: 117.8 kB / 0.696 GB, free: 2.457 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/1.666, allocations: 0 / 0.696 GB, free: 2.457 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/1.666, allocations: 3.938 kB / 0.696 GB, free: 2.453 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/1.666, allocations: 0 / 0.696 GB, free: 2.453 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/1.666, allocations: 129.8 kB / 0.6962 GB, free: 2.309 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/1.666, allocations: 3.984 kB / 0.6962 GB, free: 2.305 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.483e-05/1.666, allocations: 4.688 kB / 0.6962 GB, free: 2.301 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000247/1.666, allocations: 42.02 kB / 0.6962 GB, free: 2.258 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/1.666, allocations: 0 / 0.6962 GB, free: 2.258 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003085/1.667, allocations: 0.5483 MB / 0.6967 GB, free: 1.684 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/1.667, allocations: 0 / 0.6967 GB, free: 1.684 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/1.667, allocations: 106.5 kB / 0.6968 GB, free: 1.559 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.401e-05/1.667, allocations: 35.72 kB / 0.6969 GB, free: 1.523 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/1.667, allocations: 4 kB / 0.6969 GB, free: 1.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.739e-05/1.667, allocations: 0 / 0.6969 GB, free: 1.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.602e-05/1.667, allocations: 7.938 kB / 0.6969 GB, free: 1.512 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.81e-06/1.667, allocations: 384 / 0.6969 GB, free: 1.512 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001026/1.667, allocations: 92.67 kB / 0.697 GB, free: 1.422 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/1.667, allocations: 0 / 0.697 GB, free: 1.422 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.004202/1.671, allocations: 1.465 MB / 0.6984 GB, free: 15.95 MB / 0.6198 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.008713/1.68, allocations: 2.559 MB / 0.7009 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003499/1.68, allocations: 81.44 kB / 0.701 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.741e-05/1.68, allocations: 4 kB / 0.701 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.683e-05/1.68, allocations: 28.78 kB / 0.701 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/1.681, allocations: 56.28 kB / 0.7011 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/1.682, allocations: 488.8 kB / 0.7015 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.604e-05/1.682, allocations: 88.3 kB / 0.7016 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001217/1.682, allocations: 30.08 kB / 0.7016 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/1.682, allocations: 95.33 kB / 0.7017 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of SimCode: time 1.884e-06/1.682, allocations: 3.938 kB / 0.7017 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of Templates: time 0.3048/1.987, allocations: 53.55 MB / 0.754 GB, free: 86.38 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.632341601420194]