Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/package.mo): time 0.5151/0.5151, allocations: 111.7 MB / 121.5 MB, free: 4.797 MB / 122.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09668/0.6118, allocations: 33.97 MB / 155.5 MB, free: 3.727 MB / 154.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 156.8 MB, free: 2.469 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.967e-06/1.048e-05, allocations: 5.266 kB / 156.8 MB, free: 2.465 MB / 154.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.Examples.SimpleExamples.TestDiaphragm): time 1.068/1.068, allocations: 233.3 MB / 390.1 MB, free: 2.676 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0354/1.104, allocations: 33.45 MB / 423.5 MB, free: 1.102 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002155/1.104, allocations: 0 / 423.5 MB, free: 1.102 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/WaterSteam/BoundaryConditions/SourceP.mo:19:3-20:78:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/WaterSteam/BoundaryConditions/SinkP.mo:19:3-20:80:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/WaterSteam/PressureLosses/Diaphragm.mo:20:3-21:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/WaterSteam/PressureLosses/Diaphragm.mo:22:3-23:78:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] Notification: Performance of NFTyping.typeComponents: time 0.0003183/1.104, allocations: 114.7 kB / 423.6 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002254/1.105, allocations: 119.2 kB / 423.7 MB, free: 0.875 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01922/1.124, allocations: 8.677 MB / 432.4 MB, free: 8.156 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005372/1.124, allocations: 374.6 kB / 432.8 MB, free: 7.789 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/1.125, allocations: 102.8 kB / 432.9 MB, free: 7.691 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003739/1.125, allocations: 235.3 kB / 433.1 MB, free: 7.461 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/1.125, allocations: 83.73 kB / 433.2 MB, free: 7.379 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/1.125, allocations: 20 kB / 433.2 MB, free: 7.359 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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 4.2.0-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 4.2.0-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 4.2.0-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 4.2.0-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 4.2.0-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 4.2.0-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. Notification: Performance of NFFlatten.collectFunctions: time 0.02885/1.154, allocations: 18.19 MB / 451.4 MB, free: 5.152 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.788e-05/1.154, allocations: 35.81 kB / 451.4 MB, free: 5.117 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001361/1.154, allocations: 79.81 kB / 451.5 MB, free: 5.039 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01519/1.169, allocations: 8.27 MB / 459.8 MB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.452e-05/1.169, allocations: 4 kB / 459.8 MB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.034e-06/1.169, allocations: 0 / 459.8 MB, free: 12.75 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.404e-05/1.169, allocations: 7.938 kB / 459.8 MB, free: 12.74 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.003556/1.173, allocations: 2.027 MB / 461.8 MB, free: 10.66 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/1.173, allocations: 12.62 kB / 461.8 MB, free: 10.65 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.725e-05/1.173, allocations: 31.98 kB / 461.9 MB, free: 10.62 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/1.173, allocations: 164.7 kB / 462 MB, free: 10.43 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/1.173, allocations: 12.5 kB / 462 MB, free: 10.41 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/1.173, allocations: 24 kB / 462.1 MB, free: 10.39 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/1.173, allocations: 270.7 kB / 462.3 MB, free: 10.08 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/1.173, allocations: 0 / 462.3 MB, free: 10.08 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/1.173, allocations: 8 kB / 462.3 MB, free: 10.07 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/1.173, allocations: 11.98 kB / 462.4 MB, free: 10.06 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.475e-05/1.174, allocations: 89.28 kB / 462.4 MB, free: 9.973 MB / 458.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01337/1.187, allocations: 9.246 MB / 471.7 MB, free: 0.6719 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/1.187, allocations: 126.4 kB / 471.8 MB, free: 0.5391 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.571e-05/1.187, allocations: 25.97 kB / 471.8 MB, free: 0.5117 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05912/1.246, allocations: 39.09 MB / 0.499 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/1.246, allocations: 42.5 kB / 0.499 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 2.364e-06/1.246, allocations: 0 / 0.499 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34): time 0.0004093/1.247, allocations: 192.2 kB / 0.4992 GB, free: 9.129 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.086e-05/1.247, allocations: 51.41 kB / 0.4992 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/1.247, allocations: 174.6 kB / 0.4994 GB, free: 8.883 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/1.247, allocations: 29.69 kB / 0.4994 GB, free: 8.848 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.401e-05/1.247, allocations: 164.5 kB / 0.4996 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.381e-05/1.247, allocations: 114.9 kB / 0.4997 GB, free: 8.57 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-05/1.247, allocations: 57.61 kB / 0.4997 GB, free: 8.508 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.918e-05/1.247, allocations: 334.8 kB / 0.5001 GB, free: 8.172 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.218e-05/1.247, allocations: 30.75 kB / 0.5001 GB, free: 8.141 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.098e-05/1.247, allocations: 103.7 kB / 0.5002 GB, free: 8.012 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/1.247, allocations: 136.3 kB / 0.5003 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.247, allocations: 0 / 0.5003 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0001605/1.247, allocations: 177.2 kB / 0.5005 GB, free: 7.676 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/1.247, allocations: 4 kB / 0.5005 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/1.247, allocations: 0 / 0.5005 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003571/1.248, allocations: 88.75 kB / 0.5006 GB, free: 7.582 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.592e-05/1.248, allocations: 28.08 kB / 0.5006 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002545/1.248, allocations: 0.5563 MB / 0.5011 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.383e-05/1.248, allocations: 23.78 kB / 0.5012 GB, free: 6.949 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/1.248, allocations: 11.88 kB / 0.5012 GB, free: 6.938 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.C.b,PuitsP1.C.a,Diaphragm.C1.a,Diaphragm.C2.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003125/1.249, allocations: 121.8 kB / 0.5013 GB, free: 6.809 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/1.249, allocations: 7.984 kB / 0.5013 GB, free: 6.801 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004152/1.249, allocations: 0.5293 MB / 0.5018 GB, free: 6.199 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001586/1.249, allocations: 141.2 kB / 0.502 GB, free: 6.051 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/1.249, allocations: 0 / 0.502 GB, free: 6.051 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/1.249, allocations: 0 / 0.502 GB, free: 6.051 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004609/1.25, allocations: 0.5054 MB / 0.5024 GB, free: 5.516 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/1.25, allocations: 0 / 0.5024 GB, free: 5.516 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-05/1.25, allocations: 16 kB / 0.5025 GB, free: 5.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.003e-05/1.25, allocations: 27.78 kB / 0.5025 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001319/1.25, allocations: 71.58 kB / 0.5026 GB, free: 5.398 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/1.25, allocations: 0 / 0.5026 GB, free: 5.398 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002219/1.25, allocations: 0.5852 MB / 0.5031 GB, free: 4.785 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.25, allocations: 0 / 0.5031 GB, free: 4.785 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/1.25, allocations: 312.9 kB / 0.5034 GB, free: 4.461 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/1.25, allocations: 15.83 kB / 0.5034 GB, free: 4.445 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.045e-05/1.25, allocations: 4 kB / 0.5034 GB, free: 4.441 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-05/1.25, allocations: 11.98 kB / 0.5035 GB, free: 4.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/1.25, allocations: 4 kB / 0.5035 GB, free: 4.426 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.453e-05/1.25, allocations: 82.78 kB / 0.5035 GB, free: 4.344 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/1.25, allocations: 32 / 0.5035 GB, free: 4.344 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001844/1.252, allocations: 1.243 MB / 0.5048 GB, free: 3.098 MB / 0.4948 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 (13): * Single equations (assignments): 12 * 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.002821/1.255, allocations: 2.111 MB / 0.5068 GB, free: 0.9766 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002409/1.255, allocations: 154.3 kB / 0.507 GB, free: 0.8164 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/1.255, allocations: 4 kB / 0.507 GB, free: 0.8125 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.252e-05/1.255, allocations: 61.14 kB / 0.507 GB, free: 0.75 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/1.256, allocations: 146.4 kB / 0.5072 GB, free: 0.6055 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003072/1.259, allocations: 0.5115 MB / 0.5077 GB, free: 68 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1493/1.408, allocations: 84.67 kB / 0.5077 GB, free: 79.14 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001087/1.408, allocations: 19.38 kB / 0.5078 GB, free: 79.14 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/1.408, allocations: 112.5 kB / 0.5079 GB, free: 79.09 MB / 0.4948 GB Notification: Performance of SimCode: time 1.042e-06/1.408, allocations: 1.219 kB / 0.5079 GB, free: 79.09 MB / 0.4948 GB Notification: Performance of Templates: time 0.03729/1.446, allocations: 49.88 MB / 0.5566 GB, free: 55.31 MB / 0.4948 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0814/1.527, allocations: 53.73 MB / 0.6091 GB, free: 15.13 MB / 0.4948 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.742621183395386]