Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.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.5009/0.5009, 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.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 176.6 MB, free: 8.875 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.493e-05/1.656e-05, allocations: 12.7 kB / 176.6 MB, free: 8.867 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.Book.SimpleExamples.PressureLoss.TestDiaphragm): time 1.121/1.121, allocations: 262.9 MB / 439.5 MB, free: 15.07 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3637/1.485, allocations: 183.5 MB / 0.6084 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002013/1.485, allocations: 11.88 kB / 0.6084 GB, free: 12.68 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/Diaphragm.mo:27:3-28: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/Diaphragm.mo:29:3-30: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 8.794e-05/1.485, allocations: 35.59 kB / 0.6084 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002465/1.485, allocations: 134.8 kB / 0.6085 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.02044/1.506, allocations: 11.12 MB / 0.6194 GB, free: 1.352 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004112/1.506, allocations: 426.5 kB / 0.6198 GB, free: 0.9336 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002051/1.506, allocations: 177.7 kB / 0.62 GB, free: 0.7617 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002683/1.507, allocations: 271.4 kB / 0.6202 GB, free: 0.4961 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/1.507, allocations: 123.6 kB / 0.6203 GB, free: 384 kB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.127e-05/1.507, allocations: 32 kB / 0.6204 GB, free: 352 kB / 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.0269/1.534, allocations: 21.08 MB / 0.641 GB, free: 11.24 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001223/1.534, allocations: 91.67 kB / 0.641 GB, free: 11.15 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001387/1.534, allocations: 135.7 kB / 0.6412 GB, free: 11.02 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0191/1.553, allocations: 12.9 MB / 0.6538 GB, free: 14.08 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/1.553, allocations: 0 / 0.6538 GB, free: 14.08 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.413e-06/1.553, allocations: 0 / 0.6538 GB, free: 14.08 MB / 0.573 GB Notification: Performance of Transformations before backend: time 5.982e-06/1.553, allocations: 0 / 0.6538 GB, free: 14.08 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.003534/1.556, allocations: 1.882 MB / 0.6556 GB, free: 12.16 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/1.557, allocations: 15.98 kB / 0.6556 GB, free: 12.14 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.575e-05/1.557, allocations: 55.95 kB / 0.6557 GB, free: 12.09 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/1.557, allocations: 239.9 kB / 0.6559 GB, free: 11.83 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/1.557, allocations: 25 kB / 0.6559 GB, free: 11.8 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/1.557, allocations: 39.94 kB / 0.656 GB, free: 11.77 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/1.557, allocations: 336.9 kB / 0.6563 GB, free: 11.39 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/1.557, allocations: 4.812 kB / 0.6563 GB, free: 11.39 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/1.557, allocations: 19.98 kB / 0.6563 GB, free: 11.37 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/1.557, allocations: 8 kB / 0.6563 GB, free: 11.36 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/1.557, allocations: 99.11 kB / 0.6564 GB, free: 11.27 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004556/1.562, allocations: 3.455 MB / 0.6598 GB, free: 7.773 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.053e-05/1.562, allocations: 50.5 kB / 0.6598 GB, free: 7.715 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.894e-05/1.562, allocations: 13.55 kB / 0.6599 GB, free: 7.699 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3544/1.916, allocations: 80.13 MB / 0.7381 GB, free: 90.69 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/1.916, allocations: 33.34 kB / 0.7381 GB, free: 90.65 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.765e-06/1.916, allocations: 3.469 kB / 0.7381 GB, free: 90.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003922/1.917, allocations: 113.4 kB / 0.7382 GB, free: 90.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.082e-05/1.917, allocations: 82.89 kB / 0.7383 GB, free: 90.51 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/1.917, allocations: 287.8 kB / 0.7386 GB, free: 90.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/1.917, allocations: 25.7 kB / 0.7386 GB, free: 90.37 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.795e-05/1.917, allocations: 235.2 kB / 0.7389 GB, free: 90.26 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.197e-05/1.917, allocations: 27.12 kB / 0.7389 GB, free: 90.24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.015e-05/1.917, allocations: 68.89 kB / 0.7389 GB, free: 90.22 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.915e-05/1.917, allocations: 329.3 kB / 0.7393 GB, free: 89.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.066e-05/1.917, allocations: 20.2 kB / 0.7393 GB, free: 89.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.976e-05/1.917, allocations: 160.5 kB / 0.7394 GB, free: 89.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/1.917, allocations: 165.9 kB / 0.7396 GB, free: 89.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.917, allocations: 2.812 kB / 0.7396 GB, free: 89.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002076/1.918, allocations: 182.7 kB / 0.7398 GB, free: 89.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/1.918, allocations: 12.66 kB / 0.7398 GB, free: 89.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/1.918, allocations: 4.031 kB / 0.7398 GB, free: 89.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003582/1.918, allocations: 63.19 kB / 0.7398 GB, free: 89.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.108e-05/1.918, allocations: 45.92 kB / 0.7399 GB, free: 89.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002103/1.918, allocations: 0.542 MB / 0.7404 GB, free: 89.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.973e-05/1.918, allocations: 32.64 kB / 0.7404 GB, free: 89.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/1.918, allocations: 12.86 kB / 0.7405 GB, free: 89.03 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 (Diaphragm.C2.diff_on_1,SourceP1.C.diff_on_2,SourceP1.fluid1,SourceP1.C.ftype,Diaphragm.fluid,PuitsP1.fluid) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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 7.646e-05/1.918, allocations: 131.4 kB / 0.7406 GB, free: 88.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/1.919, allocations: 15.41 kB / 0.7406 GB, free: 88.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/1.919, allocations: 137.2 kB / 0.7407 GB, free: 88.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/1.919, allocations: 0 / 0.7407 GB, free: 88.86 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/1.919, allocations: 5.75 kB / 0.7407 GB, free: 88.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.919, allocations: 0.6094 kB / 0.7407 GB, free: 88.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/1.919, allocations: 143 kB / 0.7409 GB, free: 88.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.919, allocations: 1.203 kB / 0.7409 GB, free: 88.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.557e-05/1.919, allocations: 9.281 kB / 0.7409 GB, free: 88.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001963/1.919, allocations: 55.56 kB / 0.7409 GB, free: 88.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/1.919, allocations: 0 / 0.7409 GB, free: 88.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001463/1.919, allocations: 0.5418 MB / 0.7415 GB, free: 88.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/1.919, allocations: 6.031 kB / 0.7415 GB, free: 88.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/1.919, allocations: 123.1 kB / 0.7416 GB, free: 88.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/1.919, allocations: 40.2 kB / 0.7416 GB, free: 88.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/1.92, allocations: 5.156 kB / 0.7416 GB, free: 88.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.351e-05/1.92, allocations: 1.094 kB / 0.7416 GB, free: 88.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.421e-05/1.92, allocations: 5.812 kB / 0.7416 GB, free: 88.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/1.92, allocations: 3.406 kB / 0.7416 GB, free: 88.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.677e-05/1.92, allocations: 96.05 kB / 0.7417 GB, free: 88.15 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/1.92, allocations: 5.938 kB / 0.7417 GB, free: 88.14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002744/1.922, allocations: 1.632 MB / 0.7433 GB, free: 88.14 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 (4): * Single equations (assignments): 3 * 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.004378/1.927, allocations: 2.865 MB / 0.7461 GB, free: 87.81 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002491/1.927, allocations: 98.61 kB / 0.7462 GB, free: 87.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.32e-05/1.927, allocations: 10.06 kB / 0.7462 GB, free: 87.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.809e-05/1.927, allocations: 38.11 kB / 0.7463 GB, free: 87.79 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/1.927, allocations: 73 kB / 0.7463 GB, free: 87.78 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008978/1.928, allocations: 0.5014 MB / 0.7468 GB, free: 87.47 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.727e-05/1.928, allocations: 89.42 kB / 0.7469 GB, free: 87.4 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.727e-05/1.928, allocations: 39.41 kB / 0.747 GB, free: 87.39 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/1.928, allocations: 102.6 kB / 0.747 GB, free: 87.34 MB / 0.6198 GB Notification: Performance of SimCode: time 1.092e-06/1.928, allocations: 7.25 kB / 0.7471 GB, free: 87.33 MB / 0.6198 GB Notification: Performance of Templates: time 0.04653/1.975, allocations: 57.71 MB / 0.8034 GB, free: 44.04 MB / 0.6198 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.9330614088103175]