Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.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.487/0.487, allocations: 111.7 MB / 121.6 MB, free: 4.738 MB / 122.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09028/0.5773, allocations: 33.97 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.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 156.9 MB, free: 2.379 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.327e-05, allocations: 2.312 kB / 156.9 MB, free: 2.375 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.TestStaticCentrifugalPump1): time 1.107/1.107, allocations: 233.4 MB / 390.3 MB, free: 2.539 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02911/1.136, allocations: 33.22 MB / 423.6 MB, free: 1.191 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/1.136, allocations: 0 / 423.6 MB, free: 1.191 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/WaterSteam/Machines/StaticCentrifugalPump.mo:33:3-34: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/Machines/StaticCentrifugalPump.mo:35:3-36: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] [/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] Notification: Performance of NFTyping.typeComponents: time 0.0002576/1.136, allocations: 121.2 kB / 423.7 MB, free: 1.078 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001815/1.137, allocations: 123 kB / 423.8 MB, free: 0.957 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01671/1.153, allocations: 8.64 MB / 432.4 MB, free: 8.281 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005521/1.154, allocations: 418 kB / 432.8 MB, free: 7.871 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000207/1.154, allocations: 122.8 kB / 433 MB, free: 7.754 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000381/1.154, allocations: 271.2 kB / 433.2 MB, free: 7.488 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/1.155, allocations: 95.72 kB / 433.3 MB, free: 7.395 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/1.155, allocations: 20 kB / 433.3 MB, free: 7.375 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.02851/1.183, allocations: 18.1 MB / 451.4 MB, free: 5.254 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.673e-05/1.183, allocations: 39.81 kB / 451.5 MB, free: 5.215 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001527/1.183, allocations: 91.81 kB / 451.6 MB, free: 5.125 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01734/1.201, allocations: 8.203 MB / 459.8 MB, free: 12.9 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.63e-05/1.201, allocations: 0 / 459.8 MB, free: 12.9 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.777e-06/1.201, allocations: 4 kB / 459.8 MB, free: 12.9 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.36e-05/1.201, allocations: 0 / 459.8 MB, free: 12.9 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.004452/1.205, allocations: 2.055 MB / 461.8 MB, free: 10.79 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/1.205, allocations: 8.625 kB / 461.8 MB, free: 10.78 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.824e-05/1.205, allocations: 35.97 kB / 461.9 MB, free: 10.75 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/1.206, allocations: 182 kB / 462.1 MB, free: 10.54 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/1.206, allocations: 20.44 kB / 462.1 MB, free: 10.52 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/1.206, allocations: 20 kB / 462.1 MB, free: 10.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003119/1.206, allocations: 251.3 kB / 462.3 MB, free: 10.22 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/1.206, allocations: 3.938 kB / 462.3 MB, free: 10.22 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/1.206, allocations: 12 kB / 462.4 MB, free: 10.21 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/1.206, allocations: 15.98 kB / 462.4 MB, free: 10.19 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/1.206, allocations: 82.58 kB / 462.5 MB, free: 10.11 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01671/1.223, allocations: 9.203 MB / 471.7 MB, free: 0.8594 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/1.223, allocations: 146.5 kB / 471.8 MB, free: 0.707 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.621e-05/1.223, allocations: 44.84 kB / 471.8 MB, free: 0.6602 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06138/1.284, allocations: 39.06 MB / 0.4989 GB, free: 9.555 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/1.284, allocations: 34.56 kB / 0.499 GB, free: 9.512 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=41): time 2.034e-06/1.284, allocations: 0 / 0.499 GB, free: 9.512 MB / 0.4948 GB Notification: Performance of matching and sorting (n=41): time 0.001102/1.286, allocations: 398.9 kB / 0.4993 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/1.286, allocations: 63.34 kB / 0.4994 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/1.286, allocations: 203.3 kB / 0.4996 GB, free: 8.828 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/1.286, allocations: 29.7 kB / 0.4996 GB, free: 8.793 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003335/1.286, allocations: 160.5 kB / 0.4998 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.013e-05/1.286, allocations: 138.7 kB / 0.4999 GB, free: 8.496 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.963e-05/1.286, allocations: 61.59 kB / 0.5 GB, free: 8.43 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.75e-05/1.286, allocations: 334.8 kB / 0.5003 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.859e-05/1.286, allocations: 35.31 kB / 0.5003 GB, free: 8.059 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.511e-05/1.286, allocations: 83.23 kB / 0.5004 GB, free: 7.957 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/1.286, allocations: 156.3 kB / 0.5005 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/1.286, allocations: 0 / 0.5005 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005717/1.287, allocations: 288.4 kB / 0.5008 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/1.287, allocations: 8 kB / 0.5008 GB, free: 7.488 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/1.287, allocations: 0 / 0.5008 GB, free: 7.488 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003356/1.287, allocations: 184.8 kB / 0.501 GB, free: 7.305 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.511e-05/1.288, allocations: 23.98 kB / 0.501 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003715/1.288, allocations: 0.6315 MB / 0.5016 GB, free: 6.625 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.658e-05/1.288, allocations: 31.73 kB / 0.5017 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/1.288, allocations: 4 kB / 0.5017 GB, free: 6.59 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (StaticCentrifugalPump1.C1.a,StaticCentrifugalPump1.C2.b,sourceP.C.b,sinkP.C.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * 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 {(4,6)} Notification: Performance of prepare postOptimizeDAE: time 8.878e-05/1.288, allocations: 125.8 kB / 0.5018 GB, free: 6.457 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/1.288, allocations: 15.98 kB / 0.5018 GB, free: 6.441 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004759/1.289, allocations: 0.6558 MB / 0.5025 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001237/1.289, allocations: 149.2 kB / 0.5026 GB, free: 5.555 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/1.289, allocations: 7.938 kB / 0.5026 GB, free: 5.547 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/1.289, allocations: 4 kB / 0.5026 GB, free: 5.543 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005/1.289, allocations: 0.5484 MB / 0.5031 GB, free: 4.965 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/1.289, allocations: 0 / 0.5031 GB, free: 4.965 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.761e-05/1.289, allocations: 31.92 kB / 0.5032 GB, free: 4.934 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.004e-05/1.289, allocations: 27.78 kB / 0.5032 GB, free: 4.906 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000266/1.29, allocations: 158.1 kB / 0.5034 GB, free: 4.75 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/1.29, allocations: 7.938 kB / 0.5034 GB, free: 4.742 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003214/1.29, allocations: 0.6359 MB / 0.504 GB, free: 4.078 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/1.29, allocations: 7.938 kB / 0.504 GB, free: 4.07 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/1.29, allocations: 332.5 kB / 0.5043 GB, free: 3.723 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/1.29, allocations: 4 kB / 0.5043 GB, free: 3.719 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.43e-05/1.29, allocations: 12 kB / 0.5043 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.884e-05/1.29, allocations: 15.91 kB / 0.5043 GB, free: 3.691 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/1.29, allocations: 4 kB / 0.5043 GB, free: 3.688 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.979e-05/1.29, allocations: 102.7 kB / 0.5044 GB, free: 3.586 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/1.29, allocations: 0 / 0.5044 GB, free: 3.586 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002505/1.293, allocations: 1.216 MB / 0.5056 GB, free: 2.367 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 {(4,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004028/1.297, allocations: 2.05 MB / 0.5076 GB, free: 316 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003801/1.297, allocations: 223.5 kB / 0.5078 GB, free: 84 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/1.297, allocations: 12.36 kB / 0.5079 GB, free: 72 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.1526/1.45, allocations: 105.1 kB / 0.508 GB, free: 79.83 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006049/1.45, allocations: 0.68 MB / 0.5086 GB, free: 79.21 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003485/1.454, allocations: 0.5834 MB / 0.5092 GB, free: 78.94 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.547e-05/1.454, allocations: 92.72 kB / 0.5093 GB, free: 78.87 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.744e-05/1.454, allocations: 21.36 kB / 0.5093 GB, free: 78.87 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/1.454, allocations: 108.3 kB / 0.5094 GB, free: 78.82 MB / 0.4948 GB Notification: Performance of SimCode: time 1.903e-06/1.454, allocations: 1.812 kB / 0.5094 GB, free: 78.82 MB / 0.4948 GB Notification: Performance of Templates: time 0.04021/1.494, allocations: 44.52 MB / 0.5529 GB, free: 59.63 MB / 0.4948 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07615/1.571, allocations: 53.75 MB / 0.6054 GB, free: 19.35 MB / 0.4948 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.501614377833903]