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.4869/0.4869, allocations: 111.7 MB / 121.6 MB, free: 4.738 MB / 122.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08224/0.5692, allocations: 33.98 MB / 155.6 MB, free: 3.664 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.873e-06/1.873e-06, allocations: 0 / 156.9 MB, free: 2.391 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.254e-05/2.442e-05, allocations: 5.406 kB / 156.9 MB, free: 2.387 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 0.9858/0.9858, allocations: 233.3 MB / 390.2 MB, free: 2.645 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02555/1.011, allocations: 33.44 MB / 423.7 MB, free: 1.074 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.892e-05/1.011, allocations: 0 / 423.7 MB, free: 1.074 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.0002038/1.012, allocations: 110.6 kB / 423.8 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001217/1.012, allocations: 127.1 kB / 423.9 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01174/1.024, allocations: 8.677 MB / 432.6 MB, free: 8.125 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000271/1.024, allocations: 370.8 kB / 433 MB, free: 7.762 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/1.024, allocations: 98.83 kB / 433.1 MB, free: 7.668 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002288/1.024, allocations: 243.2 kB / 433.3 MB, free: 7.43 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/1.024, allocations: 83.73 kB / 433.4 MB, free: 7.348 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/1.024, allocations: 16 kB / 433.4 MB, free: 7.332 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.01787/1.042, allocations: 18.19 MB / 451.6 MB, free: 5.121 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.946e-05/1.042, allocations: 31.88 kB / 451.6 MB, free: 5.09 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7e-05/1.042, allocations: 79.81 kB / 451.7 MB, free: 5.012 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00772/1.05, allocations: 8.238 MB / 459.9 MB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.106e-05/1.05, allocations: 7.984 kB / 459.9 MB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.533e-06/1.05, allocations: 0 / 459.9 MB, free: 12.75 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.296e-05/1.05, allocations: 0 / 459.9 MB, free: 12.75 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.002062/1.052, allocations: 2.031 MB / 462 MB, free: 10.66 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/1.052, allocations: 8.625 kB / 462 MB, free: 10.66 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.937e-05/1.052, allocations: 31.97 kB / 462 MB, free: 10.62 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/1.052, allocations: 167 kB / 462.2 MB, free: 10.44 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/1.052, allocations: 20.44 kB / 462.2 MB, free: 10.42 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/1.052, allocations: 20 kB / 462.2 MB, free: 10.4 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/1.053, allocations: 270.7 kB / 462.5 MB, free: 10.09 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/1.053, allocations: 4 kB / 462.5 MB, free: 10.09 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/1.053, allocations: 11.98 kB / 462.5 MB, free: 10.07 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/1.053, allocations: 8 kB / 462.5 MB, free: 10.07 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.401e-05/1.053, allocations: 81.3 kB / 462.6 MB, free: 9.988 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.01347/1.066, allocations: 9.25 MB / 471.8 MB, free: 0.6836 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/1.066, allocations: 122.4 kB / 471.9 MB, free: 0.5547 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.688e-05/1.066, allocations: 29.64 kB / 472 MB, free: 0.5234 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06052/1.127, allocations: 39.08 MB / 0.4991 GB, free: 9.395 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/1.127, allocations: 46.44 kB / 0.4991 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 2.064e-06/1.127, allocations: 3.938 kB / 0.4991 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34): time 0.0004061/1.127, allocations: 182.6 kB / 0.4993 GB, free: 9.148 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.124e-05/1.127, allocations: 51.41 kB / 0.4994 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/1.127, allocations: 182.5 kB / 0.4995 GB, free: 8.895 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/1.127, allocations: 29.7 kB / 0.4996 GB, free: 8.859 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.268e-05/1.128, allocations: 156.5 kB / 0.4997 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.383e-05/1.128, allocations: 114.9 kB / 0.4998 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-05/1.128, allocations: 57.61 kB / 0.4999 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001337/1.128, allocations: 334.8 kB / 0.5002 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.649e-05/1.128, allocations: 30.77 kB / 0.5002 GB, free: 8.16 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.659e-05/1.128, allocations: 107.7 kB / 0.5003 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/1.128, allocations: 144.4 kB / 0.5005 GB, free: 7.867 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/1.128, allocations: 0 / 0.5005 GB, free: 7.867 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0001672/1.128, allocations: 169.1 kB / 0.5006 GB, free: 7.691 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/1.128, allocations: 4 kB / 0.5006 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/1.128, allocations: 3.984 kB / 0.5006 GB, free: 7.684 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003725/1.129, allocations: 96.83 kB / 0.5007 GB, free: 7.586 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.362e-05/1.129, allocations: 16 kB / 0.5007 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000258/1.129, allocations: 0.564 MB / 0.5013 GB, free: 6.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.78e-05/1.129, allocations: 27.81 kB / 0.5013 GB, free: 6.953 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/1.129, allocations: 15.92 kB / 0.5013 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 6.746e-05/1.129, allocations: 117.9 kB / 0.5014 GB, free: 6.812 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.933e-05/1.129, allocations: 7.984 kB / 0.5015 GB, free: 6.805 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004216/1.129, allocations: 0.5224 MB / 0.502 GB, free: 6.207 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001811/1.13, allocations: 140.2 kB / 0.5021 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/1.13, allocations: 8 kB / 0.5021 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/1.13, allocations: 0 / 0.5021 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004633/1.13, allocations: 0.4977 MB / 0.5026 GB, free: 5.527 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/1.13, allocations: 0 / 0.5026 GB, free: 5.527 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.13e-05/1.13, allocations: 27.92 kB / 0.5026 GB, free: 5.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.623e-05/1.13, allocations: 19.8 kB / 0.5026 GB, free: 5.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001416/1.13, allocations: 79.61 kB / 0.5027 GB, free: 5.398 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/1.13, allocations: 4 kB / 0.5027 GB, free: 5.395 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002335/1.131, allocations: 0.5851 MB / 0.5033 GB, free: 4.781 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/1.131, allocations: 0 / 0.5033 GB, free: 4.781 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/1.131, allocations: 297.5 kB / 0.5036 GB, free: 4.469 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/1.131, allocations: 23.86 kB / 0.5036 GB, free: 4.445 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.248e-05/1.131, allocations: 0 / 0.5036 GB, free: 4.445 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.422e-05/1.131, allocations: 11.97 kB / 0.5036 GB, free: 4.434 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/1.131, allocations: 4 kB / 0.5036 GB, free: 4.43 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.901e-05/1.131, allocations: 82.78 kB / 0.5037 GB, free: 4.344 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/1.131, allocations: 3.938 kB / 0.5037 GB, free: 4.34 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0019/1.133, allocations: 1.239 MB / 0.5049 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.003187/1.136, allocations: 2.112 MB / 0.507 GB, free: 0.9766 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002598/1.136, allocations: 160 kB / 0.5071 GB, free: 0.8125 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/1.136, allocations: 4 kB / 0.5071 GB, free: 0.8086 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/1.136, allocations: 84.67 kB / 0.5072 GB, free: 0.7227 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1379/1.274, allocations: 0.6776 MB / 0.5079 GB, free: 79.41 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00325/1.277, allocations: 0.4892 MB / 0.5083 GB, free: 79.16 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.155e-05/1.278, allocations: 87.67 kB / 0.5084 GB, free: 79.09 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.285e-05/1.278, allocations: 18.64 kB / 0.5084 GB, free: 79.09 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/1.278, allocations: 112 kB / 0.5085 GB, free: 79.05 MB / 0.4948 GB Notification: Performance of SimCode: time 7.42e-07/1.278, allocations: 0.875 kB / 0.5085 GB, free: 79.05 MB / 0.4948 GB Notification: Performance of Templates: time 0.03122/1.309, allocations: 44.38 MB / 0.5519 GB, free: 60.32 MB / 0.4948 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05961/1.369, allocations: 53.76 MB / 0.6044 GB, free: 20.11 MB / 0.4948 GB " [Timeout remaining time 659] 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: 3.9978434974327683]