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.5734/0.5734, allocations: 120.4 MB / 140.2 MB, free: 12.96 MB / 138.7 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 2.545e-06/2.545e-06, allocations: 3.656 kB / 217.9 MB, free: 8.672 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.766e-05, allocations: 3.438 kB / 217.9 MB, free: 8.668 MB / 202.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.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2): time 1.016/1.016, allocations: 254.3 MB / 472.2 MB, free: 8.816 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.2536/1.27, allocations: 27.72 MB / 500 MB, free: 1.027 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002189/1.27, allocations: 3.281 kB / 500 MB, free: 1.027 MB / 442.7 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.0004034/1.27, allocations: 103.7 kB / 0.4883 GB, free: 1.027 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000232/1.271, allocations: 127.4 kB / 0.4885 GB, free: 1.027 MB / 442.7 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.019/1.29, allocations: 8.661 MB / 0.4969 GB, free: 300 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006364/1.29, allocations: 462.4 kB / 0.4974 GB, free: 140 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002831/1.29, allocations: 166.8 kB / 0.4975 GB, free: 84 kB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003998/1.291, allocations: 284.1 kB / 0.4978 GB, free: 0 / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002634/1.291, allocations: 140 kB / 0.4979 GB, free: 15.95 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.04e-05/1.291, allocations: 29.88 kB / 0.4979 GB, free: 15.95 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02247/1.314, allocations: 14.28 MB / 0.5119 GB, free: 8.141 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002291/1.314, allocations: 191.6 kB / 0.5121 GB, free: 7.961 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002269/1.314, allocations: 156.5 kB / 0.5122 GB, free: 7.812 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0198/1.334, allocations: 10.03 MB / 0.522 GB, free: 14.25 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/1.334, allocations: 3.938 kB / 0.522 GB, free: 14.25 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.946e-06/1.334, allocations: 0 / 0.522 GB, free: 14.25 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.404e-05/1.334, allocations: 1.406 kB / 0.522 GB, free: 14.25 MB / 474.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.003984/1.338, allocations: 1.818 MB / 0.5238 GB, free: 12.39 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/1.338, allocations: 13.7 kB / 0.5238 GB, free: 12.38 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.479e-05/1.338, allocations: 100.5 kB / 0.5239 GB, free: 12.29 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/1.338, allocations: 377.1 kB / 0.5243 GB, free: 11.91 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.77e-05/1.338, allocations: 25.22 kB / 0.5243 GB, free: 11.89 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/1.338, allocations: 28 kB / 0.5243 GB, free: 11.86 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006152/1.339, allocations: 0.5696 MB / 0.5249 GB, free: 11.27 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/1.339, allocations: 4.75 kB / 0.5249 GB, free: 11.26 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/1.339, allocations: 15.94 kB / 0.5249 GB, free: 11.25 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/1.339, allocations: 12.53 kB / 0.5249 GB, free: 11.23 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006395/1.34, allocations: 0.6108 MB / 0.5255 GB, free: 10.63 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/1.341, allocations: 1.947 MB / 0.5274 GB, free: 8.652 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008913/1.342, allocations: 0.7764 MB / 0.5282 GB, free: 7.879 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/1.342, allocations: 277.3 kB / 0.5284 GB, free: 7.605 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03882/1.381, allocations: 22.61 MB / 0.5505 GB, free: 1.141 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/1.381, allocations: 38.56 kB / 0.5506 GB, free: 1.094 MB / 490.7 MB Notification: Performance of pre-optimization done (n=38): time 2.395e-06/1.381, allocations: 4 kB / 0.5506 GB, free: 1.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=38): time 0.002474/1.384, allocations: 1.447 MB / 0.552 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/1.384, allocations: 55.41 kB / 0.552 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000566/1.384, allocations: 0.7283 MB / 0.5527 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/1.384, allocations: 29.7 kB / 0.5528 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/1.385, allocations: 367.5 kB / 0.5531 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.804e-05/1.385, allocations: 121.5 kB / 0.5532 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.978e-05/1.385, allocations: 69.64 kB / 0.5533 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.685e-05/1.385, allocations: 318 kB / 0.5536 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/1.385, allocations: 266.2 kB / 0.5539 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/1.385, allocations: 320 kB / 0.5542 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005504/1.386, allocations: 0.5778 MB / 0.5547 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.386, allocations: 0.8438 kB / 0.5547 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009215/1.387, allocations: 0.8792 MB / 0.5556 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/1.387, allocations: 12.16 kB / 0.5556 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/1.387, allocations: 0 / 0.5556 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002185/1.389, allocations: 0.806 MB / 0.5564 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/1.389, allocations: 27.98 kB / 0.5564 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001024/1.39, allocations: 1.267 MB / 0.5576 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/1.39, allocations: 43.81 kB / 0.5577 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/1.39, allocations: 15.98 kB / 0.5577 GB, free: 9.691 MB / 0.4948 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.0002338/1.391, allocations: 240.6 kB / 0.5579 GB, free: 9.449 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.961e-05/1.391, allocations: 79.48 kB / 0.558 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/1.392, allocations: 1.031 MB / 0.559 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008552/1.393, allocations: 0.8627 MB / 0.5599 GB, free: 7.473 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.393, allocations: 3.938 kB / 0.5599 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/1.393, allocations: 4.688 kB / 0.5599 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001681/1.394, allocations: 1.769 MB / 0.5616 GB, free: 5.672 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/1.394, allocations: 1.938 kB / 0.5616 GB, free: 5.672 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.95e-05/1.394, allocations: 47.73 kB / 0.5616 GB, free: 5.629 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001159/1.396, allocations: 0.5536 MB / 0.5622 GB, free: 5.074 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/1.396, allocations: 8 kB / 0.5622 GB, free: 5.066 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009327/1.396, allocations: 1.304 MB / 0.5635 GB, free: 3.738 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.396, allocations: 0 / 0.5635 GB, free: 3.738 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009578/1.397, allocations: 1.032 MB / 0.5645 GB, free: 2.688 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/1.398, allocations: 103.3 kB / 0.5646 GB, free: 2.586 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/1.398, allocations: 8 kB / 0.5646 GB, free: 2.578 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/1.398, allocations: 19.98 kB / 0.5646 GB, free: 2.559 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.568e-05/1.398, allocations: 27.19 kB / 0.5646 GB, free: 2.535 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/1.398, allocations: 15.98 kB / 0.5646 GB, free: 2.52 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000364/1.398, allocations: 0.5068 MB / 0.5651 GB, free: 2.02 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.01e-07/1.398, allocations: 0 / 0.5651 GB, free: 2.02 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002559/1.401, allocations: 1.161 MB / 0.5663 GB, free: 0.8555 MB / 0.4948 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.003208/1.404, allocations: 1.774 MB / 0.568 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009697/1.405, allocations: 0.701 MB / 0.5687 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.405, allocations: 4.312 kB / 0.5687 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004543/1.405, allocations: 383.4 kB / 0.569 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/1.406, allocations: 90.53 kB / 0.5691 GB, free: 14.13 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/1.408, allocations: 1.617 MB / 0.5707 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/1.408, allocations: 389.1 kB / 0.5711 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.949e-05/1.408, allocations: 24.5 kB / 0.5711 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of SimCode: time 1.372e-06/1.408, allocations: 4 kB / 0.5711 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of Templates: time 0.0302/1.438, allocations: 28.16 MB / 0.5986 GB, free: 12 kB / 0.5261 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 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.994935974478722] Failed to read output from testmodel.py, exit status != 0: 1.6979966759681702 1.6061736309999999 0.270442835 Calling exit ...