Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.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.518/0.518, allocations: 111.6 MB / 131.5 MB, free: 4.391 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.TestInvSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 176.7 MB, free: 8.824 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.291e-05/1.448e-05, allocations: 2.312 kB / 176.7 MB, free: 8.82 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.TestInvSingularPressureLoss): time 1.09/1.09, allocations: 262.9 MB / 439.6 MB, free: 14.56 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3579/1.448, allocations: 180.9 MB / 0.606 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001839/1.448, allocations: 11.94 kB / 0.606 GB, free: 14.89 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourcePQ.mo:44:3-45: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/InvSingularPressureLoss.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/InvSingularPressureLoss.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.891e-05/1.448, allocations: 43.52 kB / 0.606 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002617/1.448, allocations: 126.8 kB / 0.6061 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0186/1.467, allocations: 10.34 MB / 0.6162 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003767/1.467, allocations: 406.5 kB / 0.6166 GB, free: 3.941 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/1.467, allocations: 180.4 kB / 0.6168 GB, free: 3.77 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002699/1.468, allocations: 255.3 kB / 0.617 GB, free: 3.52 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/1.468, allocations: 111.7 kB / 0.6171 GB, free: 3.41 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.116e-05/1.468, allocations: 32 kB / 0.6172 GB, free: 3.379 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.0244/1.492, allocations: 20.03 MB / 0.6367 GB, free: 15.33 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.124e-05/1.492, allocations: 87.67 kB / 0.6368 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001052/1.492, allocations: 127.7 kB / 0.6369 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01422/1.507, allocations: 12.2 MB / 0.6489 GB, free: 2.887 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/1.507, allocations: 0 / 0.6489 GB, free: 2.887 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.262e-06/1.507, allocations: 0 / 0.6489 GB, free: 2.887 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.15e-06/1.507, allocations: 0 / 0.6489 GB, free: 2.887 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.002876/1.51, allocations: 1.746 MB / 0.6506 GB, free: 1.105 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/1.51, allocations: 15.98 kB / 0.6506 GB, free: 1.09 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.37e-05/1.51, allocations: 59.95 kB / 0.6506 GB, free: 1.031 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/1.51, allocations: 236 kB / 0.6509 GB, free: 0.7734 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/1.51, allocations: 25 kB / 0.6509 GB, free: 0.75 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/1.51, allocations: 36 kB / 0.6509 GB, free: 0.7148 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/1.51, allocations: 297.5 kB / 0.6512 GB, free: 400 kB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/1.51, allocations: 0 / 0.6512 GB, free: 400 kB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/1.51, allocations: 16.61 kB / 0.6512 GB, free: 384 kB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/1.51, allocations: 8 kB / 0.6512 GB, free: 376 kB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/1.51, allocations: 103 kB / 0.6513 GB, free: 276 kB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03198/1.542, allocations: 19.61 MB / 0.6705 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.032e-05/1.542, allocations: 35.81 kB / 0.6705 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.707e-05/1.543, allocations: 8.859 kB / 0.6705 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.324/1.866, allocations: 60.8 MB / 0.7299 GB, free: 94.58 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/1.867, allocations: 33.61 kB / 0.7299 GB, free: 94.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.943e-06/1.867, allocations: 0 / 0.7299 GB, free: 94.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0002124/1.867, allocations: 59.94 kB / 0.73 GB, free: 94.51 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.003e-05/1.867, allocations: 57.97 kB / 0.73 GB, free: 94.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/1.867, allocations: 273.4 kB / 0.7303 GB, free: 94.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.244e-06/1.867, allocations: 28.64 kB / 0.7303 GB, free: 94.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.282e-05/1.867, allocations: 227.7 kB / 0.7305 GB, free: 94.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.335e-05/1.867, allocations: 24.59 kB / 0.7306 GB, free: 94.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.807e-05/1.867, allocations: 67.7 kB / 0.7306 GB, free: 94.17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.644e-05/1.867, allocations: 329.6 kB / 0.7309 GB, free: 93.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.074e-05/1.867, allocations: 14.78 kB / 0.731 GB, free: 93.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.399e-05/1.867, allocations: 121.3 kB / 0.7311 GB, free: 93.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/1.867, allocations: 156.9 kB / 0.7312 GB, free: 93.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.867, allocations: 0 / 0.7312 GB, free: 93.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001476/1.867, allocations: 157.9 kB / 0.7314 GB, free: 93.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/1.868, allocations: 5.438 kB / 0.7314 GB, free: 93.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/1.868, allocations: 3.5 kB / 0.7314 GB, free: 93.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/1.868, allocations: 5.219 kB / 0.7314 GB, free: 93.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/1.868, allocations: 73.16 kB / 0.7315 GB, free: 93.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/1.868, allocations: 12.64 kB / 0.7315 GB, free: 93.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.085e-05/1.868, allocations: 28.06 kB / 0.7315 GB, free: 93.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/1.868, allocations: 5.5 kB / 0.7315 GB, free: 93.55 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 (invSingularPressureLoss.C2.diff_on_1,sourcePQ.C.diff_on_2,sourcePQ.fluid1,invSingularPressureLoss.fluid,sinkQ.fluid,sourcePQ.C.ftype) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.644e-05/1.868, allocations: 126.7 kB / 0.7316 GB, free: 93.44 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/1.868, allocations: 23.11 kB / 0.7316 GB, free: 93.44 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/1.868, allocations: 82.69 kB / 0.7317 GB, free: 93.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/1.868, allocations: 4.734 kB / 0.7317 GB, free: 93.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/1.868, allocations: 0 / 0.7317 GB, free: 93.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/1.868, allocations: 0 / 0.7317 GB, free: 93.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09126/1.959, allocations: 58.79 MB / 0.7891 GB, free: 61.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/1.959, allocations: 8.031 kB / 0.7891 GB, free: 61.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.708e-05/1.959, allocations: 7.984 kB / 0.7891 GB, free: 61.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/1.959, allocations: 4 kB / 0.7892 GB, free: 61.53 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/1.959, allocations: 1.203 kB / 0.7892 GB, free: 61.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/1.959, allocations: 7.375 kB / 0.7892 GB, free: 61.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/1.959, allocations: 0.875 kB / 0.7892 GB, free: 61.53 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.198e-05/1.96, allocations: 103.9 kB / 0.7893 GB, free: 61.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.943e-05/1.96, allocations: 33.72 kB / 0.7893 GB, free: 61.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/1.96, allocations: 7.625 kB / 0.7893 GB, free: 61.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.685e-05/1.96, allocations: 7.469 kB / 0.7893 GB, free: 61.37 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/1.96, allocations: 4.938 kB / 0.7893 GB, free: 61.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/1.96, allocations: 3.984 kB / 0.7893 GB, free: 61.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.005e-05/1.96, allocations: 91.14 kB / 0.7894 GB, free: 61.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/1.96, allocations: 0 / 0.7894 GB, free: 61.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002269/1.962, allocations: 1.473 MB / 0.7908 GB, free: 59.92 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003413/1.965, allocations: 2.548 MB / 0.7933 GB, free: 57.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001304/1.966, allocations: 89.03 kB / 0.7934 GB, free: 57.64 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/1.966, allocations: 4 kB / 0.7934 GB, free: 57.64 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.388e-05/1.966, allocations: 8.859 kB / 0.7934 GB, free: 57.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/1.966, allocations: 67.7 kB / 0.7935 GB, free: 57.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007007/1.966, allocations: 0.4938 MB / 0.794 GB, free: 57.07 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.069e-05/1.966, allocations: 84.31 kB / 0.7941 GB, free: 56.97 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.924e-05/1.967, allocations: 46.31 kB / 0.7941 GB, free: 56.92 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.34e-05/1.967, allocations: 87.34 kB / 0.7942 GB, free: 56.83 MB / 0.6198 GB Notification: Performance of SimCode: time 8.52e-07/1.967, allocations: 5.094 kB / 0.7942 GB, free: 56.83 MB / 0.6198 GB Notification: Performance of Templates: time 0.03957/2.006, allocations: 53.32 MB / 0.8463 GB, free: 3.723 MB / 0.6198 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.948844267055392]