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.4749/0.4749, allocations: 111.6 MB / 131.2 MB, free: 4.539 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.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 1.463e-06/1.463e-06, allocations: 0 / 176.1 MB, free: 8.93 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.563e-05/1.709e-05, allocations: 2.312 kB / 176.2 MB, free: 8.926 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.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1): time 1.002/1.002, allocations: 257.1 MB / 433.2 MB, free: 15.96 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02348/1.025, allocations: 29.99 MB / 463.2 MB, free: 1.852 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/1.025, allocations: 4 kB / 463.2 MB, free: 1.848 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.0003143/1.026, allocations: 107.2 kB / 463.3 MB, free: 1.742 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000164/1.026, allocations: 129.1 kB / 463.5 MB, free: 1.613 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.0143/1.04, allocations: 8.685 MB / 472.1 MB, free: 8.898 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003921/1.041, allocations: 458.1 kB / 472.6 MB, free: 8.449 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000193/1.041, allocations: 169.7 kB / 472.8 MB, free: 8.285 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000277/1.041, allocations: 283.2 kB / 473 MB, free: 8.008 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/1.041, allocations: 135.6 kB / 473.2 MB, free: 7.875 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.063e-05/1.041, allocations: 32 kB / 473.2 MB, free: 7.844 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2012/1.242, allocations: 14.28 MB / 487.5 MB, free: 10.68 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002218/1.243, allocations: 190.7 kB / 487.7 MB, free: 10.68 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002294/1.243, allocations: 151.9 kB / 487.8 MB, free: 10.68 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01851/1.261, allocations: 9.886 MB / 497.7 MB, free: 10.39 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/1.261, allocations: 0 / 497.7 MB, free: 10.39 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.553e-06/1.261, allocations: 0 / 497.7 MB, free: 10.39 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.792e-05/1.261, allocations: 1.5 kB / 497.7 MB, free: 10.39 MB / 426.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.004982/1.266, allocations: 1.918 MB / 499.6 MB, free: 9.215 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/1.266, allocations: 13.52 kB / 499.6 MB, free: 9.211 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/1.267, allocations: 117.4 kB / 499.7 MB, free: 9.16 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/1.267, allocations: 383.9 kB / 0.4884 GB, free: 8.898 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.539e-05/1.267, allocations: 24.91 kB / 0.4884 GB, free: 8.898 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/1.267, allocations: 31.22 kB / 0.4884 GB, free: 8.898 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005985/1.268, allocations: 0.5121 MB / 0.4889 GB, free: 8.719 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/1.268, allocations: 0 / 0.4889 GB, free: 8.719 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/1.268, allocations: 17.09 kB / 0.489 GB, free: 8.719 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/1.268, allocations: 13.62 kB / 0.489 GB, free: 8.715 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00045/1.268, allocations: 456 kB / 0.4894 GB, free: 8.715 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001581/1.27, allocations: 2.452 MB / 0.4918 GB, free: 6.922 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007582/1.27, allocations: 0.6459 MB / 0.4924 GB, free: 6.707 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/1.271, allocations: 218.8 kB / 0.4926 GB, free: 6.633 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04783/1.318, allocations: 22.68 MB / 0.5148 GB, free: 5.477 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/1.319, allocations: 33.39 kB / 0.5148 GB, free: 5.434 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 2.254e-06/1.319, allocations: 4 kB / 0.5148 GB, free: 5.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.001929/1.32, allocations: 1.143 MB / 0.5159 GB, free: 4.285 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/1.32, allocations: 59.34 kB / 0.516 GB, free: 4.215 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008319/1.321, allocations: 0.6947 MB / 0.5167 GB, free: 3.504 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/1.321, allocations: 33.7 kB / 0.5167 GB, free: 3.465 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002129/1.322, allocations: 423.5 kB / 0.5171 GB, free: 3.043 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.037e-05/1.322, allocations: 130.6 kB / 0.5172 GB, free: 2.918 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.99e-05/1.322, allocations: 75.34 kB / 0.5173 GB, free: 2.836 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/1.322, allocations: 0.4887 MB / 0.5178 GB, free: 2.34 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/1.322, allocations: 191.9 kB / 0.518 GB, free: 2.152 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/1.322, allocations: 261.9 kB / 0.5182 GB, free: 1.875 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003475/1.322, allocations: 470.8 kB / 0.5187 GB, free: 1.395 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.768e-06/1.323, allocations: 3.938 kB / 0.5187 GB, free: 1.391 MB / 442.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006991/1.323, allocations: 0.7334 MB / 0.5194 GB, free: 0.6641 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/1.323, allocations: 4.156 kB / 0.5194 GB, free: 0.6602 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/1.323, allocations: 8 kB / 0.5194 GB, free: 0.6523 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001959/1.325, allocations: 0.7275 MB / 0.5201 GB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.314e-05/1.325, allocations: 31.98 kB / 0.5201 GB, free: 15.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008227/1.326, allocations: 1.399 MB / 0.5215 GB, free: 14.47 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/1.326, allocations: 31.73 kB / 0.5215 GB, free: 14.44 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/1.326, allocations: 15.98 kB / 0.5216 GB, free: 14.43 MB / 458.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.0001566/1.326, allocations: 179.9 kB / 0.5217 GB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.935e-05/1.326, allocations: 87.48 kB / 0.5218 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007586/1.327, allocations: 0.7916 MB / 0.5226 GB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000792/1.328, allocations: 0.6547 MB / 0.5232 GB, free: 12.69 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.328, allocations: 0.9375 kB / 0.5232 GB, free: 12.69 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/1.328, allocations: 0 / 0.5232 GB, free: 12.69 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/1.329, allocations: 1.604 MB / 0.5248 GB, free: 11.06 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/1.329, allocations: 4 kB / 0.5248 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.376e-05/1.329, allocations: 39.08 kB / 0.5248 GB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009493/1.33, allocations: 485.4 kB / 0.5253 GB, free: 10.54 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/1.33, allocations: 12.5 kB / 0.5253 GB, free: 10.53 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007317/1.331, allocations: 1.405 MB / 0.5267 GB, free: 9.098 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/1.331, allocations: 0 / 0.5267 GB, free: 9.098 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006884/1.332, allocations: 0.9081 MB / 0.5276 GB, free: 8.168 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/1.332, allocations: 95.84 kB / 0.5277 GB, free: 8.074 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/1.332, allocations: 15.94 kB / 0.5277 GB, free: 8.059 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.316e-05/1.332, allocations: 11.98 kB / 0.5277 GB, free: 8.047 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/1.332, allocations: 28.47 kB / 0.5277 GB, free: 8.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/1.332, allocations: 12.62 kB / 0.5277 GB, free: 8.008 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002936/1.332, allocations: 426.9 kB / 0.5281 GB, free: 7.598 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/1.332, allocations: 3.938 kB / 0.5281 GB, free: 7.594 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002872/1.335, allocations: 1.161 MB / 0.5293 GB, free: 6.43 MB / 458.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.004286/1.34, allocations: 1.775 MB / 0.531 GB, free: 4.879 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007624/1.34, allocations: 0.5813 MB / 0.5316 GB, free: 4.301 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.34, allocations: 0 / 0.5316 GB, free: 4.301 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003503/1.341, allocations: 341.9 kB / 0.5319 GB, free: 3.973 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/1.341, allocations: 101.5 kB / 0.532 GB, free: 3.879 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001946/1.343, allocations: 1.424 MB / 0.5334 GB, free: 2.43 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/1.343, allocations: 196.6 kB / 0.5336 GB, free: 2.223 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.371e-05/1.343, allocations: 19.52 kB / 0.5336 GB, free: 2.203 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.295e-05/1.343, allocations: 24.5 kB / 0.5336 GB, free: 2.18 MB / 458.7 MB Notification: Performance of SimCode: time 1.542e-06/1.343, allocations: 0 / 0.5336 GB, free: 2.18 MB / 458.7 MB Notification: Performance of Templates: time 0.05093/1.394, allocations: 50.35 MB / 0.5828 GB, free: 104 kB / 0.4948 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.3297424470074475]