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.8508/0.8508, allocations: 153.8 MB / 173.4 MB, free: 4.863 MB / 142.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 0.0008155/0.0008155, allocations: 15.97 kB / 251 MB, free: 3.875 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2331, allocations: 33.37 MB / 284.4 MB, free: 2.051 MB / 222.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.854/2.087, allocations: 307.7 MB / 0.5782 GB, free: 17.34 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02788/2.115, allocations: 27.72 MB / 0.6053 GB, free: 4.527 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000276/2.115, allocations: 2.625 kB / 0.6053 GB, free: 4.527 MB / 478.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.0003935/2.115, allocations: 106.7 kB / 0.6054 GB, free: 4.48 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003076/2.116, allocations: 117.3 kB / 0.6055 GB, free: 4.41 MB / 478.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.02002/2.136, allocations: 8.586 MB / 0.6139 GB, free: 88 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006494/2.136, allocations: 446.5 kB / 0.6143 GB, free: 15.82 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002788/2.137, allocations: 169.7 kB / 0.6145 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003425/2.137, allocations: 205 kB / 0.6147 GB, free: 15.58 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002537/2.137, allocations: 162 kB / 0.6148 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.135e-05/2.137, allocations: 29.5 kB / 0.6149 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02878/2.166, allocations: 14.27 MB / 0.6288 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002558/2.166, allocations: 191.3 kB / 0.629 GB, free: 1.371 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003001/2.167, allocations: 226.4 kB / 0.6292 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01679/2.183, allocations: 7.982 MB / 0.637 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/2.183, allocations: 0 / 0.637 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.323e-06/2.183, allocations: 0 / 0.637 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.556e-06/2.183, allocations: 0 / 0.637 GB, free: 9.141 MB / 0.4981 GB 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.004092/2.188, allocations: 1.826 MB / 0.6388 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/2.188, allocations: 8.031 kB / 0.6388 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/2.188, allocations: 100.2 kB / 0.6389 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004737/2.188, allocations: 377.3 kB / 0.6392 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.816e-05/2.188, allocations: 28.59 kB / 0.6393 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.059e-05/2.188, allocations: 28 kB / 0.6393 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009377/2.189, allocations: 0.5654 MB / 0.6399 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/2.189, allocations: 4 kB / 0.6399 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.157e-05/2.189, allocations: 12.94 kB / 0.6399 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/2.189, allocations: 19.98 kB / 0.6399 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/2.19, allocations: 0.6114 MB / 0.6405 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002188/2.193, allocations: 1.956 MB / 0.6424 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/2.194, allocations: 0.761 MB / 0.6431 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000496/2.195, allocations: 281.9 kB / 0.6434 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08104/2.276, allocations: 22.6 MB / 0.6655 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/2.276, allocations: 35.22 kB / 0.6655 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=38): time 2.134e-06/2.276, allocations: 0 / 0.6655 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=38): time 0.00447/2.28, allocations: 1.462 MB / 0.6669 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/2.28, allocations: 63.34 kB / 0.667 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009062/2.281, allocations: 0.7196 MB / 0.6677 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.868e-05/2.281, allocations: 29.7 kB / 0.6677 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003289/2.281, allocations: 368.8 kB / 0.6681 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/2.282, allocations: 131.7 kB / 0.6682 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/2.282, allocations: 61.69 kB / 0.6683 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001544/2.282, allocations: 325.9 kB / 0.6686 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004794/2.282, allocations: 259.9 kB / 0.6688 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005258/2.283, allocations: 317.5 kB / 0.6691 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/2.284, allocations: 0.5816 MB / 0.6697 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/2.284, allocations: 0 / 0.6697 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001631/2.285, allocations: 0.8744 MB / 0.6706 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/2.285, allocations: 4 kB / 0.6706 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/2.285, allocations: 6.594 kB / 0.6706 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004464/2.29, allocations: 0.8105 MB / 0.6714 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/2.29, allocations: 27.98 kB / 0.6714 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001713/2.292, allocations: 1.283 MB / 0.6726 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002652/2.292, allocations: 35.81 kB / 0.6727 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/2.292, allocations: 11.98 kB / 0.6727 GB, free: 4.277 MB / 0.5294 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.000328/2.292, allocations: 245.7 kB / 0.6729 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/2.293, allocations: 80.08 kB / 0.673 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001981/2.295, allocations: 1.028 MB / 0.674 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001594/2.296, allocations: 0.8573 MB / 0.6748 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/2.296, allocations: 0 / 0.6748 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/2.296, allocations: 0 / 0.6748 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003015/2.299, allocations: 1.771 MB / 0.6766 GB, free: 236 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/2.299, allocations: 0 / 0.6766 GB, free: 236 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/2.299, allocations: 40.86 kB / 0.6766 GB, free: 196 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002376/2.302, allocations: 0.5576 MB / 0.6771 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/2.302, allocations: 15.94 kB / 0.6772 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001648/2.303, allocations: 1.298 MB / 0.6784 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/2.303, allocations: 0 / 0.6784 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/2.305, allocations: 1.028 MB / 0.6794 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000209/2.305, allocations: 111.3 kB / 0.6795 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.29e-05/2.305, allocations: 4 kB / 0.6795 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/2.306, allocations: 21.39 kB / 0.6796 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.353e-05/2.306, allocations: 27.89 kB / 0.6796 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/2.306, allocations: 16.92 kB / 0.6796 GB, free: 13.07 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006331/2.306, allocations: 0.5029 MB / 0.6801 GB, free: 12.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/2.306, allocations: 3.938 kB / 0.6801 GB, free: 12.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002829/2.309, allocations: 1.165 MB / 0.6812 GB, free: 11.4 MB / 0.545 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.004426/2.314, allocations: 1.611 MB / 0.6828 GB, free: 9.816 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001573/2.315, allocations: 0.7097 MB / 0.6835 GB, free: 9.102 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/2.315, allocations: 0 / 0.6835 GB, free: 9.102 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008402/2.316, allocations: 387.7 kB / 0.6839 GB, free: 8.727 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006087/2.317, allocations: 81.38 kB / 0.684 GB, free: 8.652 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002869/2.32, allocations: 1.668 MB / 0.6856 GB, free: 6.949 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004523/2.32, allocations: 389.1 kB / 0.6859 GB, free: 6.543 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.265e-05/2.32, allocations: 19.44 kB / 0.686 GB, free: 6.523 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/2.32, allocations: 3.938 kB / 0.686 GB, free: 6.52 MB / 0.545 GB Notification: Performance of Templates: time 0.04332/2.363, allocations: 27.97 MB / 0.7133 GB, free: 11.02 MB / 0.5762 GB " [Timeout remaining time 657] 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: 10.462505601812154] Failed to read output from testmodel.py, exit status != 0: 2.5282339728437364 2.541319391 0.35461940599999997 Calling exit ...