Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.5108/0.5108, allocations: 111.6 MB / 132.2 MB, free: 4.402 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 177.2 MB, free: 8.996 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.645e-05, allocations: 6.312 kB / 177.2 MB, free: 8.988 MB / 170.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.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1): time 1.121/1.121, allocations: 257.1 MB / 434.3 MB, free: 232 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02462/1.145, allocations: 29.45 MB / 463.8 MB, free: 2.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002457/1.145, allocations: 0 / 463.8 MB, free: 2.66 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/CentrifugalPump.mo:64:3-65:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/CentrifugalPump.mo:66:3-67:78:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/CentrifugalPump.mo:70:3-71:99:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourcePQ.mo:16:3-17:78:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/Sink.mo:10:3-11:80:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/ElectroMechanics/BoundaryConditions/SourceAngularVelocity.mo:6:3-7:99:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003754/1.146, allocations: 111.3 kB / 463.9 MB, free: 2.551 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002183/1.146, allocations: 125.1 kB / 464 MB, free: 2.426 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:525:9-525:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:708:9-708:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01927/1.165, allocations: 8.689 MB / 472.7 MB, free: 9.703 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005473/1.166, allocations: 454.2 kB / 473.1 MB, free: 9.258 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002216/1.166, allocations: 177.7 kB / 473.3 MB, free: 9.086 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003223/1.166, allocations: 279.2 kB / 473.6 MB, free: 8.812 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/1.167, allocations: 135.6 kB / 473.7 MB, free: 8.68 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.75e-05/1.167, allocations: 32 kB / 473.8 MB, free: 8.648 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2262/1.393, allocations: 14.28 MB / 488 MB, free: 11.01 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002129/1.393, allocations: 191.9 kB / 488.2 MB, free: 11.01 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002311/1.393, allocations: 151.9 kB / 488.4 MB, free: 11.01 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01816/1.411, allocations: 9.88 MB / 498.2 MB, free: 10.73 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/1.411, allocations: 2.75 kB / 498.2 MB, free: 10.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.734e-06/1.411, allocations: 0 / 498.2 MB, free: 10.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.082e-05/1.411, allocations: 0 / 498.2 MB, free: 10.73 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.005216/1.417, allocations: 1.932 MB / 0.4885 GB, free: 9.547 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/1.417, allocations: 15.77 kB / 0.4885 GB, free: 9.543 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/1.417, allocations: 116.9 kB / 0.4886 GB, free: 9.492 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/1.417, allocations: 382.6 kB / 0.4889 GB, free: 9.227 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/1.417, allocations: 26.41 kB / 0.489 GB, free: 9.227 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/1.417, allocations: 29.41 kB / 0.489 GB, free: 9.227 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00037/1.417, allocations: 431.2 kB / 0.4894 GB, free: 9.047 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/1.417, allocations: 5.5 kB / 0.4894 GB, free: 9.047 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/1.418, allocations: 13.53 kB / 0.4894 GB, free: 9.047 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/1.418, allocations: 11.25 kB / 0.4894 GB, free: 9.047 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002459/1.418, allocations: 285 kB / 0.4897 GB, free: 9.043 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/1.419, allocations: 2.331 MB / 0.492 GB, free: 7.469 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004632/1.419, allocations: 429.4 kB / 0.4924 GB, free: 7.434 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/1.42, allocations: 128.8 kB / 0.4925 GB, free: 7.422 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03372/1.453, allocations: 19.77 MB / 0.5118 GB, free: 9.941 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/1.453, allocations: 41.39 kB / 0.5119 GB, free: 9.891 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 2.364e-06/1.453, allocations: 3.938 kB / 0.5119 GB, free: 9.887 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.001635/1.455, allocations: 0.8534 MB / 0.5127 GB, free: 9.031 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/1.455, allocations: 55.41 kB / 0.5128 GB, free: 8.965 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000458/1.455, allocations: 0.6941 MB / 0.5134 GB, free: 8.363 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/1.455, allocations: 29.7 kB / 0.5135 GB, free: 8.328 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/1.456, allocations: 450.5 kB / 0.5139 GB, free: 7.914 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.413e-05/1.456, allocations: 127.5 kB / 0.514 GB, free: 7.797 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.376e-05/1.456, allocations: 71.08 kB / 0.5141 GB, free: 7.727 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/1.456, allocations: 499.5 kB / 0.5146 GB, free: 7.238 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.719e-05/1.456, allocations: 111.9 kB / 0.5147 GB, free: 7.129 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/1.456, allocations: 181.6 kB / 0.5148 GB, free: 6.934 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002394/1.456, allocations: 310.7 kB / 0.5151 GB, free: 6.621 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/1.456, allocations: 4 kB / 0.5151 GB, free: 6.617 MB / 442.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005044/1.457, allocations: 0.5269 MB / 0.5157 GB, free: 6.098 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/1.457, allocations: 4 kB / 0.5157 GB, free: 6.094 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/1.457, allocations: 4 kB / 0.5157 GB, free: 6.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002116/1.459, allocations: 0.6888 MB / 0.5163 GB, free: 5.406 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.972e-05/1.459, allocations: 35.53 kB / 0.5164 GB, free: 5.375 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007394/1.46, allocations: 1.278 MB / 0.5176 GB, free: 4.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/1.46, allocations: 35.73 kB / 0.5176 GB, free: 4.055 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/1.46, allocations: 8.562 kB / 0.5177 GB, free: 4.047 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (centrifugalPump.C1.a,centrifugalPump.C2.b,sourcePQ.C.b,sink.C.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0001485/1.46, allocations: 179.4 kB / 0.5178 GB, free: 3.867 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.055e-05/1.46, allocations: 91.47 kB / 0.5179 GB, free: 3.777 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006102/1.461, allocations: 0.5862 MB / 0.5185 GB, free: 3.191 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004171/1.461, allocations: 464.9 kB / 0.5189 GB, free: 2.734 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/1.461, allocations: 3.984 kB / 0.5189 GB, free: 2.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/1.461, allocations: 1.688 kB / 0.5189 GB, free: 2.73 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/1.462, allocations: 1.29 MB / 0.5202 GB, free: 1.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/1.462, allocations: 4 kB / 0.5202 GB, free: 1.477 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.473e-05/1.463, allocations: 44.48 kB / 0.5202 GB, free: 1.434 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009059/1.463, allocations: 435.4 kB / 0.5207 GB, free: 1.012 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/1.463, allocations: 19.98 kB / 0.5207 GB, free: 0.9922 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006616/1.464, allocations: 1.276 MB / 0.5219 GB, free: 15.71 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.464, allocations: 4.547 kB / 0.5219 GB, free: 15.71 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005329/1.465, allocations: 0.7073 MB / 0.5226 GB, free: 14.99 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/1.465, allocations: 95.28 kB / 0.5227 GB, free: 14.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/1.465, allocations: 15.98 kB / 0.5227 GB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.15e-05/1.465, allocations: 8 kB / 0.5227 GB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/1.465, allocations: 29.14 kB / 0.5228 GB, free: 14.85 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/1.465, allocations: 12.11 kB / 0.5228 GB, free: 14.84 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004153/1.465, allocations: 409.4 kB / 0.5232 GB, free: 14.48 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.1e-07/1.465, allocations: 0 / 0.5232 GB, free: 14.48 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003287/1.469, allocations: 1.161 MB / 0.5243 GB, free: 13.32 MB / 458.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 21 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004299/1.473, allocations: 1.843 MB / 0.5261 GB, free: 11.68 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005733/1.473, allocations: 434.1 kB / 0.5265 GB, free: 11.27 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.474, allocations: 0 / 0.5265 GB, free: 11.27 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002659/1.474, allocations: 250.5 kB / 0.5267 GB, free: 11.03 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/1.474, allocations: 92 kB / 0.5268 GB, free: 10.95 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/1.476, allocations: 1.357 MB / 0.5282 GB, free: 9.582 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/1.476, allocations: 192.8 kB / 0.5283 GB, free: 9.371 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.164e-05/1.476, allocations: 25.91 kB / 0.5284 GB, free: 9.348 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/1.476, allocations: 114.2 kB / 0.5285 GB, free: 9.234 MB / 458.7 MB Notification: Performance of SimCode: time 1.062e-06/1.476, allocations: 4 kB / 0.5285 GB, free: 9.23 MB / 458.7 MB Notification: Performance of Templates: time 0.05065/1.527, allocations: 47.59 MB / 0.575 GB, free: 9.922 MB / 0.4948 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.491323780734092]