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.4887/0.4887, allocations: 111.6 MB / 131.2 MB, free: 4.582 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.362e-06/1.362e-06, allocations: 0 / 176.2 MB, free: 9.152 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.574e-05/1.71e-05, allocations: 2.312 kB / 176.2 MB, free: 9.148 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.021/1.021, allocations: 257.2 MB / 433.4 MB, free: 284 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02488/1.046, allocations: 29.98 MB / 463.4 MB, free: 2.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/1.046, allocations: 4 kB / 463.4 MB, free: 2.176 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.0003296/1.047, allocations: 115.2 kB / 463.5 MB, free: 2.062 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001622/1.047, allocations: 121.1 kB / 463.6 MB, free: 1.941 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.01435/1.061, allocations: 8.693 MB / 472.3 MB, free: 9.219 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004/1.062, allocations: 450.2 kB / 472.7 MB, free: 8.777 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/1.062, allocations: 181.6 kB / 472.9 MB, free: 8.602 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002791/1.062, allocations: 279.2 kB / 473.2 MB, free: 8.328 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/1.062, allocations: 135.6 kB / 473.3 MB, free: 8.195 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.126e-05/1.062, allocations: 32 kB / 473.3 MB, free: 8.164 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1787/1.241, allocations: 14.28 MB / 487.6 MB, free: 10.32 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001736/1.241, allocations: 187 kB / 487.8 MB, free: 10.32 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001773/1.241, allocations: 159.8 kB / 488 MB, free: 10.32 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0111/1.252, allocations: 9.885 MB / 497.8 MB, free: 10.03 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/1.252, allocations: 0 / 497.8 MB, free: 10.03 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.713e-06/1.252, allocations: 0 / 497.8 MB, free: 10.03 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.084e-06/1.252, allocations: 0 / 497.8 MB, free: 10.03 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.002835/1.255, allocations: 1.923 MB / 499.8 MB, free: 8.852 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/1.255, allocations: 12.64 kB / 499.8 MB, free: 8.848 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.215e-05/1.255, allocations: 120.7 kB / 499.9 MB, free: 8.797 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/1.256, allocations: 380.5 kB / 0.4885 GB, free: 8.535 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/1.256, allocations: 30.12 kB / 0.4886 GB, free: 8.535 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/1.256, allocations: 28.62 kB / 0.4886 GB, free: 8.535 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005028/1.256, allocations: 0.518 MB / 0.4891 GB, free: 8.355 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/1.256, allocations: 0.625 kB / 0.4891 GB, free: 8.355 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/1.256, allocations: 14.22 kB / 0.4891 GB, free: 8.355 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/1.256, allocations: 9.344 kB / 0.4891 GB, free: 8.355 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003446/1.257, allocations: 456.4 kB / 0.4896 GB, free: 8.355 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/1.258, allocations: 2.45 MB / 0.4919 GB, free: 6.703 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005902/1.258, allocations: 0.6498 MB / 0.4926 GB, free: 6.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/1.258, allocations: 218.7 kB / 0.4928 GB, free: 6.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03649/1.295, allocations: 22.69 MB / 0.515 GB, free: 5.531 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/1.295, allocations: 37.39 kB / 0.515 GB, free: 5.484 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 1.904e-06/1.295, allocations: 3 kB / 0.515 GB, free: 5.484 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.00192/1.297, allocations: 1.191 MB / 0.5162 GB, free: 4.289 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/1.297, allocations: 63.33 kB / 0.5162 GB, free: 4.215 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004731/1.297, allocations: 0.687 MB / 0.5169 GB, free: 3.512 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/1.297, allocations: 33.7 kB / 0.5169 GB, free: 3.473 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/1.298, allocations: 423.5 kB / 0.5173 GB, free: 3.051 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.433e-05/1.298, allocations: 134 kB / 0.5174 GB, free: 2.922 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.532e-05/1.298, allocations: 67.36 kB / 0.5175 GB, free: 2.848 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.68e-05/1.298, allocations: 0.4965 MB / 0.518 GB, free: 2.344 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/1.298, allocations: 187.9 kB / 0.5182 GB, free: 2.16 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/1.298, allocations: 262 kB / 0.5184 GB, free: 1.879 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/1.299, allocations: 465.8 kB / 0.5189 GB, free: 1.406 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/1.299, allocations: 0 / 0.5189 GB, free: 1.406 MB / 442.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006354/1.299, allocations: 0.7333 MB / 0.5196 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/1.299, allocations: 4 kB / 0.5196 GB, free: 0.6719 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/1.299, allocations: 4 kB / 0.5196 GB, free: 0.668 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002093/1.301, allocations: 0.7521 MB / 0.5203 GB, free: 15.92 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.739e-05/1.301, allocations: 31.08 kB / 0.5204 GB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001009/1.302, allocations: 1.409 MB / 0.5217 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/1.303, allocations: 35.7 kB / 0.5218 GB, free: 14.42 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/1.303, allocations: 19.94 kB / 0.5218 GB, free: 14.4 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.0001162/1.303, allocations: 168.1 kB / 0.5219 GB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.492e-05/1.303, allocations: 87.48 kB / 0.522 GB, free: 14.14 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007615/1.303, allocations: 0.8105 MB / 0.5228 GB, free: 13.33 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005628/1.304, allocations: 0.6621 MB / 0.5235 GB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/1.304, allocations: 0 / 0.5235 GB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.289e-06/1.304, allocations: 0 / 0.5235 GB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/1.305, allocations: 1.612 MB / 0.525 GB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/1.305, allocations: 4 kB / 0.525 GB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.207e-05/1.305, allocations: 42.97 kB / 0.5251 GB, free: 10.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001018/1.307, allocations: 492.5 kB / 0.5256 GB, free: 10.49 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/1.307, allocations: 12.55 kB / 0.5256 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007417/1.307, allocations: 1.413 MB / 0.527 GB, free: 9.039 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/1.307, allocations: 0 / 0.527 GB, free: 9.039 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006914/1.308, allocations: 0.9077 MB / 0.5278 GB, free: 8.109 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/1.308, allocations: 105.2 kB / 0.5279 GB, free: 8.008 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/1.308, allocations: 11.94 kB / 0.5279 GB, free: 7.996 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/1.308, allocations: 16 kB / 0.528 GB, free: 7.98 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/1.308, allocations: 23.94 kB / 0.528 GB, free: 7.957 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/1.308, allocations: 12.56 kB / 0.528 GB, free: 7.945 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004962/1.309, allocations: 434.9 kB / 0.5284 GB, free: 7.527 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/1.309, allocations: 0 / 0.5284 GB, free: 7.527 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00207/1.311, allocations: 1.157 MB / 0.5295 GB, free: 6.367 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.002976/1.314, allocations: 1.774 MB / 0.5313 GB, free: 4.812 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006563/1.314, allocations: 0.5825 MB / 0.5318 GB, free: 4.234 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/1.314, allocations: 0 / 0.5318 GB, free: 4.234 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003304/1.315, allocations: 330.9 kB / 0.5322 GB, free: 3.91 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/1.315, allocations: 97.33 kB / 0.5323 GB, free: 3.82 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/1.317, allocations: 1.438 MB / 0.5337 GB, free: 2.363 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/1.317, allocations: 184.8 kB / 0.5338 GB, free: 2.164 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.532e-05/1.317, allocations: 24.83 kB / 0.5339 GB, free: 2.141 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.968e-05/1.317, allocations: 20.5 kB / 0.5339 GB, free: 2.121 MB / 458.7 MB Notification: Performance of SimCode: time 5.51e-07/1.317, allocations: 2.906 kB / 0.5339 GB, free: 2.121 MB / 458.7 MB Notification: Performance of Templates: time 0.03744/1.355, allocations: 41.28 MB / 0.5742 GB, free: 9.082 MB / 0.4948 GB " [Timeout remaining time 659] 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.8170162392780185]