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.8382/0.8382, allocations: 153.9 MB / 173.4 MB, free: 4.953 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.00055/0.00055, allocations: 15.97 kB / 251.1 MB, free: 3.965 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1659, allocations: 33.36 MB / 284.5 MB, free: 2.141 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.821/1.987, allocations: 307.7 MB / 0.5782 GB, free: 16.03 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03007/2.017, allocations: 31.54 MB / 0.609 GB, free: 484 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000327/2.017, allocations: 2.625 kB / 0.609 GB, free: 484 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/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.00046/2.018, allocations: 133.6 kB / 0.6092 GB, free: 416 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003629/2.018, allocations: 120.8 kB / 0.6093 GB, free: 344 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.02586/2.044, allocations: 8.692 MB / 0.6178 GB, free: 12 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008592/2.045, allocations: 439.1 kB / 0.6182 GB, free: 11.74 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003918/2.045, allocations: 175.4 kB / 0.6184 GB, free: 11.62 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004786/2.046, allocations: 193.7 kB / 0.6185 GB, free: 11.51 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003716/2.046, allocations: 189.6 kB / 0.6187 GB, free: 11.38 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.218e-05/2.046, allocations: 30 kB / 0.6187 GB, free: 11.38 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03394/2.08, allocations: 15.15 MB / 0.6335 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002627/2.08, allocations: 188.1 kB / 0.6337 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003842/2.081, allocations: 301.8 kB / 0.634 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02048/2.101, allocations: 7.97 MB / 0.6418 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/2.101, allocations: 0 / 0.6418 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.134e-06/2.101, allocations: 4 kB / 0.6418 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.46e-05/2.101, allocations: 0 / 0.6418 GB, free: 4.34 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.00517/2.106, allocations: 1.84 MB / 0.6436 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/2.106, allocations: 12.03 kB / 0.6436 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/2.107, allocations: 96.7 kB / 0.6437 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005317/2.107, allocations: 374.9 kB / 0.6441 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.165e-05/2.107, allocations: 24.59 kB / 0.6441 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.615e-05/2.107, allocations: 32 kB / 0.6441 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009854/2.108, allocations: 0.5706 MB / 0.6447 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/2.108, allocations: 3.938 kB / 0.6447 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.625e-05/2.108, allocations: 16 kB / 0.6447 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/2.108, allocations: 8 kB / 0.6447 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/2.109, allocations: 0.6115 MB / 0.6453 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002643/2.112, allocations: 2.257 MB / 0.6475 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/2.113, allocations: 0.7665 MB / 0.6482 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004789/2.114, allocations: 288.6 kB / 0.6485 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07874/2.193, allocations: 22.53 MB / 0.6705 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/2.193, allocations: 34.56 kB / 0.6706 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=38): time 2.415e-06/2.193, allocations: 4 kB / 0.6706 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of matching and sorting (n=38): time 0.004546/2.197, allocations: 1.461 MB / 0.672 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/2.197, allocations: 59.41 kB / 0.672 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/2.198, allocations: 0.8024 MB / 0.6728 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/2.198, allocations: 29.7 kB / 0.6729 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003421/2.199, allocations: 384.6 kB / 0.6732 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/2.199, allocations: 134.8 kB / 0.6733 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/2.199, allocations: 61.69 kB / 0.6734 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001482/2.199, allocations: 325.9 kB / 0.6737 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004493/2.2, allocations: 259.9 kB / 0.674 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005015/2.2, allocations: 313 kB / 0.6743 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000944/2.201, allocations: 0.5775 MB / 0.6748 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/2.201, allocations: 0 / 0.6748 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001617/2.203, allocations: 0.886 MB / 0.6757 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/2.203, allocations: 7.938 kB / 0.6757 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/2.203, allocations: 8.156 kB / 0.6757 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004542/2.207, allocations: 0.8027 MB / 0.6765 GB, free: 472 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/2.207, allocations: 35.91 kB / 0.6765 GB, free: 436 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/2.209, allocations: 1.268 MB / 0.6778 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003308/2.209, allocations: 51.66 kB / 0.6778 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/2.209, allocations: 11.94 kB / 0.6778 GB, free: 15.07 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 (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.0003433/2.21, allocations: 251.2 kB / 0.6781 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/2.21, allocations: 87.39 kB / 0.6781 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001941/2.212, allocations: 1.036 MB / 0.6792 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001538/2.213, allocations: 0.8541 MB / 0.68 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/2.213, allocations: 0.75 kB / 0.68 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/2.213, allocations: 3.984 kB / 0.68 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003096/2.217, allocations: 1.861 MB / 0.6818 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/2.217, allocations: 0 / 0.6818 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001922/2.217, allocations: 39.98 kB / 0.6819 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002394/2.219, allocations: 0.5628 MB / 0.6824 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.965e-05/2.219, allocations: 4 kB / 0.6824 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/2.221, allocations: 1.307 MB / 0.6837 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/2.221, allocations: 0 / 0.6837 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/2.223, allocations: 1.046 MB / 0.6847 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002458/2.223, allocations: 111.3 kB / 0.6848 GB, free: 7.793 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.538e-05/2.223, allocations: 11.94 kB / 0.6848 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000272/2.223, allocations: 23.97 kB / 0.6848 GB, free: 7.758 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.335e-05/2.223, allocations: 23.95 kB / 0.6849 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/2.223, allocations: 12.5 kB / 0.6849 GB, free: 7.723 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007352/2.224, allocations: 0.5653 MB / 0.6854 GB, free: 7.164 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/2.224, allocations: 0 / 0.6854 GB, free: 7.164 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003109/2.227, allocations: 1.154 MB / 0.6866 GB, free: 6.008 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.005526/2.233, allocations: 1.633 MB / 0.6882 GB, free: 4.395 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001637/2.234, allocations: 0.699 MB / 0.6888 GB, free: 3.691 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/2.234, allocations: 0 / 0.6888 GB, free: 3.691 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008289/2.235, allocations: 387.8 kB / 0.6892 GB, free: 3.312 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006717/2.236, allocations: 99.62 kB / 0.6893 GB, free: 3.227 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003289/2.239, allocations: 1.7 MB / 0.691 GB, free: 1.496 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007544/2.24, allocations: 0.9771 MB / 0.6919 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.403e-05/2.24, allocations: 31.44 kB / 0.6919 GB, free: 476 kB / 0.545 GB Notification: Performance of SimCode: time 7.62e-07/2.24, allocations: 0 / 0.6919 GB, free: 476 kB / 0.545 GB Notification: Performance of Templates: time 0.04584/2.286, allocations: 27.98 MB / 0.7193 GB, free: 4.949 MB / 0.5762 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: 10.496350159170106] Failed to read output from testmodel.py, exit status != 0: 2.4780377650167793 2.493588021 0.38896504000000004 Calling exit ...