Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.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.8809/0.8809, allocations: 153.9 MB / 173.4 MB, free: 4.938 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.TestCentrifugalPump9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005435/0.0005435, allocations: 11.97 kB / 251.1 MB, free: 3.984 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1866, allocations: 33.36 MB / 284.5 MB, free: 2.145 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.TestCentrifugalPump9): time 1.863/2.049, allocations: 307.6 MB / 0.5782 GB, free: 15.85 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03136/2.081, allocations: 31.51 MB / 0.609 GB, free: 436 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003163/2.081, allocations: 3 kB / 0.609 GB, free: 436 kB / 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/SourceMechanicalPower.mo:5:3-9: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.0004632/2.081, allocations: 131 kB / 0.6091 GB, free: 368 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002659/2.082, allocations: 121.6 kB / 0.6092 GB, free: 296 kB / 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.0263/2.108, allocations: 8.683 MB / 0.6177 GB, free: 12.05 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007805/2.109, allocations: 423.1 kB / 0.6181 GB, free: 11.8 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002794/2.109, allocations: 151.7 kB / 0.6182 GB, free: 11.7 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004064/2.11, allocations: 192.9 kB / 0.6184 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002869/2.11, allocations: 168.4 kB / 0.6186 GB, free: 11.47 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.256e-05/2.11, allocations: 29.41 kB / 0.6186 GB, free: 11.47 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03446/2.144, allocations: 15.16 MB / 0.6334 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002703/2.145, allocations: 183 kB / 0.6336 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003902/2.145, allocations: 285.9 kB / 0.6339 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02599/2.171, allocations: 7.95 MB / 0.6416 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/2.171, allocations: 0 / 0.6416 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.364e-06/2.171, allocations: 0 / 0.6416 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.976e-05/2.171, allocations: 0 / 0.6416 GB, free: 4.516 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.005284/2.176, allocations: 1.823 MB / 0.6434 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/2.176, allocations: 8.031 kB / 0.6434 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/2.176, allocations: 91.39 kB / 0.6435 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004824/2.177, allocations: 370.2 kB / 0.6438 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.387e-05/2.177, allocations: 28.59 kB / 0.6439 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.129e-05/2.177, allocations: 31.03 kB / 0.6439 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008935/2.178, allocations: 0.5543 MB / 0.6444 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/2.178, allocations: 0 / 0.6444 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/2.178, allocations: 12 kB / 0.6445 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/2.178, allocations: 13.88 kB / 0.6445 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009012/2.179, allocations: 0.588 MB / 0.645 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002558/2.181, allocations: 2.234 MB / 0.6472 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/2.183, allocations: 0.7511 MB / 0.648 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000407/2.183, allocations: 270.7 kB / 0.6482 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07845/2.262, allocations: 22.52 MB / 0.6702 GB, free: 7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.808e-05/2.262, allocations: 34.8 kB / 0.6702 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=37): time 5.861e-06/2.262, allocations: 0.5625 kB / 0.6702 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37): time 0.005648/2.267, allocations: 1.743 MB / 0.6719 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/2.267, allocations: 59.88 kB / 0.672 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/2.269, allocations: 0.7983 MB / 0.6728 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/2.269, allocations: 33.7 kB / 0.6728 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003322/2.269, allocations: 368.8 kB / 0.6732 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/2.269, allocations: 126.8 kB / 0.6733 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/2.269, allocations: 69.62 kB / 0.6734 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001531/2.269, allocations: 318 kB / 0.6737 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003863/2.27, allocations: 239.9 kB / 0.6739 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004186/2.27, allocations: 306 kB / 0.6742 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00083/2.271, allocations: 0.5598 MB / 0.6747 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/2.271, allocations: 0 / 0.6747 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001454/2.272, allocations: 0.923 MB / 0.6756 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/2.272, allocations: 12.16 kB / 0.6756 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/2.272, allocations: 0.8125 kB / 0.6756 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004979/2.277, allocations: 1.008 MB / 0.6766 GB, free: 340 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.295e-05/2.277, allocations: 11.98 kB / 0.6766 GB, free: 328 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002323/2.28, allocations: 1.793 MB / 0.6784 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003/2.28, allocations: 51.61 kB / 0.6784 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.96e-05/2.28, allocations: 13.47 kB / 0.6784 GB, free: 14.44 MB / 0.545 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 (11): * Single equations (assignments): 10 * 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 {(5,19)} Notification: Performance of prepare postOptimizeDAE: time 0.000338/2.28, allocations: 242.8 kB / 0.6787 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/2.281, allocations: 91.36 kB / 0.6788 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001913/2.282, allocations: 1.096 MB / 0.6798 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001531/2.284, allocations: 0.9178 MB / 0.6807 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/2.284, allocations: 0 / 0.6807 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/2.284, allocations: 0.8438 kB / 0.6807 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003299/2.287, allocations: 2.026 MB / 0.6827 GB, free: 9.988 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/2.287, allocations: 0 / 0.6827 GB, free: 9.988 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.097e-05/2.287, allocations: 23.98 kB / 0.6827 GB, free: 9.965 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002731/2.29, allocations: 0.7398 MB / 0.6835 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-05/2.29, allocations: 12.86 kB / 0.6835 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002372/2.293, allocations: 1.821 MB / 0.6852 GB, free: 7.367 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/2.293, allocations: 0 / 0.6852 GB, free: 7.367 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001799/2.294, allocations: 1.13 MB / 0.6863 GB, free: 6.219 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002408/2.295, allocations: 104.2 kB / 0.6864 GB, free: 6.117 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.65e-05/2.295, allocations: 4.562 kB / 0.6865 GB, free: 6.113 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/2.295, allocations: 23.92 kB / 0.6865 GB, free: 6.09 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/2.295, allocations: 19.89 kB / 0.6865 GB, free: 6.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/2.295, allocations: 12 kB / 0.6865 GB, free: 6.059 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007992/2.296, allocations: 0.5692 MB / 0.6871 GB, free: 5.496 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/2.296, allocations: 0 / 0.6871 GB, free: 5.496 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003143/2.299, allocations: 1.15 MB / 0.6882 GB, free: 4.344 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 (15): * Single equations (assignments): 14 * 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 {(5,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005391/2.304, allocations: 1.617 MB / 0.6898 GB, free: 2.746 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001746/2.306, allocations: 0.6848 MB / 0.6904 GB, free: 2.059 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/2.306, allocations: 3.938 kB / 0.6904 GB, free: 2.055 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008133/2.307, allocations: 397.3 kB / 0.6908 GB, free: 1.66 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006616/2.308, allocations: 100.7 kB / 0.6909 GB, free: 1.57 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002853/2.31, allocations: 1.618 MB / 0.6925 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006946/2.311, allocations: 0.9732 MB / 0.6934 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.828e-05/2.311, allocations: 24.52 kB / 0.6935 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of SimCode: time 7.71e-07/2.311, allocations: 0 / 0.6935 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of Templates: time 0.04478/2.356, allocations: 27.64 MB / 0.7205 GB, free: 3.723 MB / 0.5762 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.669814971042797] Failed to read output from testmodel.py, exit status != 0: 2.534642711048946 2.550948368 0.37653737 Calling exit ...