Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.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.5604/0.5604, allocations: 111.7 MB / 121.5 MB, free: 4.793 MB / 122.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08837/0.6487, allocations: 33.98 MB / 155.5 MB, free: 3.711 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.TestStaticCentrifugalPumpWaterSolution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 156.8 MB, free: 2.465 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.794e-05/1.972e-05, allocations: 4.984 kB / 156.8 MB, free: 2.461 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.TestStaticCentrifugalPumpWaterSolution): time 1.114/1.114, allocations: 233 MB / 389.8 MB, free: 3.082 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01321/1.128, allocations: 11.96 MB / 401.7 MB, free: 7.094 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/1.128, allocations: 4 kB / 401.8 MB, free: 7.09 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/WaterSolution/PressureLosses/SingularPressureLoss.mo:9:3-10: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/WaterSolution/PressureLosses/SingularPressureLoss.mo:11:3-12: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/WaterSolution/Machines/StaticCentrifugalPump.mo:26:3-27: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/WaterSolution/Machines/StaticCentrifugalPump.mo:28:3-29: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/WaterSolution/BoundaryConditions/SourcePQ.mo:8:3-9:78:writable] Warning: Connector Cs 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/WaterSolution/BoundaryConditions/Sink.mo:8:3-9:80:writable] Warning: Connector Ce 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.0001064/1.128, allocations: 39.11 kB / 401.8 MB, free: 7.055 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001379/1.128, allocations: 67.3 kB / 401.9 MB, free: 6.988 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006669/1.135, allocations: 2.981 MB / 404.8 MB, free: 3.996 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003789/1.135, allocations: 267.3 kB / 405.1 MB, free: 3.734 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002023/1.135, allocations: 146.6 kB / 405.2 MB, free: 3.59 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002072/1.135, allocations: 171.7 kB / 405.4 MB, free: 3.422 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/1.136, allocations: 87.72 kB / 405.5 MB, free: 3.336 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.367e-05/1.136, allocations: 24 kB / 405.5 MB, free: 3.312 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01106/1.147, allocations: 7.777 MB / 413.3 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.882e-05/1.147, allocations: 43.81 kB / 413.3 MB, free: 11.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/1.147, allocations: 71.81 kB / 413.4 MB, free: 11.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006111/1.153, allocations: 3.174 MB / 416.6 MB, free: 8.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.012e-05/1.153, allocations: 4 kB / 416.6 MB, free: 8.227 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/1.153, allocations: 0 / 416.6 MB, free: 8.227 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.829e-05/1.153, allocations: 0 / 416.6 MB, free: 8.227 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.002113/1.155, allocations: 0.9304 MB / 417.5 MB, free: 7.266 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/1.155, allocations: 8.031 kB / 417.5 MB, free: 7.258 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.896e-05/1.155, allocations: 44.84 kB / 417.6 MB, free: 7.215 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/1.155, allocations: 161.4 kB / 417.7 MB, free: 7.031 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/1.156, allocations: 20.81 kB / 417.7 MB, free: 7.012 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/1.156, allocations: 24.38 kB / 417.8 MB, free: 6.988 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003329/1.156, allocations: 266 kB / 418 MB, free: 6.691 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/1.156, allocations: 4.125 kB / 418 MB, free: 6.688 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/1.156, allocations: 16.36 kB / 418 MB, free: 6.672 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/1.156, allocations: 7.938 kB / 418.1 MB, free: 6.664 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/1.156, allocations: 97.09 kB / 418.2 MB, free: 6.559 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002773/1.159, allocations: 2.069 MB / 420.2 MB, free: 4.449 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/1.159, allocations: 120.1 kB / 420.3 MB, free: 4.316 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.868e-05/1.159, allocations: 61.08 kB / 420.4 MB, free: 4.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00186/1.161, allocations: 1.17 MB / 421.6 MB, free: 3.078 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/1.161, allocations: 144.7 kB / 421.7 MB, free: 2.914 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 2.104e-06/1.161, allocations: 0 / 421.7 MB, free: 2.914 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002263/1.161, allocations: 202.7 kB / 421.9 MB, free: 2.691 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/1.161, allocations: 106.8 kB / 422 MB, free: 2.562 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/1.161, allocations: 198.8 kB / 422.2 MB, free: 2.355 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/1.161, allocations: 33.64 kB / 422.2 MB, free: 2.316 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/1.162, allocations: 160.2 kB / 422.4 MB, free: 2.156 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/1.162, allocations: 51.58 kB / 422.4 MB, free: 2.105 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.775e-05/1.162, allocations: 57.66 kB / 422.5 MB, free: 2.043 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.331e-05/1.162, allocations: 330.8 kB / 422.8 MB, free: 1.711 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.552e-05/1.162, allocations: 45.92 kB / 422.9 MB, free: 1.656 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.751e-05/1.162, allocations: 113 kB / 423 MB, free: 1.516 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/1.162, allocations: 234.8 kB / 423.2 MB, free: 1.246 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.162, allocations: 3.938 kB / 423.2 MB, free: 1.242 MB / 410.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000164/1.162, allocations: 200.8 kB / 423.4 MB, free: 1.027 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.989e-05/1.162, allocations: 33.7 kB / 423.4 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/1.162, allocations: 0 / 423.4 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/1.162, allocations: 4 kB / 423.4 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007582/1.163, allocations: 305 kB / 423.7 MB, free: 0.668 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004403/1.163, allocations: 0.582 MB / 424.3 MB, free: 64 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.879e-05/1.163, allocations: 31.78 kB / 424.4 MB, free: 32 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/1.164, allocations: 15.97 kB / 424.4 MB, free: 16 kB / 410.7 MB Warning: Assuming fixed start value for the following 2 variables: pulse.T0:DISCRETE(fixed = true protected = true ) type: Real Pulse1.T0:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,singularPressureLossWaterLiBr.C1.a,singularPressureLossWaterLiBr.C2.b,staticCentrifugalPumpWaterLiBr.C1.a,staticCentrifugalPumpWaterLiBr.C2.b,sourceSolution.Cs.b,sinkSolution.Ce.a,$PRE.pulse.T0,$PRE.Pulse1.T0,pulse.T0,Pulse1.T0,Pulse1.yL.signal,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001603/1.164, allocations: 157 kB / 424.5 MB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/1.164, allocations: 23.92 kB / 424.5 MB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001861/1.164, allocations: 180.5 kB / 424.7 MB, free: 15.63 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/1.164, allocations: 4 kB / 424.7 MB, free: 15.63 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/1.164, allocations: 0 / 424.7 MB, free: 15.63 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/1.164, allocations: 0 / 424.7 MB, free: 15.63 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/1.164, allocations: 141.7 kB / 424.9 MB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.164, allocations: 0 / 424.9 MB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006247/1.165, allocations: 199.8 kB / 425.1 MB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-05/1.165, allocations: 27.84 kB / 425.1 MB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/1.165, allocations: 3.938 kB / 425.1 MB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/1.165, allocations: 8 kB / 425.1 MB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001968/1.165, allocations: 0.5781 MB / 425.7 MB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.165, allocations: 4 kB / 425.7 MB, free: 14.63 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/1.165, allocations: 180.4 kB / 425.9 MB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/1.165, allocations: 8 kB / 425.9 MB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.241e-05/1.165, allocations: 7.938 kB / 425.9 MB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/1.165, allocations: 24.03 kB / 425.9 MB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/1.165, allocations: 0 / 425.9 MB, free: 14.39 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.152e-05/1.165, allocations: 58.03 kB / 426 MB, free: 14.33 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/1.165, allocations: 0 / 426 MB, free: 14.33 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000838/1.166, allocations: 411.3 kB / 426.4 MB, free: 13.93 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,Pulse1.yL.signal,Pulse1.T0,pulse.T0) * Number of discrete states: 3 (Pulse1.yL.signal,Pulse1.T0,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001155/1.167, allocations: 0.6003 MB / 427 MB, free: 13.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00385/1.171, allocations: 0.8905 MB / 427.8 MB, free: 12.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.354e-05/1.171, allocations: 4.125 kB / 427.9 MB, free: 12.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003294/1.174, allocations: 0.6776 MB / 428.5 MB, free: 11.69 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/1.175, allocations: 47.7 kB / 428.6 MB, free: 11.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003106/1.178, allocations: 486.1 kB / 429.1 MB, free: 11.13 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.257e-05/1.178, allocations: 75.98 kB / 429.1 MB, free: 11.04 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.417e-05/1.178, allocations: 17.48 kB / 429.1 MB, free: 11.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/1.178, allocations: 91.22 kB / 429.2 MB, free: 10.93 MB / 426.7 MB Notification: Performance of SimCode: time 1.122e-06/1.178, allocations: 4 kB / 429.2 MB, free: 10.93 MB / 426.7 MB Notification: Performance of Templates: time 0.01593/1.194, allocations: 14.13 MB / 443.4 MB, free: 12.83 MB / 442.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08792/1.282, allocations: 53.72 MB / 497.1 MB, free: 7.02 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4541779765859246]