Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.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.5159/0.5159, allocations: 111.7 MB / 121.5 MB, free: 4.801 MB / 122.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09235/0.6082, allocations: 33.96 MB / 155.5 MB, free: 3.734 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.TestSteamEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSteamEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 156.8 MB, free: 2.473 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.801e-05/1.968e-05, allocations: 4.984 kB / 156.8 MB, free: 2.469 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.TestSteamEngine): time 1.063/1.063, allocations: 233.5 MB / 390.3 MB, free: 2.484 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02631/1.09, allocations: 28.28 MB / 418.6 MB, free: 6.109 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001736/1.09, allocations: 7.938 kB / 418.6 MB, free: 6.102 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/WaterSteam/Machines/SteamEngine.mo:24:3-25:79: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/Machines/SteamEngine.mo:26:3-27:77: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] [/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/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] Notification: Performance of NFTyping.typeComponents: time 0.0004078/1.09, allocations: 193.6 kB / 418.8 MB, free: 5.918 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002185/1.09, allocations: 166.9 kB / 418.9 MB, free: 5.754 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01443/1.105, allocations: 8.071 MB / 427 MB, free: 13.65 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005939/1.105, allocations: 449.8 kB / 427.4 MB, free: 13.21 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/1.106, allocations: 106.8 kB / 427.5 MB, free: 13.11 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002565/1.106, allocations: 278.4 kB / 427.8 MB, free: 12.84 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/1.106, allocations: 99.72 kB / 427.9 MB, free: 12.75 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/1.106, allocations: 20 kB / 427.9 MB, free: 12.73 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/WaterSteam/IF97_packages.mo:964:9-964:35:writable] Warning: 'h' 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.02577/1.132, allocations: 20.92 MB / 448.8 MB, free: 7.777 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/1.132, allocations: 39.81 kB / 448.9 MB, free: 7.738 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001779/1.132, allocations: 95.75 kB / 449 MB, free: 7.645 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01738/1.149, allocations: 8.208 MB / 457.2 MB, free: 15.42 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.464e-05/1.149, allocations: 0 / 457.2 MB, free: 15.42 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.663e-06/1.149, allocations: 0 / 457.2 MB, free: 15.42 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.324e-05/1.149, allocations: 0 / 457.2 MB, free: 15.42 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.003791/1.153, allocations: 1.939 MB / 459.1 MB, free: 13.43 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/1.153, allocations: 12.62 kB / 459.1 MB, free: 13.42 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.103e-05/1.153, allocations: 32.91 kB / 459.2 MB, free: 13.39 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/1.153, allocations: 161.3 kB / 459.3 MB, free: 13.21 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/1.153, allocations: 16.88 kB / 459.3 MB, free: 13.19 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/1.153, allocations: 24.38 kB / 459.4 MB, free: 13.17 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/1.154, allocations: 244.4 kB / 459.6 MB, free: 12.9 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/1.154, allocations: 4 kB / 459.6 MB, free: 12.89 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/1.154, allocations: 8 kB / 459.6 MB, free: 12.89 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/1.154, allocations: 15.98 kB / 459.6 MB, free: 12.87 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.232e-05/1.154, allocations: 89.67 kB / 459.7 MB, free: 12.79 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.007457/1.161, allocations: 5.129 MB / 464.8 MB, free: 7.609 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/1.161, allocations: 119 kB / 465 MB, free: 7.48 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.519e-05/1.161, allocations: 33.84 kB / 465 MB, free: 7.445 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04611/1.207, allocations: 28.83 MB / 493.8 MB, free: 10.59 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/1.208, allocations: 34.56 kB / 493.9 MB, free: 10.54 MB / 490.7 MB Notification: Performance of pre-optimization done (n=52): time 2.495e-06/1.208, allocations: 0 / 493.9 MB, free: 10.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=52): time 0.0005012/1.208, allocations: 268.2 kB / 494.1 MB, free: 10.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.315e-05/1.208, allocations: 55.41 kB / 494.2 MB, free: 10.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/1.208, allocations: 165.6 kB / 494.3 MB, free: 10.04 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/1.208, allocations: 25.7 kB / 494.4 MB, free: 10 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/1.208, allocations: 156.9 kB / 494.5 MB, free: 9.848 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.683e-05/1.208, allocations: 178.3 kB / 494.7 MB, free: 9.672 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.046e-05/1.208, allocations: 53.66 kB / 494.7 MB, free: 9.613 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.263e-05/1.208, allocations: 338.7 kB / 495.1 MB, free: 9.273 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.963e-05/1.208, allocations: 35.27 kB / 495.1 MB, free: 9.238 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.856e-05/1.209, allocations: 88.94 kB / 495.2 MB, free: 9.129 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/1.209, allocations: 154.5 kB / 495.3 MB, free: 8.957 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.209, allocations: 0 / 495.3 MB, free: 8.957 MB / 490.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0001873/1.209, allocations: 189.1 kB / 495.5 MB, free: 8.762 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/1.209, allocations: 4 kB / 495.5 MB, free: 8.758 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/1.209, allocations: 7.938 kB / 495.5 MB, free: 8.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000145/1.209, allocations: 92.94 kB / 495.6 MB, free: 8.656 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.941e-05/1.209, allocations: 12 kB / 495.6 MB, free: 8.645 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002491/1.209, allocations: 0.5678 MB / 496.2 MB, free: 8.051 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.696e-05/1.209, allocations: 23.78 kB / 496.2 MB, free: 8.027 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/1.209, allocations: 4 kB / 496.2 MB, free: 8.023 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 4 (steamEngine1.C1.a,steamEngine1.C2.b,puitsP.C.a,sourceP.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.725e-05/1.209, allocations: 124.6 kB / 496.4 MB, free: 7.891 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/1.209, allocations: 12 kB / 496.4 MB, free: 7.879 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004374/1.21, allocations: 0.6298 MB / 497 MB, free: 7.211 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001651/1.21, allocations: 220 kB / 497.2 MB, free: 6.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/1.21, allocations: 0 / 497.2 MB, free: 6.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/1.21, allocations: 3.984 kB / 497.2 MB, free: 6.977 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008059/1.211, allocations: 1.01 MB / 498.2 MB, free: 5.871 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/1.211, allocations: 4 kB / 498.2 MB, free: 5.867 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/1.211, allocations: 83.84 kB / 498.3 MB, free: 5.785 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.907e-05/1.211, allocations: 48.34 kB / 498.4 MB, free: 5.742 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.263e-05/1.211, allocations: 71.58 kB / 498.4 MB, free: 5.668 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/1.211, allocations: 12 kB / 498.4 MB, free: 5.656 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003513/1.211, allocations: 0.5851 MB / 499 MB, free: 5.039 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.211, allocations: 11.94 kB / 499 MB, free: 5.027 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002892/1.212, allocations: 0.5251 MB / 499.6 MB, free: 4.414 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/1.212, allocations: 31.89 kB / 499.6 MB, free: 4.383 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.074e-05/1.212, allocations: 12 kB / 499.6 MB, free: 4.371 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.838e-05/1.212, allocations: 43.83 kB / 499.7 MB, free: 4.328 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/1.212, allocations: 12 kB / 499.7 MB, free: 4.316 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.362e-05/1.212, allocations: 98.77 kB / 499.8 MB, free: 4.219 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/1.212, allocations: 0 / 499.8 MB, free: 4.219 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002474/1.214, allocations: 1.364 MB / 0.4894 GB, free: 2.852 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 Backend phase and start with SimCode phase: time 0.00357/1.218, allocations: 1.983 MB / 0.4913 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000353/1.218, allocations: 358.8 kB / 0.4917 GB, free: 492 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/1.218, allocations: 8 kB / 0.4917 GB, free: 484 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/1.218, allocations: 138.8 kB / 0.4918 GB, free: 344 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005446/1.219, allocations: 236.9 kB / 0.492 GB, free: 108 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003941/1.223, allocations: 0.9227 MB / 0.4929 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.676e-05/1.223, allocations: 130.1 kB / 0.493 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.878e-05/1.223, allocations: 30.94 kB / 0.4931 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/1.223, allocations: 161.2 kB / 0.4932 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of SimCode: time 8.82e-07/1.223, allocations: 4 kB / 0.4932 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of Templates: time 0.2004/1.424, allocations: 61.16 MB / 0.553 GB, free: 61.63 MB / 0.4948 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.073/1.497, allocations: 53.74 MB / 0.6054 GB, free: 19.59 MB / 0.4948 GB " [Timeout remaining time 659] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.7340123523026705]