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.4833/0.4833, allocations: 111.7 MB / 121.6 MB, free: 4.746 MB / 122.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09363/0.577, allocations: 33.98 MB / 155.6 MB, free: 3.656 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.944e-06/1.944e-06, allocations: 3.938 kB / 156.9 MB, free: 2.375 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.158e-05/1.353e-05, allocations: 2.312 kB / 156.9 MB, free: 2.371 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.05/1.05, allocations: 233.5 MB / 390.4 MB, free: 2.441 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02366/1.074, allocations: 28.29 MB / 418.7 MB, free: 6.051 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001577/1.074, allocations: 4 kB / 418.7 MB, free: 6.047 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.0003886/1.074, allocations: 182.6 kB / 418.9 MB, free: 5.871 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001973/1.074, allocations: 170.9 kB / 419.1 MB, free: 5.703 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0148/1.089, allocations: 8.073 MB / 427.2 MB, free: 13.61 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005791/1.09, allocations: 457.8 kB / 427.6 MB, free: 13.16 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/1.09, allocations: 102.8 kB / 427.7 MB, free: 13.06 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002968/1.09, allocations: 279.3 kB / 428 MB, free: 12.79 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/1.09, allocations: 99.72 kB / 428.1 MB, free: 12.69 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/1.09, allocations: 23.94 kB / 428.1 MB, free: 12.66 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.02809/1.118, allocations: 20.92 MB / 449 MB, free: 7.719 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/1.119, allocations: 39.81 kB / 449.1 MB, free: 7.68 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001776/1.119, allocations: 87.81 kB / 449.1 MB, free: 7.594 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01777/1.137, allocations: 8.168 MB / 457.3 MB, free: 15.41 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.599e-05/1.137, allocations: 4 kB / 457.3 MB, free: 15.41 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.953e-06/1.137, allocations: 0 / 457.3 MB, free: 15.41 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.47e-05/1.137, allocations: 0 / 457.3 MB, free: 15.41 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.003914/1.14, allocations: 1.931 MB / 459.2 MB, free: 13.43 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/1.141, allocations: 8.625 kB / 459.2 MB, free: 13.42 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.05e-05/1.141, allocations: 40.91 kB / 459.3 MB, free: 13.38 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/1.141, allocations: 165.3 kB / 459.5 MB, free: 13.19 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/1.141, allocations: 12.88 kB / 459.5 MB, free: 13.18 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/1.141, allocations: 20.38 kB / 459.5 MB, free: 13.16 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/1.141, allocations: 248.4 kB / 459.7 MB, free: 12.89 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/1.141, allocations: 3.938 kB / 459.7 MB, free: 12.88 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/1.141, allocations: 12 kB / 459.7 MB, free: 12.87 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/1.141, allocations: 15.98 kB / 459.8 MB, free: 12.86 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.601e-05/1.141, allocations: 93.67 kB / 459.8 MB, free: 12.77 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.007896/1.149, allocations: 5.125 MB / 465 MB, free: 7.594 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/1.149, allocations: 107 kB / 465.1 MB, free: 7.48 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.964e-05/1.149, allocations: 33.86 kB / 465.1 MB, free: 7.445 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04708/1.196, allocations: 28.83 MB / 493.9 MB, free: 10.58 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/1.196, allocations: 38.5 kB / 494 MB, free: 10.54 MB / 490.7 MB Notification: Performance of pre-optimization done (n=52): time 2.384e-06/1.196, allocations: 0 / 494 MB, free: 10.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=52): time 0.0005087/1.197, allocations: 272.2 kB / 494.2 MB, free: 10.26 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/1.197, allocations: 51.41 kB / 494.3 MB, free: 10.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/1.197, allocations: 169.5 kB / 494.5 MB, free: 10.02 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/1.197, allocations: 25.7 kB / 494.5 MB, free: 9.992 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/1.197, allocations: 156.9 kB / 494.6 MB, free: 9.836 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.553e-05/1.197, allocations: 174.4 kB / 494.8 MB, free: 9.664 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.239e-05/1.197, allocations: 53.64 kB / 494.9 MB, free: 9.605 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.542e-05/1.197, allocations: 338.8 kB / 495.2 MB, free: 9.266 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.779e-05/1.197, allocations: 31.33 kB / 495.2 MB, free: 9.234 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.011e-05/1.197, allocations: 84.95 kB / 495.3 MB, free: 9.125 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/1.198, allocations: 161.3 kB / 495.5 MB, free: 8.945 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.198, allocations: 0 / 495.5 MB, free: 8.945 MB / 490.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0001992/1.198, allocations: 189.1 kB / 495.7 MB, free: 8.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/1.198, allocations: 4 kB / 495.7 MB, free: 8.746 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/1.198, allocations: 8.109 kB / 495.7 MB, free: 8.738 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001636/1.198, allocations: 104.7 kB / 495.8 MB, free: 8.633 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.439e-05/1.198, allocations: 15.98 kB / 495.8 MB, free: 8.617 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002536/1.198, allocations: 0.5562 MB / 496.3 MB, free: 8.035 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.258e-05/1.198, allocations: 27.77 kB / 496.4 MB, free: 8.008 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/1.198, allocations: 4 kB / 496.4 MB, free: 8.004 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 8.752e-05/1.198, allocations: 124.5 kB / 496.5 MB, free: 7.871 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/1.198, allocations: 16.03 kB / 496.5 MB, free: 7.855 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004597/1.199, allocations: 0.6298 MB / 497.1 MB, free: 7.188 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001644/1.199, allocations: 216 kB / 497.3 MB, free: 6.965 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/1.199, allocations: 3.984 kB / 497.3 MB, free: 6.961 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/1.199, allocations: 0 / 497.3 MB, free: 6.961 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/1.2, allocations: 1.017 MB / 498.4 MB, free: 5.848 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/1.2, allocations: 8.641 kB / 498.4 MB, free: 5.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/1.2, allocations: 75.92 kB / 498.4 MB, free: 5.766 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.55e-05/1.2, allocations: 43.72 kB / 498.5 MB, free: 5.723 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.547e-05/1.2, allocations: 71.56 kB / 498.6 MB, free: 5.648 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/1.2, allocations: 12 kB / 498.6 MB, free: 5.637 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002304/1.201, allocations: 0.5812 MB / 499.2 MB, free: 5.023 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/1.201, allocations: 7.938 kB / 499.2 MB, free: 5.016 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003752/1.201, allocations: 0.5407 MB / 499.7 MB, free: 4.391 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/1.201, allocations: 19.89 kB / 499.7 MB, free: 4.371 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/1.201, allocations: 19.94 kB / 499.7 MB, free: 4.352 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/1.201, allocations: 51.75 kB / 499.8 MB, free: 4.301 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/1.201, allocations: 8 kB / 499.8 MB, free: 4.293 MB / 490.7 MB Notification: Performance of sorting global known variables: time 9.611e-05/1.201, allocations: 94.78 kB / 499.9 MB, free: 4.199 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/1.201, allocations: 0 / 499.9 MB, free: 4.199 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003184/1.205, allocations: 1.36 MB / 0.4895 GB, free: 2.836 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.005518/1.21, allocations: 1.97 MB / 0.4914 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005017/1.211, allocations: 366.8 kB / 0.4918 GB, free: 476 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.741e-05/1.211, allocations: 4 kB / 0.4918 GB, free: 472 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002249/1.211, allocations: 179.4 kB / 0.492 GB, free: 288 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009888/1.212, allocations: 0.5996 MB / 0.4925 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005514/1.217, allocations: 0.9259 MB / 0.4934 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001164/1.217, allocations: 122.1 kB / 0.4936 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001503/1.218, allocations: 30.94 kB / 0.4936 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002409/1.218, allocations: 149.2 kB / 0.4937 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of SimCode: time 1.373e-06/1.218, allocations: 0 / 0.4937 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of Templates: time 0.2087/1.427, allocations: 50.49 MB / 0.543 GB, free: 72.22 MB / 0.4948 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06746/1.494, allocations: 53.74 MB / 0.5955 GB, free: 30.13 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: 4.800975986756384]