Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.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.5735/0.5735, allocations: 120.4 MB / 140.2 MB, free: 12.98 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_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.276e-06/3.276e-06, allocations: 0 / 217.9 MB, free: 8.668 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/2.983e-05, allocations: 5.781 kB / 217.9 MB, free: 8.664 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_1): time 1.06/1.06, allocations: 254.3 MB / 472.2 MB, free: 8.816 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.2508/1.311, allocations: 27.71 MB / 499.9 MB, free: 1.016 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002059/1.311, allocations: 1.969 kB / 499.9 MB, free: 1.016 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.0003714/1.312, allocations: 115 kB / 0.4883 GB, free: 1.016 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001991/1.312, allocations: 120.5 kB / 0.4885 GB, free: 1.016 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.01901/1.331, allocations: 8.667 MB / 0.4969 GB, free: 288 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000641/1.332, allocations: 457.4 kB / 0.4974 GB, free: 136 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002647/1.332, allocations: 168.2 kB / 0.4975 GB, free: 76 kB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003825/1.332, allocations: 287.5 kB / 0.4978 GB, free: 0 / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/1.332, allocations: 134.7 kB / 0.4979 GB, free: 15.95 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.146e-05/1.332, allocations: 30.25 kB / 0.4979 GB, free: 15.95 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0233/1.356, allocations: 14.29 MB / 0.5119 GB, free: 8.152 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000233/1.356, allocations: 194.2 kB / 0.5121 GB, free: 7.969 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002251/1.356, allocations: 154 kB / 0.5122 GB, free: 7.824 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01964/1.376, allocations: 10.03 MB / 0.522 GB, free: 14.26 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/1.376, allocations: 0 / 0.522 GB, free: 14.26 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.235e-06/1.376, allocations: 0 / 0.522 GB, free: 14.26 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.388e-05/1.376, allocations: 1.469 kB / 0.522 GB, free: 14.26 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.004311/1.38, allocations: 1.83 MB / 0.5238 GB, free: 12.4 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/1.38, allocations: 8.031 kB / 0.5238 GB, free: 12.39 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/1.38, allocations: 97.56 kB / 0.5239 GB, free: 12.3 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003271/1.381, allocations: 376.7 kB / 0.5243 GB, free: 11.93 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.943e-05/1.381, allocations: 25.22 kB / 0.5243 GB, free: 11.9 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.533e-05/1.381, allocations: 32 kB / 0.5243 GB, free: 11.87 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006468/1.381, allocations: 0.5652 MB / 0.5249 GB, free: 11.28 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/1.381, allocations: 1.156 kB / 0.5249 GB, free: 11.28 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/1.381, allocations: 19.94 kB / 0.5249 GB, free: 11.26 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/1.381, allocations: 8 kB / 0.5249 GB, free: 11.25 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006367/1.382, allocations: 0.6121 MB / 0.5255 GB, free: 10.65 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/1.384, allocations: 1.953 MB / 0.5274 GB, free: 8.66 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008658/1.385, allocations: 0.7681 MB / 0.5282 GB, free: 7.895 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/1.385, allocations: 278.6 kB / 0.5284 GB, free: 7.621 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03877/1.424, allocations: 22.62 MB / 0.5505 GB, free: 1.152 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/1.424, allocations: 30.56 kB / 0.5506 GB, free: 1.113 MB / 490.7 MB Notification: Performance of pre-optimization done (n=38): time 2.665e-06/1.424, allocations: 0 / 0.5506 GB, free: 1.113 MB / 490.7 MB Notification: Performance of matching and sorting (n=38): time 0.00274/1.426, allocations: 1.459 MB / 0.552 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/1.426, allocations: 54.41 kB / 0.552 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006132/1.427, allocations: 0.7205 MB / 0.5527 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/1.427, allocations: 33.7 kB / 0.5528 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/1.427, allocations: 366.8 kB / 0.5531 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.056e-05/1.427, allocations: 129.3 kB / 0.5532 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.123e-05/1.427, allocations: 65.64 kB / 0.5533 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.363e-05/1.427, allocations: 322 kB / 0.5536 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002764/1.428, allocations: 262.2 kB / 0.5539 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002927/1.428, allocations: 309 kB / 0.5542 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005838/1.429, allocations: 0.5856 MB / 0.5547 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.429, allocations: 0.8438 kB / 0.5547 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009655/1.43, allocations: 0.8793 MB / 0.5556 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/1.43, allocations: 5.719 kB / 0.5556 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/1.43, allocations: 4 kB / 0.5556 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00233/1.432, allocations: 0.813 MB / 0.5564 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/1.432, allocations: 39.16 kB / 0.5564 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001025/1.433, allocations: 1.268 MB / 0.5577 GB, free: 9.754 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/1.433, allocations: 39.77 kB / 0.5577 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/1.433, allocations: 12 kB / 0.5577 GB, free: 9.703 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.0002272/1.433, allocations: 245.8 kB / 0.5579 GB, free: 9.457 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/1.434, allocations: 80.19 kB / 0.558 GB, free: 9.379 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/1.435, allocations: 1.028 MB / 0.559 GB, free: 8.348 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008302/1.436, allocations: 0.8595 MB / 0.5599 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/1.436, allocations: 0 / 0.5599 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/1.436, allocations: 8.672 kB / 0.5599 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/1.437, allocations: 1.768 MB / 0.5616 GB, free: 5.684 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/1.437, allocations: 1.938 kB / 0.5616 GB, free: 5.684 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/1.437, allocations: 47.16 kB / 0.5616 GB, free: 5.641 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001128/1.438, allocations: 0.5491 MB / 0.5622 GB, free: 5.09 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/1.439, allocations: 19.98 kB / 0.5622 GB, free: 5.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009413/1.439, allocations: 1.306 MB / 0.5635 GB, free: 3.742 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.439, allocations: 0 / 0.5635 GB, free: 3.742 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009623/1.44, allocations: 1.033 MB / 0.5645 GB, free: 2.691 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/1.441, allocations: 95.34 kB / 0.5646 GB, free: 2.598 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.387e-05/1.441, allocations: 11.98 kB / 0.5646 GB, free: 2.586 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/1.441, allocations: 15.98 kB / 0.5646 GB, free: 2.57 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/1.441, allocations: 23.95 kB / 0.5646 GB, free: 2.547 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/1.441, allocations: 12 kB / 0.5646 GB, free: 2.535 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003771/1.441, allocations: 0.5068 MB / 0.5651 GB, free: 2.035 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.7e-07/1.441, allocations: 4 kB / 0.5651 GB, free: 2.031 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002859/1.444, allocations: 1.165 MB / 0.5663 GB, free: 0.8633 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.003447/1.447, allocations: 1.78 MB / 0.568 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009048/1.448, allocations: 0.6997 MB / 0.5687 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.448, allocations: 4 kB / 0.5687 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004144/1.449, allocations: 386.2 kB / 0.5691 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/1.449, allocations: 86.94 kB / 0.5692 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/1.451, allocations: 1.617 MB / 0.5707 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/1.451, allocations: 389.1 kB / 0.5711 GB, free: 12.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.103e-05/1.451, allocations: 24.5 kB / 0.5711 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of SimCode: time 1.243e-06/1.451, allocations: 4 kB / 0.5711 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of Templates: time 0.03251/1.484, allocations: 28.16 MB / 0.5986 GB, free: 28 kB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.74863959942013] Failed to read output from testmodel.py, exit status != 0: 1.7455235179513693 1.652989674 0.274305988 Calling exit ...