Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump5.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.7796/0.7796, allocations: 111.6 MB / 131 MB, free: 5.102 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.SimpleExamples.TestCentrifugalPump5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump5") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.434e-06/2.434e-06, allocations: 0 / 175.7 MB, free: 9.449 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.753e-05, allocations: 2.312 kB / 175.7 MB, free: 9.445 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.SimpleExamples.TestCentrifugalPump5): time 1.629/1.629, allocations: 254.9 MB / 430.6 MB, free: 324 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04346/1.673, allocations: 27.83 MB / 458.4 MB, free: 4.379 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002227/1.673, allocations: 4 kB / 458.4 MB, free: 4.375 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/Machines/Shaft.mo:10:3-11:79:writable] Warning: Connector C2 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/ElectroMechanics/Machines/Shaft.mo:12:3-13:81:writable] Warning: Connector C1 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/ElectroMechanics/Machines/SynchronousMotor.mo:21:3-22:78:writable] Warning: Connector C 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.0004486/1.674, allocations: 115.2 kB / 458.5 MB, free: 4.262 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002978/1.674, allocations: 136.9 kB / 458.7 MB, free: 4.129 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.02325/1.697, allocations: 8.696 MB / 467.4 MB, free: 11.39 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008584/1.698, allocations: 0.5173 MB / 467.9 MB, free: 10.88 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003484/1.698, allocations: 207.6 kB / 468.1 MB, free: 10.67 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005287/1.699, allocations: 323.1 kB / 468.4 MB, free: 10.35 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002795/1.699, allocations: 147.6 kB / 468.5 MB, free: 10.21 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.497e-05/1.699, allocations: 40 kB / 468.6 MB, free: 10.17 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02881/1.728, allocations: 14.3 MB / 482.9 MB, free: 11.85 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002863/1.728, allocations: 207.2 kB / 483.1 MB, free: 11.65 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003157/1.729, allocations: 179.3 kB / 483.3 MB, free: 11.47 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0205/1.749, allocations: 10.1 MB / 493.4 MB, free: 1.344 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/1.749, allocations: 0 / 493.4 MB, free: 1.344 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.443e-06/1.749, allocations: 0 / 493.4 MB, free: 1.344 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.646e-06/1.749, allocations: 0 / 493.4 MB, free: 1.344 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.1361/1.885, allocations: 1.927 MB / 495.3 MB, free: 109.4 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/1.885, allocations: 13.52 kB / 495.3 MB, free: 109.4 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/1.885, allocations: 133.7 kB / 495.4 MB, free: 109.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/1.886, allocations: 397.2 kB / 495.8 MB, free: 109.1 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/1.886, allocations: 30.84 kB / 495.8 MB, free: 109.1 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.125e-05/1.886, allocations: 42.86 kB / 495.9 MB, free: 109.1 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007381/1.887, allocations: 0.6544 MB / 496.5 MB, free: 108.7 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/1.887, allocations: 7.812 kB / 496.5 MB, free: 108.7 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.418e-05/1.887, allocations: 14.03 kB / 496.6 MB, free: 108.7 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/1.887, allocations: 15.42 kB / 496.6 MB, free: 108.7 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000752/1.887, allocations: 0.6655 MB / 497.2 MB, free: 108.5 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/1.889, allocations: 2.043 MB / 499.3 MB, free: 107.1 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/1.89, allocations: 0.8614 MB / 0.4884 GB, free: 106.9 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000362/1.891, allocations: 343.3 kB / 0.4888 GB, free: 106.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06639/1.957, allocations: 22.63 MB / 0.5109 GB, free: 85.31 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/1.957, allocations: 38.56 kB / 0.5109 GB, free: 85.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 2.054e-06/1.957, allocations: 0.7656 kB / 0.5109 GB, free: 85.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=45): time 0.005163/1.962, allocations: 1.952 MB / 0.5128 GB, free: 83.27 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/1.962, allocations: 106.8 kB / 0.5129 GB, free: 83.14 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006235/1.963, allocations: 0.7535 MB / 0.5136 GB, free: 82.38 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/1.963, allocations: 29.7 kB / 0.5137 GB, free: 82.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/1.963, allocations: 380.6 kB / 0.514 GB, free: 81.98 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.428e-05/1.963, allocations: 163.8 kB / 0.5142 GB, free: 81.84 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/1.963, allocations: 78.19 kB / 0.5143 GB, free: 81.76 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.559e-05/1.963, allocations: 318 kB / 0.5146 GB, free: 81.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003389/1.964, allocations: 327.8 kB / 0.5149 GB, free: 81.11 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003515/1.964, allocations: 383.4 kB / 0.5152 GB, free: 80.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006949/1.965, allocations: 0.7064 MB / 0.5159 GB, free: 79.96 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/1.965, allocations: 0.6562 kB / 0.5159 GB, free: 79.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001836/1.967, allocations: 1.206 MB / 0.5171 GB, free: 78.72 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.556e-05/1.967, allocations: 59.39 kB / 0.5172 GB, free: 78.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/1.967, allocations: 4 kB / 0.5172 GB, free: 78.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00481/1.971, allocations: 1.057 MB / 0.5182 GB, free: 77.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/1.971, allocations: 20 kB / 0.5182 GB, free: 77.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/1.973, allocations: 1.847 MB / 0.52 GB, free: 75.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002843/1.973, allocations: 37.09 kB / 0.5201 GB, free: 75.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/1.973, allocations: 19.98 kB / 0.5201 GB, free: 75.65 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: 6 (sink.C.a,sourcePQ.C.b,centrifugalPump.C2.b,centrifugalPump.C1.a,nONL.yL.signal,echelon.yL.signal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * 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 {(5,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0002968/1.974, allocations: 306.5 kB / 0.5204 GB, free: 75.33 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/1.974, allocations: 95.44 kB / 0.5205 GB, free: 75.24 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001838/1.976, allocations: 1.3 MB / 0.5217 GB, free: 73.91 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001406/1.977, allocations: 1.118 MB / 0.5228 GB, free: 72.75 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.977, allocations: 0.7656 kB / 0.5228 GB, free: 72.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/1.977, allocations: 4 kB / 0.5228 GB, free: 72.75 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/1.979, allocations: 2.106 MB / 0.5249 GB, free: 70.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/1.979, allocations: 5.188 kB / 0.5249 GB, free: 70.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/1.979, allocations: 32.64 kB / 0.5249 GB, free: 70.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002407/1.982, allocations: 0.7456 MB / 0.5256 GB, free: 69.83 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/1.982, allocations: 15.94 kB / 0.5257 GB, free: 69.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001446/1.983, allocations: 1.837 MB / 0.5275 GB, free: 67.95 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.983, allocations: 0 / 0.5275 GB, free: 67.95 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/1.985, allocations: 1.757 MB / 0.5292 GB, free: 66.14 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/1.985, allocations: 113 kB / 0.5293 GB, free: 66.04 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.025e-05/1.985, allocations: 16.62 kB / 0.5293 GB, free: 66.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/1.985, allocations: 15.98 kB / 0.5293 GB, free: 66 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.635e-05/1.986, allocations: 24.45 kB / 0.5293 GB, free: 65.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/1.986, allocations: 15.98 kB / 0.5294 GB, free: 65.96 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000421/1.986, allocations: 0.5224 MB / 0.5299 GB, free: 65.45 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/1.986, allocations: 0 / 0.5299 GB, free: 65.45 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002398/1.988, allocations: 1.179 MB / 0.531 GB, free: 64.3 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (shaft.delta,synchronousMotor.w,synchronousMotor.Im) * Number of discrete variables: 2 (echelon.yL.signal,nONL.yL.signal) * Number of discrete states: 2 (echelon.yL.signal,nONL.yL.signal) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 2 * 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 {(5,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003987/1.992, allocations: 1.768 MB / 0.5327 GB, free: 62.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001344/1.994, allocations: 0.9733 MB / 0.5337 GB, free: 61.73 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.994, allocations: 0 / 0.5337 GB, free: 61.73 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007555/1.994, allocations: 0.5718 MB / 0.5342 GB, free: 61.13 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006228/1.995, allocations: 92.97 kB / 0.5343 GB, free: 61.05 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00257/1.998, allocations: 1.912 MB / 0.5362 GB, free: 59.11 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/1.998, allocations: 415.1 kB / 0.5366 GB, free: 58.68 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.492e-05/1.998, allocations: 28.8 kB / 0.5366 GB, free: 58.65 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.022e-05/1.998, allocations: 20.5 kB / 0.5366 GB, free: 58.63 MB / 442.7 MB Notification: Performance of SimCode: time 6.81e-07/1.998, allocations: 0 / 0.5366 GB, free: 58.63 MB / 442.7 MB Notification: Performance of Templates: time 0.04425/2.042, allocations: 41.36 MB / 0.577 GB, free: 17.39 MB / 442.7 MB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump5.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump5.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump5.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump5.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump5.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump5.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.586543798912317]