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.7785/0.7785, allocations: 111.6 MB / 131 MB, free: 5.07 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.904e-06/1.904e-06, allocations: 0 / 175.7 MB, free: 9.453 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.839e-05, allocations: 4.703 kB / 175.7 MB, free: 9.449 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.654/1.654, allocations: 254.7 MB / 430.4 MB, free: 208 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04399/1.698, allocations: 27.8 MB / 458.2 MB, free: 4.297 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/1.698, allocations: 4 kB / 458.2 MB, free: 4.293 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.0004019/1.699, allocations: 103.3 kB / 458.3 MB, free: 4.191 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002701/1.699, allocations: 125 kB / 458.4 MB, free: 4.07 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.02382/1.723, allocations: 8.673 MB / 467.1 MB, free: 11.36 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007097/1.724, allocations: 466 kB / 467.5 MB, free: 10.9 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003039/1.724, allocations: 177.4 kB / 467.7 MB, free: 10.73 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005038/1.725, allocations: 283.2 kB / 468 MB, free: 10.45 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002457/1.725, allocations: 131.6 kB / 468.1 MB, free: 10.32 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.541e-05/1.725, allocations: 32 kB / 468.2 MB, free: 10.29 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02915/1.754, allocations: 14.29 MB / 482.4 MB, free: 11.98 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002843/1.754, allocations: 195.3 kB / 482.6 MB, free: 11.79 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002709/1.755, allocations: 151.4 kB / 482.8 MB, free: 11.64 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02174/1.776, allocations: 10.04 MB / 492.8 MB, free: 1.574 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/1.776, allocations: 0 / 492.8 MB, free: 1.574 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.393e-06/1.776, allocations: 0 / 492.8 MB, free: 1.574 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.056e-06/1.776, allocations: 0 / 492.8 MB, free: 1.574 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.1481/1.924, allocations: 1.821 MB / 494.6 MB, free: 109.6 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/1.924, allocations: 13.55 kB / 494.7 MB, free: 109.6 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/1.925, allocations: 119.2 kB / 494.8 MB, free: 109.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000379/1.925, allocations: 370.6 kB / 495.1 MB, free: 109.3 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.168e-05/1.925, allocations: 24.16 kB / 495.2 MB, free: 109.3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.893e-05/1.925, allocations: 33.97 kB / 495.2 MB, free: 109.3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000874/1.926, allocations: 0.5755 MB / 495.8 MB, free: 109.1 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/1.926, allocations: 0 / 495.8 MB, free: 109.1 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.398e-05/1.926, allocations: 15.97 kB / 495.8 MB, free: 109.1 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/1.926, allocations: 11.88 kB / 495.8 MB, free: 109 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008214/1.927, allocations: 0.613 MB / 496.4 MB, free: 108.9 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001524/1.928, allocations: 1.957 MB / 498.4 MB, free: 107.6 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/1.929, allocations: 0.7676 MB / 499.1 MB, free: 107.4 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003893/1.93, allocations: 278.7 kB / 499.4 MB, free: 107.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06725/1.997, allocations: 22.64 MB / 0.5098 GB, free: 86.05 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/1.997, allocations: 31.44 kB / 0.5098 GB, free: 86.01 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 2.836e-06/1.997, allocations: 0 / 0.5098 GB, free: 86.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.003988/2.001, allocations: 1.477 MB / 0.5113 GB, free: 84.52 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.132e-05/2.001, allocations: 55.41 kB / 0.5113 GB, free: 84.46 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005703/2.002, allocations: 0.7262 MB / 0.512 GB, free: 83.72 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/2.002, allocations: 29.7 kB / 0.5121 GB, free: 83.68 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/2.002, allocations: 364 kB / 0.5124 GB, free: 83.34 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.904e-05/2.002, allocations: 128.9 kB / 0.5125 GB, free: 83.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.673e-05/2.002, allocations: 66.89 kB / 0.5126 GB, free: 83.16 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.756e-05/2.002, allocations: 322 kB / 0.5129 GB, free: 82.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003606/2.002, allocations: 259.9 kB / 0.5132 GB, free: 82.59 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003694/2.003, allocations: 316.9 kB / 0.5135 GB, free: 82.26 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000698/2.004, allocations: 0.5763 MB / 0.514 GB, free: 81.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/2.004, allocations: 0 / 0.514 GB, free: 81.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001241/2.005, allocations: 0.887 MB / 0.5149 GB, free: 80.77 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/2.005, allocations: 8 kB / 0.5149 GB, free: 80.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/2.005, allocations: 0 / 0.5149 GB, free: 80.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004151/2.009, allocations: 0.8048 MB / 0.5157 GB, free: 79.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/2.009, allocations: 31.92 kB / 0.5157 GB, free: 79.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/2.01, allocations: 1.28 MB / 0.517 GB, free: 78.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002443/2.01, allocations: 42.78 kB / 0.517 GB, free: 78.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/2.01, allocations: 15.98 kB / 0.517 GB, free: 78.57 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 (sink.C.a,sourcePQ.C.b,centrifugalPump.C2.b,centrifugalPump.C1.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.0002169/2.011, allocations: 241.3 kB / 0.5173 GB, free: 78.33 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.783e-05/2.011, allocations: 87.48 kB / 0.5173 GB, free: 78.24 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001456/2.012, allocations: 1.042 MB / 0.5184 GB, free: 77.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001161/2.013, allocations: 0.8522 MB / 0.5192 GB, free: 76.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/2.013, allocations: 0 / 0.5192 GB, free: 76.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/2.013, allocations: 0 / 0.5192 GB, free: 76.34 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/2.016, allocations: 1.773 MB / 0.5209 GB, free: 74.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/2.016, allocations: 0 / 0.5209 GB, free: 74.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/2.016, allocations: 44.75 kB / 0.521 GB, free: 74.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002072/2.018, allocations: 0.5563 MB / 0.5215 GB, free: 73.94 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/2.018, allocations: 8.625 kB / 0.5215 GB, free: 73.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/2.019, allocations: 1.314 MB / 0.5228 GB, free: 72.59 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/2.019, allocations: 4 kB / 0.5228 GB, free: 72.59 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/2.02, allocations: 1.038 MB / 0.5238 GB, free: 71.53 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/2.02, allocations: 106.8 kB / 0.5239 GB, free: 71.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.013e-05/2.02, allocations: 12.45 kB / 0.5239 GB, free: 71.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/2.021, allocations: 15.98 kB / 0.5239 GB, free: 71.41 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.779e-05/2.021, allocations: 27.94 kB / 0.524 GB, free: 71.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/2.021, allocations: 12 kB / 0.524 GB, free: 71.37 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003801/2.021, allocations: 0.5029 MB / 0.5245 GB, free: 70.87 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/2.021, allocations: 0 / 0.5245 GB, free: 70.87 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002325/2.023, allocations: 1.163 MB / 0.5256 GB, free: 69.75 MB / 442.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.003742/2.027, allocations: 1.766 MB / 0.5273 GB, free: 68.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001199/2.028, allocations: 0.7009 MB / 0.528 GB, free: 67.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/2.028, allocations: 0 / 0.528 GB, free: 67.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006561/2.029, allocations: 391.4 kB / 0.5284 GB, free: 67.12 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005734/2.03, allocations: 92.16 kB / 0.5285 GB, free: 67.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/2.032, allocations: 1.605 MB / 0.53 GB, free: 65.41 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/2.032, allocations: 389.1 kB / 0.5304 GB, free: 65 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 8.896e-05/2.032, allocations: 24.78 kB / 0.5304 GB, free: 64.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.506e-05/2.032, allocations: 24.48 kB / 0.5305 GB, free: 64.96 MB / 442.7 MB Notification: Performance of SimCode: time 5.71e-07/2.032, allocations: 0 / 0.5305 GB, free: 64.96 MB / 442.7 MB Notification: Performance of Templates: time 0.04186/2.074, allocations: 40.55 MB / 0.5701 GB, free: 24.54 MB / 442.7 MB " [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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.051250608055852]