Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.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 1.241/1.241, allocations: 153.8 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.TestCentrifugalPump12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005591/0.0005591, allocations: 7.984 kB / 251.1 MB, free: 3.953 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1574, allocations: 33.37 MB / 284.5 MB, free: 2.133 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.TestCentrifugalPump12): time 1.832/1.99, allocations: 307.7 MB / 0.5782 GB, free: 15.96 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02947/2.019, allocations: 31.53 MB / 0.609 GB, free: 404 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003527/2.02, allocations: 6.438 kB / 0.609 GB, free: 400 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/SourceTorque.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.0004758/2.02, allocations: 132.3 kB / 0.6092 GB, free: 336 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002656/2.02, allocations: 121.8 kB / 0.6093 GB, free: 260 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.02541/2.046, allocations: 8.687 MB / 0.6178 GB, free: 11.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008256/2.047, allocations: 449.8 kB / 0.6182 GB, free: 11.71 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003503/2.047, allocations: 177.1 kB / 0.6184 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004361/2.047, allocations: 208.1 kB / 0.6186 GB, free: 11.47 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003617/2.048, allocations: 197.9 kB / 0.6187 GB, free: 11.33 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.301e-05/2.048, allocations: 31.47 kB / 0.6188 GB, free: 11.33 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.032/2.08, allocations: 15.18 MB / 0.6336 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002726/2.08, allocations: 195.3 kB / 0.6338 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003675/2.08, allocations: 297.8 kB / 0.6341 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01967/2.1, allocations: 7.989 MB / 0.6419 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/2.1, allocations: 0.5 kB / 0.6419 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.744e-06/2.1, allocations: 0 / 0.6419 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.068e-05/2.1, allocations: 0.7188 kB / 0.6419 GB, free: 4.223 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.004982/2.105, allocations: 1.866 MB / 0.6437 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/2.105, allocations: 8.031 kB / 0.6437 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/2.105, allocations: 99.38 kB / 0.6438 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004948/2.106, allocations: 373.4 kB / 0.6442 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.685e-05/2.106, allocations: 28.59 kB / 0.6442 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.397e-05/2.106, allocations: 33.69 kB / 0.6442 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008949/2.107, allocations: 492.6 kB / 0.6447 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/2.107, allocations: 0 / 0.6447 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.636e-05/2.107, allocations: 16 kB / 0.6447 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/2.107, allocations: 8 kB / 0.6447 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/2.108, allocations: 0.5021 MB / 0.6452 GB, free: 0.7305 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002674/2.111, allocations: 1.826 MB / 0.647 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/2.112, allocations: 0.6249 MB / 0.6476 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004175/2.113, allocations: 204.8 kB / 0.6478 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07905/2.192, allocations: 22.54 MB / 0.6698 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/2.192, allocations: 30.56 kB / 0.6698 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=38): time 2.144e-06/2.192, allocations: 0 / 0.6698 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of matching and sorting (n=38): time 0.003396/2.195, allocations: 0.9986 MB / 0.6708 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/2.195, allocations: 59.34 kB / 0.6709 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/2.196, allocations: 0.8296 MB / 0.6717 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.97e-05/2.197, allocations: 33.7 kB / 0.6717 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003412/2.197, allocations: 364.7 kB / 0.6721 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/2.197, allocations: 139.8 kB / 0.6722 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/2.197, allocations: 73.97 kB / 0.6723 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001437/2.197, allocations: 322 kB / 0.6726 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005004/2.198, allocations: 212.6 kB / 0.6728 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005378/2.198, allocations: 276.2 kB / 0.673 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008844/2.199, allocations: 486.4 kB / 0.6735 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/2.199, allocations: 4 kB / 0.6735 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001582/2.201, allocations: 0.7925 MB / 0.6743 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/2.201, allocations: 7.938 kB / 0.6743 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/2.201, allocations: 5.312 kB / 0.6743 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005036/2.206, allocations: 0.8851 MB / 0.6752 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/2.206, allocations: 40.75 kB / 0.6752 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001806/2.208, allocations: 1.319 MB / 0.6765 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004182/2.208, allocations: 63.69 kB / 0.6765 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.324e-05/2.208, allocations: 12 kB / 0.6766 GB, free: 372 kB / 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 (sinkP.C.a,sourceP.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 (20): * Single equations (assignments): 19 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003322/2.209, allocations: 245.7 kB / 0.6768 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/2.209, allocations: 87.39 kB / 0.6769 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001633/2.21, allocations: 0.8111 MB / 0.6777 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001172/2.212, allocations: 0.6239 MB / 0.6783 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/2.212, allocations: 0 / 0.6783 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/2.212, allocations: 0 / 0.6783 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002611/2.214, allocations: 1.479 MB / 0.6797 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/2.214, allocations: 4.844 kB / 0.6797 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003239/2.215, allocations: 61.2 kB / 0.6798 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002051/2.217, allocations: 397 kB / 0.6802 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-05/2.217, allocations: 12 kB / 0.6802 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001004/2.218, allocations: 0.8022 MB / 0.681 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/2.218, allocations: 0 / 0.681 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002032/2.22, allocations: 1.129 MB / 0.6821 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000247/2.22, allocations: 120.3 kB / 0.6822 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.949e-05/2.22, allocations: 8 kB / 0.6822 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003311/2.22, allocations: 31.91 kB / 0.6822 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.615e-05/2.22, allocations: 21.33 kB / 0.6822 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.813e-05/2.22, allocations: 15.98 kB / 0.6822 GB, free: 10.41 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007713/2.221, allocations: 0.5819 MB / 0.6828 GB, free: 9.832 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/2.221, allocations: 0 / 0.6828 GB, free: 9.832 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002967/2.224, allocations: 1.165 MB / 0.6839 GB, free: 8.664 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (centrifugalPump.w) * 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 (29): * Single equations (assignments): 28 * 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,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00525/2.229, allocations: 1.623 MB / 0.6855 GB, free: 7.066 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001585/2.231, allocations: 0.6016 MB / 0.6861 GB, free: 6.461 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/2.231, allocations: 0 / 0.6861 GB, free: 6.461 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007673/2.232, allocations: 321.4 kB / 0.6864 GB, free: 6.148 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006598/2.232, allocations: 98.12 kB / 0.6865 GB, free: 6.062 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002864/2.235, allocations: 1.639 MB / 0.6881 GB, free: 4.391 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006937/2.236, allocations: 0.9814 MB / 0.6891 GB, free: 3.383 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/2.236, allocations: 39.42 kB / 0.6891 GB, free: 3.344 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/2.236, allocations: 0 / 0.6891 GB, free: 3.344 MB / 0.545 GB Notification: Performance of Templates: time 0.04471/2.281, allocations: 28.44 MB / 0.7169 GB, free: 7.363 MB / 0.5762 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.426787444856018] Failed to read output from testmodel.py, exit status != 0: 2.451262953924015 2.466067082 0.36271276900000005 Calling exit ...