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.5107/0.5107, allocations: 111.6 MB / 131.4 MB, free: 3.93 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.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 1.754e-06/1.754e-06, allocations: 0 / 176.5 MB, free: 8.906 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.807e-05/1.983e-05, allocations: 2.312 kB / 176.5 MB, free: 8.902 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.SimpleExamples.TestCentrifugalPump8): time 1.052/1.052, allocations: 257.2 MB / 433.7 MB, free: 160 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02387/1.075, allocations: 29.45 MB / 463.2 MB, free: 2.594 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/1.076, allocations: 0 / 463.2 MB, free: 2.594 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.0003096/1.076, allocations: 111.3 kB / 463.3 MB, free: 2.484 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001631/1.076, allocations: 121.1 kB / 463.4 MB, free: 2.363 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.01467/1.091, allocations: 8.689 MB / 472.1 MB, free: 9.645 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005282/1.091, allocations: 454.1 kB / 472.5 MB, free: 9.199 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002009/1.091, allocations: 181.6 kB / 472.7 MB, free: 9.023 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002823/1.092, allocations: 283.2 kB / 473 MB, free: 8.746 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/1.092, allocations: 127.7 kB / 473.1 MB, free: 8.621 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.802e-05/1.092, allocations: 35.94 kB / 473.2 MB, free: 8.586 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.19/1.282, allocations: 14.28 MB / 487.4 MB, free: 10.94 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001792/1.282, allocations: 198.2 kB / 487.6 MB, free: 10.94 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001889/1.282, allocations: 149 kB / 487.8 MB, free: 10.94 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01294/1.295, allocations: 9.878 MB / 497.6 MB, free: 10.65 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/1.295, allocations: 0 / 497.6 MB, free: 10.65 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.713e-06/1.295, allocations: 1.5 kB / 497.7 MB, free: 10.65 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.263e-06/1.295, allocations: 2.938 kB / 497.7 MB, free: 10.65 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.003927/1.299, allocations: 1.931 MB / 499.6 MB, free: 9.473 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/1.299, allocations: 12.14 kB / 499.6 MB, free: 9.469 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.107e-05/1.299, allocations: 122.5 kB / 499.7 MB, free: 9.418 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/1.299, allocations: 381.4 kB / 0.4884 GB, free: 9.156 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/1.299, allocations: 22.91 kB / 0.4884 GB, free: 9.156 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/1.299, allocations: 34.97 kB / 0.4884 GB, free: 9.156 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003479/1.3, allocations: 434.3 kB / 0.4888 GB, free: 8.977 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/1.3, allocations: 0 / 0.4888 GB, free: 8.977 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/1.3, allocations: 14.31 kB / 0.4889 GB, free: 8.977 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/1.3, allocations: 11.12 kB / 0.4889 GB, free: 8.977 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002096/1.3, allocations: 284.6 kB / 0.4891 GB, free: 8.973 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009943/1.301, allocations: 2.339 MB / 0.4914 GB, free: 7.391 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004077/1.301, allocations: 430.9 kB / 0.4918 GB, free: 7.355 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.671e-05/1.302, allocations: 135.6 kB / 0.492 GB, free: 7.344 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02994/1.332, allocations: 19.94 MB / 0.5114 GB, free: 9.668 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/1.332, allocations: 38.02 kB / 0.5115 GB, free: 9.621 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 1.593e-06/1.332, allocations: 0 / 0.5115 GB, free: 9.621 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.001472/1.333, allocations: 0.8649 MB / 0.5123 GB, free: 8.758 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/1.333, allocations: 59.41 kB / 0.5124 GB, free: 8.688 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004155/1.333, allocations: 0.6916 MB / 0.513 GB, free: 8.082 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/1.333, allocations: 29.7 kB / 0.5131 GB, free: 8.047 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002072/1.334, allocations: 446 kB / 0.5135 GB, free: 7.641 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.056e-05/1.334, allocations: 133.4 kB / 0.5136 GB, free: 7.516 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.268e-05/1.334, allocations: 76.02 kB / 0.5137 GB, free: 7.441 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/1.334, allocations: 0.4887 MB / 0.5142 GB, free: 6.953 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.883e-05/1.334, allocations: 111.9 kB / 0.5143 GB, free: 6.844 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/1.334, allocations: 176 kB / 0.5144 GB, free: 6.656 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/1.334, allocations: 312 kB / 0.5147 GB, free: 6.34 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/1.334, allocations: 0.625 kB / 0.5147 GB, free: 6.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004736/1.335, allocations: 0.5419 MB / 0.5153 GB, free: 5.805 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/1.335, allocations: 4 kB / 0.5153 GB, free: 5.801 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/1.335, allocations: 0 / 0.5153 GB, free: 5.801 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00177/1.337, allocations: 0.6886 MB / 0.5159 GB, free: 5.121 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.887e-05/1.337, allocations: 30.98 kB / 0.516 GB, free: 5.094 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006687/1.337, allocations: 1.281 MB / 0.5172 GB, free: 3.809 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/1.337, allocations: 31.78 kB / 0.5173 GB, free: 3.777 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/1.337, allocations: 16 kB / 0.5173 GB, free: 3.762 MB / 442.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 (centrifugalPump.C1.a,centrifugalPump.C2.b,sourcePQ.C.b,sink.C.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.0001165/1.338, allocations: 179.9 kB / 0.5174 GB, free: 3.578 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.035e-05/1.338, allocations: 87.48 kB / 0.5175 GB, free: 3.492 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007264/1.338, allocations: 0.594 MB / 0.5181 GB, free: 2.898 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003753/1.339, allocations: 471 kB / 0.5186 GB, free: 2.434 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/1.339, allocations: 0 / 0.5186 GB, free: 2.434 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/1.339, allocations: 7.984 kB / 0.5186 GB, free: 2.426 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/1.34, allocations: 1.29 MB / 0.5198 GB, free: 1.176 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/1.34, allocations: 0 / 0.5198 GB, free: 1.176 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.843e-05/1.34, allocations: 55 kB / 0.5199 GB, free: 1.125 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008557/1.341, allocations: 435 kB / 0.5203 GB, free: 0.7031 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/1.341, allocations: 4 kB / 0.5203 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006479/1.341, allocations: 1.294 MB / 0.5216 GB, free: 15.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/1.341, allocations: 0 / 0.5216 GB, free: 15.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004985/1.342, allocations: 0.7159 MB / 0.5223 GB, free: 14.68 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.068e-05/1.342, allocations: 95.28 kB / 0.5224 GB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/1.342, allocations: 12 kB / 0.5224 GB, free: 14.57 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.924e-05/1.342, allocations: 15.98 kB / 0.5224 GB, free: 14.56 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/1.342, allocations: 28.88 kB / 0.5224 GB, free: 14.53 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/1.342, allocations: 5.5 kB / 0.5224 GB, free: 14.53 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002015/1.342, allocations: 410.1 kB / 0.5228 GB, free: 14.16 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/1.342, allocations: 0 / 0.5228 GB, free: 14.16 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002486/1.345, allocations: 1.157 MB / 0.5239 GB, free: 13 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.002855/1.348, allocations: 1.852 MB / 0.5257 GB, free: 11.36 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004736/1.348, allocations: 438.2 kB / 0.5262 GB, free: 10.95 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.348, allocations: 0 / 0.5262 GB, free: 10.95 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002498/1.348, allocations: 250.3 kB / 0.5264 GB, free: 10.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/1.349, allocations: 86.62 kB / 0.5265 GB, free: 10.62 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/1.35, allocations: 1.355 MB / 0.5278 GB, free: 9.254 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/1.35, allocations: 188.8 kB / 0.528 GB, free: 9.047 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.65e-05/1.351, allocations: 30.19 kB / 0.528 GB, free: 9.02 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/1.351, allocations: 118.2 kB / 0.5281 GB, free: 8.902 MB / 458.7 MB Notification: Performance of SimCode: time 7.52e-07/1.351, allocations: 0 / 0.5281 GB, free: 8.902 MB / 458.7 MB Notification: Performance of Templates: time 0.04599/1.397, allocations: 47.59 MB / 0.5746 GB, free: 9.52 MB / 0.4948 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.820459231734276]