Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.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.4873/0.4873, allocations: 111.6 MB / 131.5 MB, free: 4.418 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.TestCentrifugalPump8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 176.6 MB, free: 8.867 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.78e-05, allocations: 2.312 kB / 176.6 MB, free: 8.863 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.TestCentrifugalPump8): time 1.067/1.067, allocations: 263 MB / 439.6 MB, free: 14.99 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0268/1.094, allocations: 29.92 MB / 469.5 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001899/1.094, allocations: 0 / 469.5 MB, free: 0.9531 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.0003242/1.095, allocations: 107.3 kB / 469.6 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003936/1.095, allocations: 125.1 kB / 469.8 MB, free: 0.7227 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.01766/1.113, allocations: 8.77 MB / 478.5 MB, free: 7.922 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005308/1.113, allocations: 458.1 kB / 479 MB, free: 7.473 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002194/1.114, allocations: 179.7 kB / 479.2 MB, free: 7.293 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003147/1.114, allocations: 279.3 kB / 479.4 MB, free: 7.02 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/1.114, allocations: 131.6 kB / 479.6 MB, free: 6.891 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.704e-05/1.114, allocations: 32 kB / 479.6 MB, free: 6.859 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2028/1.317, allocations: 14.29 MB / 493.9 MB, free: 9.562 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001805/1.317, allocations: 186.3 kB / 494.1 MB, free: 9.562 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001931/1.317, allocations: 158.8 kB / 494.2 MB, free: 9.562 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01669/1.334, allocations: 9.871 MB / 0.4923 GB, free: 9.273 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/1.334, allocations: 2.5 kB / 0.4923 GB, free: 9.273 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.924e-06/1.334, allocations: 0 / 0.4923 GB, free: 9.273 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.518e-05/1.334, allocations: 0.9375 kB / 0.4923 GB, free: 9.273 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.005145/1.339, allocations: 1.786 MB / 0.494 GB, free: 8.137 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/1.339, allocations: 13.77 kB / 0.494 GB, free: 8.133 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/1.339, allocations: 78.98 kB / 0.4941 GB, free: 8.113 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/1.339, allocations: 353.8 kB / 0.4944 GB, free: 7.855 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/1.34, allocations: 23.56 kB / 0.4945 GB, free: 7.855 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/1.34, allocations: 30.06 kB / 0.4945 GB, free: 7.855 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004058/1.34, allocations: 409.7 kB / 0.4949 GB, free: 7.641 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/1.34, allocations: 6.812 kB / 0.4949 GB, free: 7.641 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/1.34, allocations: 15.47 kB / 0.4949 GB, free: 7.641 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/1.34, allocations: 7.062 kB / 0.4949 GB, free: 7.641 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000235/1.34, allocations: 286 kB / 0.4952 GB, free: 7.586 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/1.341, allocations: 1.668 MB / 0.4968 GB, free: 6.461 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004231/1.342, allocations: 397.6 kB / 0.4972 GB, free: 6.375 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.554e-05/1.342, allocations: 126.4 kB / 0.4973 GB, free: 6.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03415/1.376, allocations: 20.36 MB / 0.5172 GB, free: 7.188 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/1.376, allocations: 38.56 kB / 0.5172 GB, free: 7.141 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 2.164e-06/1.376, allocations: 0 / 0.5172 GB, free: 7.141 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.00148/1.377, allocations: 0.766 MB / 0.518 GB, free: 6.379 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/1.377, allocations: 59.25 kB / 0.518 GB, free: 6.312 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000393/1.378, allocations: 0.5688 MB / 0.5186 GB, free: 5.836 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/1.378, allocations: 25.7 kB / 0.5186 GB, free: 5.805 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/1.378, allocations: 247.8 kB / 0.5188 GB, free: 5.59 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.478e-05/1.378, allocations: 135.6 kB / 0.519 GB, free: 5.465 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.257e-05/1.378, allocations: 66.39 kB / 0.519 GB, free: 5.402 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.012e-05/1.378, allocations: 324.6 kB / 0.5193 GB, free: 5.086 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.856e-05/1.378, allocations: 95.95 kB / 0.5194 GB, free: 4.992 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/1.378, allocations: 159.9 kB / 0.5196 GB, free: 4.828 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/1.379, allocations: 292.2 kB / 0.5199 GB, free: 4.535 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.379, allocations: 0 / 0.5199 GB, free: 4.535 MB / 442.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004165/1.379, allocations: 451.1 kB / 0.5203 GB, free: 4.102 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/1.379, allocations: 8 kB / 0.5203 GB, free: 4.094 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/1.379, allocations: 0 / 0.5203 GB, free: 4.094 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002025/1.381, allocations: 0.6776 MB / 0.521 GB, free: 3.426 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.619e-05/1.381, allocations: 34.98 kB / 0.521 GB, free: 3.395 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006029/1.382, allocations: 0.9591 MB / 0.5219 GB, free: 2.441 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/1.382, allocations: 35.78 kB / 0.522 GB, free: 2.406 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/1.382, allocations: 4 kB / 0.522 GB, free: 2.402 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.0001336/1.382, allocations: 136.1 kB / 0.5221 GB, free: 2.262 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.912e-05/1.382, allocations: 47.95 kB / 0.5222 GB, free: 2.215 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005411/1.383, allocations: 0.5794 MB / 0.5227 GB, free: 1.637 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003235/1.383, allocations: 418.9 kB / 0.5231 GB, free: 1.227 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/1.383, allocations: 0 / 0.5231 GB, free: 1.227 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.383, allocations: 3.984 kB / 0.5231 GB, free: 1.223 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009814/1.384, allocations: 1.149 MB / 0.5242 GB, free: 128 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/1.384, allocations: 3.938 kB / 0.5242 GB, free: 124 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.075e-05/1.384, allocations: 43.08 kB / 0.5243 GB, free: 84 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008277/1.385, allocations: 427.4 kB / 0.5247 GB, free: 15.67 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/1.385, allocations: 12.94 kB / 0.5247 GB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005346/1.385, allocations: 0.9868 MB / 0.5257 GB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.385, allocations: 3.094 kB / 0.5257 GB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004498/1.386, allocations: 0.6098 MB / 0.5263 GB, free: 14.05 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.307e-05/1.386, allocations: 87.86 kB / 0.5264 GB, free: 13.96 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/1.386, allocations: 11.94 kB / 0.5264 GB, free: 13.95 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.843e-05/1.386, allocations: 12.61 kB / 0.5264 GB, free: 13.94 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/1.386, allocations: 24.98 kB / 0.5264 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/1.386, allocations: 8 kB / 0.5264 GB, free: 13.91 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001731/1.386, allocations: 271.1 kB / 0.5267 GB, free: 13.68 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/1.386, allocations: 4 kB / 0.5267 GB, free: 13.67 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002961/1.389, allocations: 1.161 MB / 0.5278 GB, free: 12.51 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.004553/1.394, allocations: 1.885 MB / 0.5296 GB, free: 10.84 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00058/1.394, allocations: 412.9 kB / 0.53 GB, free: 10.45 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.737e-05/1.394, allocations: 8 kB / 0.53 GB, free: 10.44 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002567/1.395, allocations: 231.3 kB / 0.5303 GB, free: 10.22 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/1.395, allocations: 92.47 kB / 0.5304 GB, free: 10.14 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/1.397, allocations: 1.367 MB / 0.5317 GB, free: 8.758 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/1.397, allocations: 180.8 kB / 0.5319 GB, free: 8.559 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.727e-05/1.397, allocations: 24.53 kB / 0.5319 GB, free: 8.535 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/1.397, allocations: 99.28 kB / 0.532 GB, free: 8.438 MB / 458.7 MB Notification: Performance of SimCode: time 1.573e-06/1.397, allocations: 0 / 0.532 GB, free: 8.438 MB / 458.7 MB Notification: Performance of Templates: time 0.04861/1.446, allocations: 46.91 MB / 0.5778 GB, free: 9.777 MB / 0.4948 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.880070972256362]