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.8387/0.8387, allocations: 120.4 MB / 140.1 MB, free: 40 kB / 126.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/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 0.000546/0.000546, allocations: 19.97 kB / 217.7 MB, free: 12.97 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05613/0.05668, allocations: 33.37 MB / 251.1 MB, free: 11.55 MB / 238.1 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.718/1.775, allocations: 254.2 MB / 0.4934 GB, free: 14.82 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03891/1.814, allocations: 27.73 MB / 0.5205 GB, free: 3.223 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002248/1.814, allocations: 0 / 0.5205 GB, free: 3.223 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/CentrifugalPump.mo:117:3-119:42: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:120:3-122:37: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:126:3-130:23: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:29:3-30:52: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:17:3-19:16: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:11:3-15:24: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.0004088/1.814, allocations: 108.5 kB / 0.5206 GB, free: 3.117 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002428/1.815, allocations: 119.5 kB / 0.5207 GB, free: 3.004 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:783:9-783: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:850:9-850: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:1088:9-1088: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:69:3-69: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:69:3-69: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:167:3-170:49: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:167:3-170:49: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.02194/1.837, allocations: 8.595 MB / 0.5291 GB, free: 10.41 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006706/1.837, allocations: 442.4 kB / 0.5295 GB, free: 9.98 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002841/1.838, allocations: 173.6 kB / 0.5297 GB, free: 9.809 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003741/1.838, allocations: 199.2 kB / 0.5299 GB, free: 9.613 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002631/1.838, allocations: 167.1 kB / 0.53 GB, free: 9.449 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.383e-05/1.838, allocations: 28 kB / 0.5301 GB, free: 9.422 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0274/1.866, allocations: 14.27 MB / 0.544 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002756/1.866, allocations: 195.3 kB / 0.5442 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002678/1.866, allocations: 218.3 kB / 0.5444 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01643/1.883, allocations: 7.97 MB / 0.5522 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/1.883, allocations: 0 / 0.5522 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/1.883, allocations: 0 / 0.5522 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.137e-06/1.883, allocations: 0 / 0.5522 GB, free: 2.738 MB / 0.4981 GB 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.004477/1.887, allocations: 1.834 MB / 0.554 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/1.887, allocations: 12.03 kB / 0.554 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/1.887, allocations: 95.34 kB / 0.5541 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004829/1.888, allocations: 381.3 kB / 0.5544 GB, free: 364 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.284e-05/1.888, allocations: 32.58 kB / 0.5545 GB, free: 332 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.745e-05/1.888, allocations: 36 kB / 0.5545 GB, free: 296 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009819/1.889, allocations: 0.5615 MB / 0.555 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/1.889, allocations: 0 / 0.555 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.535e-05/1.889, allocations: 16 kB / 0.5551 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/1.889, allocations: 12 kB / 0.5551 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/1.89, allocations: 0.6153 MB / 0.5557 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002257/1.892, allocations: 1.946 MB / 0.5576 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/1.894, allocations: 0.7785 MB / 0.5583 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005003/1.894, allocations: 276.7 kB / 0.5586 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08263/1.977, allocations: 22.61 MB / 0.5807 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/1.977, allocations: 34.56 kB / 0.5807 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=38): time 2.264e-06/1.977, allocations: 0 / 0.5807 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of matching and sorting (n=38): time 0.004718/1.982, allocations: 1.459 MB / 0.5821 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/1.982, allocations: 59.41 kB / 0.5822 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009331/1.983, allocations: 0.7274 MB / 0.5829 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/1.983, allocations: 29.7 kB / 0.5829 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003307/1.983, allocations: 356.8 kB / 0.5833 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/1.983, allocations: 138.8 kB / 0.5834 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/1.983, allocations: 65.66 kB / 0.5835 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001624/1.983, allocations: 325.9 kB / 0.5838 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004853/1.984, allocations: 263.9 kB / 0.584 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005209/1.984, allocations: 317.5 kB / 0.5843 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/1.986, allocations: 0.5737 MB / 0.5849 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.986, allocations: 0 / 0.5849 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001658/1.987, allocations: 0.8704 MB / 0.5857 GB, free: 40 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/1.987, allocations: 11.94 kB / 0.5858 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/1.987, allocations: 3.938 kB / 0.5858 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004592/1.992, allocations: 0.7991 MB / 0.5865 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/1.992, allocations: 35.98 kB / 0.5866 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001736/1.994, allocations: 1.269 MB / 0.5878 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002906/1.994, allocations: 39.86 kB / 0.5879 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/1.994, allocations: 12 kB / 0.5879 GB, free: 13.84 MB / 0.545 GB 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.0003328/1.994, allocations: 250.4 kB / 0.5881 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/1.995, allocations: 83.48 kB / 0.5882 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002003/1.997, allocations: 1.026 MB / 0.5892 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001631/1.998, allocations: 0.8584 MB / 0.59 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.998, allocations: 0 / 0.59 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/1.998, allocations: 3.984 kB / 0.59 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003023/2.001, allocations: 1.762 MB / 0.5917 GB, free: 9.801 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/2.001, allocations: 0 / 0.5917 GB, free: 9.801 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002263/2.001, allocations: 51.91 kB / 0.5918 GB, free: 9.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002422/2.004, allocations: 0.5563 MB / 0.5923 GB, free: 9.191 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/2.004, allocations: 8 kB / 0.5923 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001683/2.006, allocations: 1.298 MB / 0.5936 GB, free: 7.859 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/2.006, allocations: 4 kB / 0.5936 GB, free: 7.855 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/2.007, allocations: 1.033 MB / 0.5946 GB, free: 6.801 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/2.008, allocations: 99.38 kB / 0.5947 GB, free: 6.703 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.403e-05/2.008, allocations: 15.94 kB / 0.5947 GB, free: 6.688 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002611/2.008, allocations: 19.97 kB / 0.5948 GB, free: 6.668 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.671e-05/2.008, allocations: 27.89 kB / 0.5948 GB, free: 6.641 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/2.008, allocations: 8 kB / 0.5948 GB, free: 6.633 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000626/2.009, allocations: 0.5107 MB / 0.5953 GB, free: 6.129 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/2.009, allocations: 0 / 0.5953 GB, free: 6.129 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003005/2.012, allocations: 1.161 MB / 0.5964 GB, free: 4.965 MB / 0.545 GB 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.005165/2.017, allocations: 1.617 MB / 0.598 GB, free: 3.336 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001632/2.018, allocations: 0.6978 MB / 0.5987 GB, free: 2.629 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/2.018, allocations: 4 kB / 0.5987 GB, free: 2.625 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000848/2.019, allocations: 388.9 kB / 0.5991 GB, free: 2.25 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000646/2.02, allocations: 95.17 kB / 0.5991 GB, free: 2.156 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003105/2.023, allocations: 1.608 MB / 0.6007 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005173/2.024, allocations: 385.1 kB / 0.6011 GB, free: 116 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000143/2.024, allocations: 26.28 kB / 0.6011 GB, free: 84 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.692e-05/2.024, allocations: 20.5 kB / 0.6011 GB, free: 64 kB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/2.024, allocations: 0 / 0.6011 GB, free: 64 kB / 0.545 GB Notification: Performance of Templates: time 0.06317/2.087, allocations: 40.17 MB / 0.6404 GB, free: 7.938 MB / 0.5919 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=480 -s ida -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.12467413698323] Failed to read output from testmodel.py, exit status != 0: 2.4105992671102285 2.421169041 0.536192609 Calling exit ...