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.5343/0.5343, allocations: 111.6 MB / 131.2 MB, free: 4.566 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.282e-06/1.282e-06, allocations: 0 / 176.2 MB, free: 9.164 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.415e-05/1.543e-05, allocations: 4.562 kB / 176.2 MB, free: 9.16 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.082/1.082, allocations: 257 MB / 433.2 MB, free: 380 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3595/1.442, allocations: 181.6 MB / 0.6004 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000237/1.442, allocations: 7.938 kB / 0.6004 GB, free: 0.9648 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.0001065/1.442, allocations: 39.58 kB / 0.6005 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002682/1.442, allocations: 118.9 kB / 0.6006 GB, free: 0.8086 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.02412/1.466, allocations: 11.6 MB / 0.6119 GB, free: 5.184 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.000425/1.467, allocations: 386.5 kB / 0.6123 GB, free: 4.805 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002184/1.467, allocations: 165.7 kB / 0.6124 GB, free: 4.641 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/1.467, allocations: 235.5 kB / 0.6127 GB, free: 4.41 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/1.467, allocations: 115.6 kB / 0.6128 GB, free: 4.297 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.165e-05/1.467, allocations: 32 kB / 0.6128 GB, free: 4.266 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0257/1.493, allocations: 18.65 MB / 0.631 GB, free: 1.594 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001121/1.493, allocations: 83.73 kB / 0.6311 GB, free: 1.512 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001343/1.493, allocations: 127.7 kB / 0.6312 GB, free: 1.387 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0175/1.511, allocations: 12.2 MB / 0.6431 GB, free: 5.156 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/1.511, allocations: 0 / 0.6431 GB, free: 5.156 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.172e-06/1.511, allocations: 4 kB / 0.6431 GB, free: 5.152 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.641e-06/1.511, allocations: 0 / 0.6431 GB, free: 5.152 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.003635/1.515, allocations: 1.856 MB / 0.6449 GB, free: 3.25 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/1.515, allocations: 15.98 kB / 0.645 GB, free: 3.234 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.42e-05/1.515, allocations: 67.72 kB / 0.645 GB, free: 3.168 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/1.515, allocations: 274.7 kB / 0.6453 GB, free: 2.871 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/1.515, allocations: 25 kB / 0.6453 GB, free: 2.848 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/1.515, allocations: 32 kB / 0.6453 GB, free: 2.816 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003259/1.515, allocations: 315.2 kB / 0.6456 GB, free: 2.473 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/1.515, allocations: 3.938 kB / 0.6456 GB, free: 2.469 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/1.515, allocations: 16 kB / 0.6457 GB, free: 2.453 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/1.515, allocations: 11.94 kB / 0.6457 GB, free: 2.441 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/1.516, allocations: 127.8 kB / 0.6458 GB, free: 2.316 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004037/1.52, allocations: 3.336 MB / 0.649 GB, free: 14.92 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/1.52, allocations: 51.08 kB / 0.6491 GB, free: 14.86 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.933e-05/1.52, allocations: 15.67 kB / 0.6491 GB, free: 14.84 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07461/1.594, allocations: 44.25 MB / 0.6923 GB, free: 2.539 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/1.594, allocations: 34.33 kB / 0.6924 GB, free: 2.496 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.924e-06/1.594, allocations: 0 / 0.6924 GB, free: 2.496 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0004735/1.595, allocations: 138.1 kB / 0.6925 GB, free: 2.352 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/1.595, allocations: 51.41 kB / 0.6925 GB, free: 2.289 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/1.595, allocations: 342.1 kB / 0.6929 GB, free: 1.941 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/1.595, allocations: 25.7 kB / 0.6929 GB, free: 1.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006116/1.596, allocations: 286.7 kB / 0.6932 GB, free: 1.625 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/1.596, allocations: 23.83 kB / 0.6932 GB, free: 1.602 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.376e-05/1.596, allocations: 63.27 kB / 0.6932 GB, free: 1.531 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001115/1.596, allocations: 0.5001 MB / 0.6937 GB, free: 1.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.462e-05/1.596, allocations: 23.98 kB / 0.6938 GB, free: 0.9961 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.847e-05/1.596, allocations: 163.5 kB / 0.6939 GB, free: 0.7695 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/1.596, allocations: 210.7 kB / 0.6941 GB, free: 0.4961 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/1.596, allocations: 3.938 kB / 0.6941 GB, free: 0.4922 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002788/1.597, allocations: 215.6 kB / 0.6943 GB, free: 280 kB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/1.597, allocations: 12 kB / 0.6943 GB, free: 268 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/1.597, allocations: 0 / 0.6943 GB, free: 268 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003988/1.597, allocations: 96.84 kB / 0.6944 GB, free: 168 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-05/1.597, allocations: 31.92 kB / 0.6945 GB, free: 136 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003581/1.597, allocations: 0.8234 MB / 0.6953 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.064e-05/1.597, allocations: 19.83 kB / 0.6953 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/1.597, allocations: 15.98 kB / 0.6953 GB, free: 15.24 MB / 0.6198 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.fluid,SourceP1.C.ftype,PuitsP1.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,singularPressureLoss.C2.diff_on_1) * 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.0001027/1.598, allocations: 168.5 kB / 0.6955 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/1.598, allocations: 27.89 kB / 0.6955 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002126/1.598, allocations: 140.7 kB / 0.6956 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/1.598, allocations: 0 / 0.6956 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/1.598, allocations: 0 / 0.6956 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/1.598, allocations: 0 / 0.6956 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/1.598, allocations: 220.5 kB / 0.6958 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/1.598, allocations: 0 / 0.6958 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.068e-05/1.598, allocations: 0 / 0.6958 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001965/1.598, allocations: 68.11 kB / 0.6959 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/1.598, allocations: 3.938 kB / 0.6959 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002682/1.599, allocations: 0.824 MB / 0.6967 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.599, allocations: 0 / 0.6967 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/1.599, allocations: 144.1 kB / 0.6968 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.966e-05/1.599, allocations: 35.78 kB / 0.6969 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/1.599, allocations: 8.062 kB / 0.6969 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.447e-05/1.599, allocations: 4.031 kB / 0.6969 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/1.599, allocations: 7.984 kB / 0.6969 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/1.599, allocations: 0 / 0.6969 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001161/1.599, allocations: 219 kB / 0.6971 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/1.599, allocations: 0 / 0.6971 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002674/1.602, allocations: 1.461 MB / 0.6985 GB, free: 11.8 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.004461/1.606, allocations: 2.401 MB / 0.7009 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002438/1.606, allocations: 103.4 kB / 0.701 GB, free: 9.293 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.606, allocations: 0.9375 kB / 0.701 GB, free: 9.293 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.103e-05/1.606, allocations: 39.61 kB / 0.701 GB, free: 9.25 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/1.607, allocations: 63.83 kB / 0.7011 GB, free: 9.195 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009618/1.608, allocations: 484.6 kB / 0.7015 GB, free: 8.688 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.693e-05/1.608, allocations: 88.3 kB / 0.7016 GB, free: 8.582 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.972e-05/1.608, allocations: 30.06 kB / 0.7016 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/1.608, allocations: 24.5 kB / 0.7017 GB, free: 8.527 MB / 0.6198 GB Notification: Performance of SimCode: time 8.22e-07/1.608, allocations: 4 kB / 0.7017 GB, free: 8.523 MB / 0.6198 GB Notification: Performance of Templates: time 0.2612/1.869, allocations: 46.31 MB / 0.7469 GB, free: 89.09 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.454557759221643]