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.8472/0.8472, allocations: 120.4 MB / 140.1 MB, free: 48 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.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.0005414/0.0005414, allocations: 20.06 kB / 217.7 MB, free: 13.51 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0565/0.05704, allocations: 33.37 MB / 251.1 MB, free: 13.28 MB / 238.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.796/1.853, allocations: 254.1 MB / 0.4934 GB, free: 14.95 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03992/1.893, allocations: 27.71 MB / 0.5204 GB, free: 9.055 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002351/1.894, allocations: 0 / 0.5204 GB, free: 9.055 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/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.0004165/1.894, allocations: 108 kB / 0.5205 GB, free: 8.949 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002644/1.894, allocations: 117.1 kB / 0.5206 GB, free: 8.836 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.02445/1.919, allocations: 8.582 MB / 0.529 GB, free: 300 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006979/1.919, allocations: 422.4 kB / 0.5294 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002784/1.92, allocations: 156.5 kB / 0.5296 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003631/1.92, allocations: 191.3 kB / 0.5298 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/1.92, allocations: 155.2 kB / 0.5299 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.392e-05/1.92, allocations: 28 kB / 0.5299 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02812/1.948, allocations: 14.27 MB / 0.5439 GB, free: 1.098 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002395/1.949, allocations: 187.3 kB / 0.544 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002636/1.949, allocations: 215.2 kB / 0.5442 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01713/1.966, allocations: 7.954 MB / 0.552 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/1.966, allocations: 5.344 kB / 0.552 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.423e-06/1.966, allocations: 0 / 0.552 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.869e-06/1.966, allocations: 0 / 0.552 GB, free: 8.723 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.004384/1.97, allocations: 1.805 MB / 0.5538 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/1.971, allocations: 12.78 kB / 0.5538 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/1.971, allocations: 91.39 kB / 0.5539 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000489/1.971, allocations: 366.3 kB / 0.5542 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.357e-05/1.971, allocations: 32.59 kB / 0.5543 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.572e-05/1.971, allocations: 35.09 kB / 0.5543 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009085/1.972, allocations: 0.5459 MB / 0.5548 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/1.972, allocations: 4 kB / 0.5548 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.278e-05/1.972, allocations: 13.69 kB / 0.5548 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/1.972, allocations: 12 kB / 0.5549 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009474/1.973, allocations: 0.5779 MB / 0.5554 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002234/1.975, allocations: 1.954 MB / 0.5573 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/1.977, allocations: 0.7494 MB / 0.5581 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004134/1.977, allocations: 261 kB / 0.5583 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08362/2.061, allocations: 22.59 MB / 0.5804 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/2.061, allocations: 38.73 kB / 0.5804 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=37): time 2.254e-06/2.061, allocations: 0 / 0.5804 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37): time 0.005648/2.067, allocations: 1.735 MB / 0.5821 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/2.067, allocations: 59.81 kB / 0.5822 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008862/2.067, allocations: 0.7195 MB / 0.5829 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/2.067, allocations: 25.7 kB / 0.5829 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003133/2.068, allocations: 360.8 kB / 0.5832 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/2.068, allocations: 130.8 kB / 0.5834 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/2.068, allocations: 65.64 kB / 0.5834 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000147/2.068, allocations: 318 kB / 0.5837 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003991/2.069, allocations: 247.9 kB / 0.584 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004365/2.069, allocations: 300.7 kB / 0.5842 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008453/2.07, allocations: 0.5523 MB / 0.5848 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-06/2.07, allocations: 0 / 0.5848 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001457/2.071, allocations: 0.9269 MB / 0.5857 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/2.071, allocations: 4.781 kB / 0.5857 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/2.071, allocations: 4 kB / 0.5857 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005043/2.076, allocations: 1.012 MB / 0.5867 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.379e-05/2.076, allocations: 8 kB / 0.5867 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002212/2.079, allocations: 1.786 MB / 0.5884 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/2.079, allocations: 31.89 kB / 0.5885 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/2.079, allocations: 15.94 kB / 0.5885 GB, free: 3.078 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 (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.0003128/2.079, allocations: 245.7 kB / 0.5887 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/2.079, allocations: 80.8 kB / 0.5888 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00191/2.081, allocations: 1.089 MB / 0.5899 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001524/2.083, allocations: 0.9189 MB / 0.5908 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/2.083, allocations: 0 / 0.5908 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/2.083, allocations: 3.938 kB / 0.5908 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003083/2.086, allocations: 1.946 MB / 0.5927 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/2.086, allocations: 4 kB / 0.5927 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.753e-05/2.086, allocations: 16 kB / 0.5927 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002794/2.089, allocations: 0.738 MB / 0.5934 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/2.089, allocations: 7.938 kB / 0.5934 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002254/2.091, allocations: 1.821 MB / 0.5952 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/2.091, allocations: 0 / 0.5952 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/2.093, allocations: 1.12 MB / 0.5963 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001827/2.093, allocations: 95.33 kB / 0.5964 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.663e-05/2.093, allocations: 7.984 kB / 0.5964 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/2.093, allocations: 16 kB / 0.5964 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/2.093, allocations: 23.89 kB / 0.5964 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.893e-05/2.093, allocations: 15.98 kB / 0.5964 GB, free: 10.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005896/2.094, allocations: 0.5028 MB / 0.5969 GB, free: 10.32 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/2.094, allocations: 3.938 kB / 0.5969 GB, free: 10.32 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00289/2.097, allocations: 1.157 MB / 0.5981 GB, free: 9.16 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.004484/2.101, allocations: 1.617 MB / 0.5996 GB, free: 7.547 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001495/2.103, allocations: 0.6908 MB / 0.6003 GB, free: 6.855 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/2.103, allocations: 0 / 0.6003 GB, free: 6.855 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008419/2.104, allocations: 399.9 kB / 0.6007 GB, free: 6.465 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006286/2.104, allocations: 88.3 kB / 0.6008 GB, free: 6.379 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/2.107, allocations: 1.549 MB / 0.6023 GB, free: 4.809 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004546/2.107, allocations: 384.9 kB / 0.6027 GB, free: 4.406 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.597e-05/2.107, allocations: 15.38 kB / 0.6027 GB, free: 4.395 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.338e-05/2.107, allocations: 16.5 kB / 0.6027 GB, free: 4.379 MB / 0.545 GB Notification: Performance of SimCode: time 5.91e-07/2.107, allocations: 0 / 0.6027 GB, free: 4.379 MB / 0.545 GB Notification: Performance of Templates: time 0.06199/2.169, allocations: 40.26 MB / 0.642 GB, free: 12.29 MB / 0.5919 GB " [Timeout remaining time 658] 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 -s ida -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump9.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.979769458994269] Failed to read output from testmodel.py, exit status != 0: 2.326427447027527 2.341673467 0.37229781700000003 Calling exit ...