Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.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.8512/0.8512, allocations: 120.4 MB / 140.1 MB, free: 36 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.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005478/0.0005478, allocations: 23.97 kB / 217.7 MB, free: 13.05 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05601/0.05655, allocations: 33.36 MB / 251 MB, free: 11.62 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.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2): time 1.747/1.803, allocations: 254.1 MB / 0.4933 GB, free: 14.95 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03925/1.842, allocations: 27.73 MB / 0.5203 GB, free: 3.344 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001809/1.843, allocations: 4 kB / 0.5203 GB, free: 3.34 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.0003771/1.843, allocations: 107.3 kB / 0.5204 GB, free: 3.234 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002441/1.843, allocations: 123.4 kB / 0.5206 GB, free: 3.117 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.02208/1.865, allocations: 8.596 MB / 0.529 GB, free: 10.54 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006545/1.866, allocations: 438.4 kB / 0.5294 GB, free: 10.11 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002902/1.866, allocations: 165.7 kB / 0.5295 GB, free: 9.941 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003441/1.867, allocations: 207.2 kB / 0.5297 GB, free: 9.738 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002661/1.867, allocations: 155.2 kB / 0.5299 GB, free: 9.586 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.73e-05/1.867, allocations: 32 kB / 0.5299 GB, free: 9.555 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02712/1.894, allocations: 14.27 MB / 0.5438 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002454/1.894, allocations: 191.3 kB / 0.544 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002685/1.895, allocations: 222.3 kB / 0.5442 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0165/1.911, allocations: 7.978 MB / 0.552 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.911, allocations: 4 kB / 0.552 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.383e-06/1.911, allocations: 0 / 0.552 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.097e-06/1.911, allocations: 0 / 0.552 GB, free: 2.855 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.004304/1.915, allocations: 1.83 MB / 0.5538 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/1.915, allocations: 11.97 kB / 0.5538 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/1.916, allocations: 99.34 kB / 0.5539 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004746/1.916, allocations: 373.4 kB / 0.5543 GB, free: 492 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.06e-05/1.916, allocations: 32.58 kB / 0.5543 GB, free: 460 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.65e-05/1.916, allocations: 28 kB / 0.5543 GB, free: 432 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000981/1.917, allocations: 0.5694 MB / 0.5549 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/1.917, allocations: 3.938 kB / 0.5549 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/1.917, allocations: 12 kB / 0.5549 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/1.917, allocations: 16 kB / 0.5549 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/1.918, allocations: 0.6115 MB / 0.5555 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002278/1.921, allocations: 1.95 MB / 0.5574 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/1.922, allocations: 0.7644 MB / 0.5582 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000498/1.923, allocations: 280.7 kB / 0.5584 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08516/2.008, allocations: 22.6 MB / 0.5805 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/2.008, allocations: 42.5 kB / 0.5806 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=38): time 2.545e-06/2.008, allocations: 0 / 0.5806 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of matching and sorting (n=38): time 0.004702/2.012, allocations: 1.455 MB / 0.582 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/2.012, allocations: 63.39 kB / 0.582 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009189/2.013, allocations: 0.7235 MB / 0.5827 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/2.013, allocations: 29.7 kB / 0.5828 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003275/2.014, allocations: 360.8 kB / 0.5831 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/2.014, allocations: 142.8 kB / 0.5833 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/2.014, allocations: 65.64 kB / 0.5833 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001588/2.014, allocations: 325.9 kB / 0.5836 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004796/2.015, allocations: 255.9 kB / 0.5839 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005187/2.015, allocations: 313.6 kB / 0.5842 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/2.016, allocations: 0.5814 MB / 0.5847 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/2.016, allocations: 0 / 0.5847 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001634/2.018, allocations: 0.8743 MB / 0.5856 GB, free: 168 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/2.018, allocations: 4 kB / 0.5856 GB, free: 164 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/2.018, allocations: 3.938 kB / 0.5856 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004638/2.022, allocations: 0.7992 MB / 0.5864 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/2.023, allocations: 39.91 kB / 0.5864 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/2.024, allocations: 1.269 MB / 0.5877 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002811/2.025, allocations: 35.88 kB / 0.5877 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/2.025, allocations: 11.94 kB / 0.5877 GB, free: 13.97 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.0003252/2.025, allocations: 257.6 kB / 0.5879 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/2.025, allocations: 75.48 kB / 0.588 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002011/2.027, allocations: 1.03 MB / 0.589 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001617/2.029, allocations: 0.8545 MB / 0.5899 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/2.029, allocations: 0 / 0.5899 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.443e-06/2.029, allocations: 3.984 kB / 0.5899 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003048/2.032, allocations: 1.773 MB / 0.5916 GB, free: 9.918 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/2.032, allocations: 3.984 kB / 0.5916 GB, free: 9.914 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/2.032, allocations: 35.98 kB / 0.5916 GB, free: 9.879 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002445/2.034, allocations: 0.557 MB / 0.5922 GB, free: 9.32 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/2.034, allocations: 15.98 kB / 0.5922 GB, free: 9.305 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001687/2.036, allocations: 1.302 MB / 0.5935 GB, free: 7.977 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/2.036, allocations: 0 / 0.5935 GB, free: 7.977 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/2.038, allocations: 1.034 MB / 0.5945 GB, free: 6.922 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002024/2.038, allocations: 107.3 kB / 0.5946 GB, free: 6.816 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.357e-05/2.038, allocations: 4 kB / 0.5946 GB, free: 6.812 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002625/2.039, allocations: 23.98 kB / 0.5946 GB, free: 6.789 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.903e-05/2.039, allocations: 31.83 kB / 0.5946 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.619e-05/2.039, allocations: 15.98 kB / 0.5947 GB, free: 6.742 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006532/2.039, allocations: 0.5029 MB / 0.5951 GB, free: 6.246 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/2.039, allocations: 4 kB / 0.5951 GB, free: 6.242 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00299/2.042, allocations: 1.161 MB / 0.5963 GB, free: 5.078 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.005123/2.047, allocations: 1.609 MB / 0.5979 GB, free: 3.457 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00161/2.049, allocations: 0.7094 MB / 0.5985 GB, free: 2.738 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/2.049, allocations: 0 / 0.5985 GB, free: 2.738 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000848/2.05, allocations: 388.9 kB / 0.5989 GB, free: 2.363 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006166/2.05, allocations: 92.83 kB / 0.599 GB, free: 2.277 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002868/2.053, allocations: 1.609 MB / 0.6006 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004632/2.054, allocations: 385.1 kB / 0.6009 GB, free: 240 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001048/2.054, allocations: 22.3 kB / 0.601 GB, free: 216 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.502e-05/2.054, allocations: 20.5 kB / 0.601 GB, free: 196 kB / 0.545 GB Notification: Performance of SimCode: time 5.81e-07/2.054, allocations: 0 / 0.601 GB, free: 196 kB / 0.545 GB Notification: Performance of Templates: time 0.06726/2.121, allocations: 40.18 MB / 0.6402 GB, free: 8.078 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.125770456972532] Failed to read output from testmodel.py, exit status != 0: 2.4328984840540215 2.443227386 0.52992167 Calling exit ...