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.8431/0.8431, allocations: 111.6 MB / 131 MB, free: 5.094 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.043e-06/2.043e-06, allocations: 0 / 175.7 MB, free: 9.461 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.596e-05, allocations: 8.922 kB / 175.7 MB, free: 9.453 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.711/1.711, allocations: 255.1 MB / 430.8 MB, free: 240 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04617/1.758, allocations: 29.9 MB / 460.7 MB, free: 2.227 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001949/1.758, allocations: 4 kB / 460.7 MB, free: 2.223 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.0004187/1.758, allocations: 115.2 kB / 460.8 MB, free: 2.109 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000298/1.758, allocations: 144.9 kB / 460.9 MB, free: 1.969 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.02418/1.783, allocations: 8.689 MB / 469.6 MB, free: 9.242 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008215/1.783, allocations: 0.5173 MB / 470.1 MB, free: 8.723 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005655/1.784, allocations: 211.6 kB / 470.4 MB, free: 8.512 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005004/1.785, allocations: 319.1 kB / 470.7 MB, free: 8.199 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003019/1.785, allocations: 151.5 kB / 470.8 MB, free: 8.051 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.885e-05/1.785, allocations: 36 kB / 470.8 MB, free: 8.016 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02855/1.813, allocations: 14.29 MB / 485.1 MB, free: 9.703 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000299/1.814, allocations: 207.3 kB / 485.3 MB, free: 9.5 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003047/1.814, allocations: 175.3 kB / 485.5 MB, free: 9.328 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1985/2.013, allocations: 10.1 MB / 495.6 MB, free: 23.39 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/2.013, allocations: 1.625 kB / 495.6 MB, free: 23.39 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.443e-06/2.013, allocations: 0 / 495.6 MB, free: 23.39 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.24e-05/2.013, allocations: 0 / 495.6 MB, free: 23.39 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.004062/2.017, allocations: 2.09 MB / 497.7 MB, free: 22.2 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/2.017, allocations: 12.92 kB / 497.7 MB, free: 22.19 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/2.017, allocations: 133.6 kB / 497.8 MB, free: 22.13 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004045/2.017, allocations: 402.5 kB / 498.2 MB, free: 21.87 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.413e-05/2.017, allocations: 28.22 kB / 498.3 MB, free: 21.87 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.839e-05/2.017, allocations: 39.16 kB / 498.3 MB, free: 21.87 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000797/2.018, allocations: 0.657 MB / 499 MB, free: 21.64 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/2.018, allocations: 1.125 kB / 499 MB, free: 21.64 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.517e-05/2.018, allocations: 17.91 kB / 499 MB, free: 21.64 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/2.018, allocations: 12.55 kB / 499 MB, free: 21.64 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008277/2.019, allocations: 0.6131 MB / 499.6 MB, free: 21.57 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002144/2.021, allocations: 2.692 MB / 0.4905 GB, free: 19.96 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/2.022, allocations: 0.8391 MB / 0.4913 GB, free: 19.86 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003877/2.023, allocations: 327.5 kB / 0.4917 GB, free: 19.79 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07261/2.095, allocations: 22.7 MB / 0.5138 GB, free: 14.81 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/2.095, allocations: 41.33 kB / 0.5139 GB, free: 14.76 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 1.994e-06/2.095, allocations: 5.969 kB / 0.5139 GB, free: 14.76 MB / 442.7 MB Notification: Performance of matching and sorting (n=45): time 0.004758/2.1, allocations: 1.837 MB / 0.5157 GB, free: 13.43 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/2.1, allocations: 110.7 kB / 0.5158 GB, free: 13.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007035/2.101, allocations: 0.8181 MB / 0.5166 GB, free: 12.79 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/2.101, allocations: 28.95 kB / 0.5166 GB, free: 12.75 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/2.101, allocations: 479.4 kB / 0.517 GB, free: 12.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.697e-05/2.101, allocations: 161.9 kB / 0.5172 GB, free: 12.38 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/2.101, allocations: 107.1 kB / 0.5173 GB, free: 12.31 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.36e-05/2.101, allocations: 0.4985 MB / 0.5178 GB, free: 11.82 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003013/2.102, allocations: 300.9 kB / 0.5181 GB, free: 11.6 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003285/2.102, allocations: 393.6 kB / 0.5185 GB, free: 11.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006304/2.103, allocations: 0.7024 MB / 0.5191 GB, free: 10.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/2.103, allocations: 0.6875 kB / 0.5191 GB, free: 10.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001609/2.104, allocations: 1.159 MB / 0.5203 GB, free: 9.668 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.122e-05/2.104, allocations: 59.41 kB / 0.5203 GB, free: 9.598 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/2.104, allocations: 0 / 0.5203 GB, free: 9.598 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004631/2.109, allocations: 1.037 MB / 0.5213 GB, free: 8.648 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/2.109, allocations: 27.92 kB / 0.5214 GB, free: 8.621 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001608/2.111, allocations: 2.093 MB / 0.5234 GB, free: 6.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002434/2.111, allocations: 38.08 kB / 0.5235 GB, free: 6.879 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/2.111, allocations: 13.81 kB / 0.5235 GB, free: 6.867 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.0001985/2.111, allocations: 264.9 kB / 0.5237 GB, free: 6.613 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/2.111, allocations: 95.69 kB / 0.5238 GB, free: 6.523 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/2.113, allocations: 1.178 MB / 0.525 GB, free: 5.535 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001258/2.114, allocations: 1.037 MB / 0.526 GB, free: 4.48 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/2.114, allocations: 0 / 0.526 GB, free: 4.48 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/2.114, allocations: 7.922 kB / 0.526 GB, free: 4.473 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002273/2.116, allocations: 2.191 MB / 0.5281 GB, free: 2.227 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/2.116, allocations: 0 / 0.5281 GB, free: 2.227 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/2.117, allocations: 39.08 kB / 0.5282 GB, free: 2.191 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002328/2.119, allocations: 0.7173 MB / 0.5289 GB, free: 1.473 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.163e-05/2.119, allocations: 12.81 kB / 0.5289 GB, free: 1.461 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/2.121, allocations: 2.055 MB / 0.5309 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/2.121, allocations: 0 / 0.5309 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002461/2.123, allocations: 1.698 MB / 0.5325 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002533/2.123, allocations: 111.3 kB / 0.5326 GB, free: 13.51 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.388e-05/2.123, allocations: 12 kB / 0.5326 GB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/2.124, allocations: 20.8 kB / 0.5327 GB, free: 13.48 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.129e-05/2.124, allocations: 31.44 kB / 0.5327 GB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.157e-05/2.124, allocations: 13.42 kB / 0.5327 GB, free: 13.44 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006436/2.124, allocations: 486.9 kB / 0.5332 GB, free: 12.97 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/2.124, allocations: 0 / 0.5332 GB, free: 12.97 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003179/2.128, allocations: 1.177 MB / 0.5343 GB, free: 11.79 MB / 458.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.005565/2.133, allocations: 1.779 MB / 0.5361 GB, free: 10.24 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001845/2.135, allocations: 0.9545 MB / 0.537 GB, free: 9.242 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/2.135, allocations: 0 / 0.537 GB, free: 9.242 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00107/2.136, allocations: 0.5805 MB / 0.5376 GB, free: 8.625 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006882/2.137, allocations: 89.89 kB / 0.5376 GB, free: 8.535 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003483/2.14, allocations: 1.789 MB / 0.5394 GB, free: 6.723 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004912/2.141, allocations: 399.2 kB / 0.5398 GB, free: 6.309 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.36e-05/2.141, allocations: 20.86 kB / 0.5398 GB, free: 6.289 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.372e-05/2.141, allocations: 24.5 kB / 0.5398 GB, free: 6.266 MB / 458.7 MB Notification: Performance of SimCode: time 8.41e-07/2.141, allocations: 0 / 0.5398 GB, free: 6.266 MB / 458.7 MB Notification: Performance of Templates: time 0.07067/2.212, allocations: 41.99 MB / 0.5808 GB, free: 12.47 MB / 0.4948 GB " [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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump5.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.564610100002028]