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.8543/0.8543, allocations: 120.4 MB / 139.5 MB, free: 492 kB / 126.1 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.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.854e-06/1.854e-06, allocations: 0 / 217.2 MB, free: 13.72 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.158e-05, allocations: 7.219 kB / 217.2 MB, free: 13.71 MB / 206.1 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.507/1.507, allocations: 254.4 MB / 471.6 MB, free: 10.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2313/1.738, allocations: 27.73 MB / 499.4 MB, free: 10.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001711/1.738, allocations: 2.281 kB / 499.4 MB, free: 10.3 MB / 446.1 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.0003838/1.738, allocations: 111.5 kB / 499.5 MB, free: 10.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002331/1.739, allocations: 129.4 kB / 499.6 MB, free: 10.13 MB / 446.1 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.02491/1.764, allocations: 8.658 MB / 0.4964 GB, free: 4.352 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006219/1.764, allocations: 459 kB / 0.4968 GB, free: 4.074 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002704/1.764, allocations: 170.6 kB / 0.497 GB, free: 3.961 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004249/1.765, allocations: 280.2 kB / 0.4972 GB, free: 3.785 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/1.765, allocations: 134.5 kB / 0.4974 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.411e-05/1.765, allocations: 30.44 kB / 0.4974 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02784/1.793, allocations: 14.29 MB / 0.5113 GB, free: 5.969 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002418/1.793, allocations: 192.1 kB / 0.5115 GB, free: 5.781 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002608/1.793, allocations: 155.4 kB / 0.5117 GB, free: 5.629 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01992/1.813, allocations: 10.03 MB / 0.5215 GB, free: 11.57 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/1.813, allocations: 4 kB / 0.5215 GB, free: 11.57 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.453e-06/1.813, allocations: 0 / 0.5215 GB, free: 11.57 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.405e-05/1.813, allocations: 0.9688 kB / 0.5215 GB, free: 11.57 MB / 478.1 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.004308/1.818, allocations: 1.821 MB / 0.5233 GB, free: 9.707 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/1.818, allocations: 12.03 kB / 0.5233 GB, free: 9.695 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/1.818, allocations: 93.08 kB / 0.5234 GB, free: 9.605 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004705/1.818, allocations: 370.8 kB / 0.5237 GB, free: 9.215 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.413e-05/1.818, allocations: 28.66 kB / 0.5237 GB, free: 9.188 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.325e-05/1.818, allocations: 28 kB / 0.5238 GB, free: 9.16 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009974/1.819, allocations: 0.57 MB / 0.5243 GB, free: 8.555 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/1.819, allocations: 4.656 kB / 0.5243 GB, free: 8.551 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.584e-05/1.819, allocations: 12 kB / 0.5243 GB, free: 8.539 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/1.819, allocations: 18.91 kB / 0.5244 GB, free: 8.523 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/1.821, allocations: 0.6099 MB / 0.525 GB, free: 7.914 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002232/1.823, allocations: 1.952 MB / 0.5269 GB, free: 5.895 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/1.824, allocations: 0.7733 MB / 0.5276 GB, free: 5.117 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005229/1.825, allocations: 278.4 kB / 0.5279 GB, free: 4.844 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08348/1.908, allocations: 22.6 MB / 0.5499 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.488e-05/1.908, allocations: 38.56 kB / 0.55 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 2.254e-06/1.908, allocations: 0 / 0.55 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.004849/1.913, allocations: 1.467 MB / 0.5514 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/1.913, allocations: 55.41 kB / 0.5515 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008984/1.914, allocations: 0.7197 MB / 0.5522 GB, free: 12 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.26e-05/1.914, allocations: 33.7 kB / 0.5522 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003249/1.915, allocations: 357.4 kB / 0.5525 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/1.915, allocations: 138.8 kB / 0.5527 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/1.915, allocations: 61.66 kB / 0.5527 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001561/1.915, allocations: 326 kB / 0.553 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004971/1.915, allocations: 259.9 kB / 0.5533 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005252/1.916, allocations: 313 kB / 0.5536 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/1.917, allocations: 0.5801 MB / 0.5542 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/1.917, allocations: 0.5625 kB / 0.5542 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001668/1.919, allocations: 0.8783 MB / 0.555 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/1.919, allocations: 4 kB / 0.555 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/1.919, allocations: 4 kB / 0.555 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004634/1.923, allocations: 0.7981 MB / 0.5558 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/1.924, allocations: 31.92 kB / 0.5558 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001717/1.925, allocations: 1.273 MB / 0.5571 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002691/1.926, allocations: 43.73 kB / 0.5571 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/1.926, allocations: 17.19 kB / 0.5571 GB, free: 6.828 MB / 0.4981 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.0003196/1.926, allocations: 249.7 kB / 0.5574 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/1.926, allocations: 79.42 kB / 0.5575 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002039/1.928, allocations: 1.029 MB / 0.5585 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001652/1.93, allocations: 0.8604 MB / 0.5593 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.93, allocations: 0 / 0.5593 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/1.93, allocations: 3.984 kB / 0.5593 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003011/1.933, allocations: 1.768 MB / 0.561 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/1.933, allocations: 0 / 0.561 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001922/1.933, allocations: 39.97 kB / 0.5611 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002449/1.935, allocations: 0.5537 MB / 0.5616 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/1.935, allocations: 8 kB / 0.5616 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00173/1.937, allocations: 1.31 MB / 0.5629 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.937, allocations: 1.375 kB / 0.5629 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/1.939, allocations: 1.037 MB / 0.5639 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/1.939, allocations: 103.2 kB / 0.564 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.41e-05/1.939, allocations: 5.125 kB / 0.564 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002695/1.939, allocations: 27.97 kB / 0.564 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.803e-05/1.94, allocations: 23.95 kB / 0.5641 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.516e-05/1.94, allocations: 8.625 kB / 0.5641 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006424/1.94, allocations: 0.5068 MB / 0.5646 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/1.94, allocations: 2.625 kB / 0.5646 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002983/1.943, allocations: 1.165 MB / 0.5657 GB, free: 13.95 MB / 0.5137 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.004744/1.948, allocations: 1.773 MB / 0.5674 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001595/1.95, allocations: 0.7016 MB / 0.5681 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.95, allocations: 0 / 0.5681 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000852/1.95, allocations: 392.8 kB / 0.5685 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006419/1.951, allocations: 82.31 kB / 0.5686 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002684/1.954, allocations: 1.563 MB / 0.5701 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/1.954, allocations: 389 kB / 0.5705 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001022/1.954, allocations: 20.31 kB / 0.5705 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.235e-05/1.954, allocations: 24.5 kB / 0.5705 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of SimCode: time 3.51e-07/1.954, allocations: 0 / 0.5705 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of Templates: time 0.06182/2.016, allocations: 40.34 MB / 0.6099 GB, free: 0.8477 MB / 0.545 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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump8.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.897167678922415] Failed to read output from testmodel.py, exit status != 0: 2.1758296005427837 2.191190921 0.37455680500000005 Calling exit ...