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.5409/0.5409, allocations: 111.6 MB / 131.5 MB, free: 4.906 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.824e-06/1.824e-06, allocations: 0 / 176.6 MB, free: 8.91 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.8e-05/1.983e-05, allocations: 12.38 kB / 176.6 MB, free: 8.902 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.053/1.053, allocations: 262.8 MB / 439.5 MB, free: 15.1 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3446/1.398, allocations: 180.9 MB / 0.6058 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001731/1.398, allocations: 11.94 kB / 0.6058 GB, free: 15.29 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.252e-05/1.398, allocations: 39.59 kB / 0.6059 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002408/1.398, allocations: 122.8 kB / 0.606 GB, free: 15.12 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 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.01972/1.418, allocations: 11.69 MB / 0.6174 GB, free: 3.406 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003222/1.418, allocations: 386.5 kB / 0.6178 GB, free: 3.027 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/1.419, allocations: 175.7 kB / 0.6179 GB, free: 2.855 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/1.419, allocations: 239.4 kB / 0.6182 GB, free: 2.621 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/1.419, allocations: 111.7 kB / 0.6183 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.967e-05/1.419, allocations: 32 kB / 0.6183 GB, free: 2.48 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02052/1.439, allocations: 18.64 MB / 0.6365 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.098e-05/1.44, allocations: 87.67 kB / 0.6366 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 9.868e-05/1.44, allocations: 123.7 kB / 0.6367 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01174/1.451, allocations: 12.19 MB / 0.6486 GB, free: 3.387 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/1.451, allocations: 0 / 0.6486 GB, free: 3.387 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.102e-06/1.451, allocations: 4 kB / 0.6486 GB, free: 3.383 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.098e-06/1.451, allocations: 0 / 0.6486 GB, free: 3.383 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.002304/1.454, allocations: 1.727 MB / 0.6503 GB, free: 1.621 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/1.454, allocations: 15.92 kB / 0.6503 GB, free: 1.605 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.798e-05/1.454, allocations: 60.89 kB / 0.6504 GB, free: 1.547 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/1.454, allocations: 232 kB / 0.6506 GB, free: 1.293 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/1.454, allocations: 28.94 kB / 0.6506 GB, free: 1.266 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/1.454, allocations: 32 kB / 0.6507 GB, free: 1.234 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002486/1.454, allocations: 285.5 kB / 0.6509 GB, free: 0.9219 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/1.454, allocations: 4 kB / 0.6509 GB, free: 0.918 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/1.454, allocations: 16 kB / 0.651 GB, free: 0.9023 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/1.454, allocations: 11.94 kB / 0.651 GB, free: 0.8906 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/1.454, allocations: 91.11 kB / 0.651 GB, free: 0.8047 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003929/1.458, allocations: 3.358 MB / 0.6543 GB, free: 13.41 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.387e-05/1.458, allocations: 38.55 kB / 0.6544 GB, free: 13.36 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.686e-05/1.458, allocations: 8.859 kB / 0.6544 GB, free: 13.35 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06491/1.523, allocations: 40.02 MB / 0.6935 GB, free: 5.293 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/1.523, allocations: 42.42 kB / 0.6935 GB, free: 5.242 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 2.033e-06/1.523, allocations: 0 / 0.6935 GB, free: 5.242 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0003767/1.524, allocations: 99.55 kB / 0.6936 GB, free: 5.137 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.207e-05/1.524, allocations: 55.41 kB / 0.6936 GB, free: 5.07 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/1.524, allocations: 278.7 kB / 0.6939 GB, free: 4.785 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/1.524, allocations: 29.64 kB / 0.6939 GB, free: 4.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.751e-05/1.524, allocations: 224 kB / 0.6941 GB, free: 4.527 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.135e-05/1.524, allocations: 23.83 kB / 0.6942 GB, free: 4.504 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.117e-05/1.524, allocations: 61.58 kB / 0.6942 GB, free: 4.438 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.844e-05/1.524, allocations: 326.8 kB / 0.6945 GB, free: 4.109 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.32e-05/1.524, allocations: 15.98 kB / 0.6946 GB, free: 4.094 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.903e-05/1.524, allocations: 114.3 kB / 0.6947 GB, free: 3.934 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/1.524, allocations: 157.5 kB / 0.6948 GB, free: 3.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.524, allocations: 0 / 0.6948 GB, free: 3.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000186/1.525, allocations: 180.5 kB / 0.695 GB, free: 3.547 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/1.525, allocations: 4 kB / 0.695 GB, free: 3.543 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/1.525, allocations: 4 kB / 0.695 GB, free: 3.539 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003026/1.525, allocations: 72.58 kB / 0.6951 GB, free: 3.465 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.804e-05/1.525, allocations: 37.23 kB / 0.6951 GB, free: 3.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002219/1.525, allocations: 0.5407 MB / 0.6956 GB, free: 2.863 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.643e-05/1.525, allocations: 23.84 kB / 0.6957 GB, free: 2.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/1.525, allocations: 8 kB / 0.6957 GB, free: 2.832 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 8.574e-05/1.525, allocations: 128.5 kB / 0.6958 GB, free: 2.695 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/1.525, allocations: 15.98 kB / 0.6958 GB, free: 2.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/1.526, allocations: 109.7 kB / 0.6959 GB, free: 2.562 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/1.526, allocations: 4 kB / 0.6959 GB, free: 2.559 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/1.526, allocations: 3.938 kB / 0.6959 GB, free: 2.555 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/1.526, allocations: 5.422 kB / 0.6959 GB, free: 2.551 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/1.526, allocations: 125.8 kB / 0.696 GB, free: 2.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.526, allocations: 4 kB / 0.696 GB, free: 2.406 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.654e-06/1.526, allocations: 0 / 0.696 GB, free: 2.406 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001459/1.526, allocations: 44.81 kB / 0.6961 GB, free: 2.359 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/1.526, allocations: 4 kB / 0.6961 GB, free: 2.355 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001811/1.526, allocations: 0.5452 MB / 0.6966 GB, free: 1.785 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/1.526, allocations: 0 / 0.6966 GB, free: 1.785 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/1.526, allocations: 106.2 kB / 0.6967 GB, free: 1.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.482e-05/1.526, allocations: 39.75 kB / 0.6968 GB, free: 1.621 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/1.526, allocations: 4.062 kB / 0.6968 GB, free: 1.617 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.516e-05/1.526, allocations: 7.938 kB / 0.6968 GB, free: 1.609 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.259e-05/1.526, allocations: 7.984 kB / 0.6968 GB, free: 1.602 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/1.526, allocations: 0 / 0.6968 GB, free: 1.602 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.176e-05/1.526, allocations: 88.64 kB / 0.6969 GB, free: 1.516 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/1.526, allocations: 0 / 0.6969 GB, free: 1.516 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002353/1.529, allocations: 1.457 MB / 0.6983 GB, free: 56 kB / 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.003755/1.532, allocations: 2.566 MB / 0.7008 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001515/1.533, allocations: 76.62 kB / 0.7009 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/1.533, allocations: 4 kB / 0.7009 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.347e-05/1.533, allocations: 20.84 kB / 0.7009 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/1.533, allocations: 66.05 kB / 0.7009 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007577/1.534, allocations: 488.6 kB / 0.7014 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.198e-05/1.534, allocations: 92.3 kB / 0.7015 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.496e-05/1.534, allocations: 30.08 kB / 0.7015 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.253e-05/1.534, allocations: 91.33 kB / 0.7016 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of SimCode: time 1.002e-06/1.534, allocations: 0 / 0.7016 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of Templates: time 0.2649/1.799, allocations: 53.55 MB / 0.7539 GB, free: 86.54 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.7065917369909585]