Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2.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.5582/0.5582, allocations: 120.4 MB / 140.2 MB, free: 12.99 MB / 138.7 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.TestCentrifugalPump2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 218 MB, free: 8.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.453e-05, allocations: 4.688 kB / 218 MB, free: 8.617 MB / 202.7 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.TestCentrifugalPump2): time 0.9552/0.9552, allocations: 255.1 MB / 473.1 MB, free: 8.066 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.3393/1.294, allocations: 164.6 MB / 0.6227 GB, free: 9.387 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000398/1.295, allocations: 4 kB / 0.6227 GB, free: 9.383 MB / 0.5573 GB [/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/SourceP.mo:30:3-31:45: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/SinkP.mo:33:3-34:47: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/PressureLosses/LumpedStraightPipe.mo:49:3-50: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/PressureLosses/LumpedStraightPipe.mo:51:3-53:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003778/1.295, allocations: 146.9 kB / 0.6229 GB, free: 9.238 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003631/1.296, allocations: 224.3 kB / 0.6231 GB, free: 9.016 MB / 0.5573 GB [/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.02275/1.318, allocations: 11.77 MB / 0.6346 GB, free: 13.26 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0007219/1.319, allocations: 0.753 MB / 0.6353 GB, free: 12.51 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002642/1.319, allocations: 228.6 kB / 0.6355 GB, free: 12.28 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003944/1.32, allocations: 430.9 kB / 0.6359 GB, free: 11.86 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/1.32, allocations: 207.4 kB / 0.6361 GB, free: 11.66 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 4.582e-05/1.32, allocations: 40 kB / 0.6362 GB, free: 11.62 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02419/1.344, allocations: 18.98 MB / 0.6547 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0003021/1.345, allocations: 227.1 kB / 0.6549 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0002163/1.345, allocations: 219.2 kB / 0.6551 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0237/1.368, allocations: 12.86 MB / 0.6677 GB, free: 11.28 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/1.368, allocations: 0 / 0.6677 GB, free: 11.28 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.503e-06/1.368, allocations: 0 / 0.6677 GB, free: 11.28 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.118e-05/1.368, allocations: 0 / 0.6677 GB, free: 11.28 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.006015/1.374, allocations: 2.369 MB / 0.67 GB, free: 8.863 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/1.374, allocations: 8.031 kB / 0.67 GB, free: 8.855 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/1.375, allocations: 119.2 kB / 0.6701 GB, free: 8.738 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/1.375, allocations: 437 kB / 0.6705 GB, free: 8.285 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/1.375, allocations: 32.94 kB / 0.6706 GB, free: 8.254 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.93e-05/1.375, allocations: 40 kB / 0.6706 GB, free: 8.215 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007276/1.376, allocations: 0.7735 MB / 0.6714 GB, free: 7.391 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/1.376, allocations: 3.938 kB / 0.6714 GB, free: 7.387 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.045e-05/1.376, allocations: 20.84 kB / 0.6714 GB, free: 7.367 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/1.376, allocations: 23.98 kB / 0.6714 GB, free: 7.344 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007537/1.377, allocations: 0.7572 MB / 0.6722 GB, free: 6.586 MB / 0.6042 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.01088/1.388, allocations: 7.587 MB / 0.6796 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008523/1.388, allocations: 0.8224 MB / 0.6804 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003305/1.389, allocations: 362.7 kB / 0.6807 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3019/1.691, allocations: 91.61 MB / 0.7702 GB, free: 282.3 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/1.691, allocations: 34.78 kB / 0.7702 GB, free: 282.2 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=72): time 2.475e-06/1.691, allocations: 0 / 0.7702 GB, free: 282.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=72): time 0.002559/1.693, allocations: 1.742 MB / 0.7719 GB, free: 280.5 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.243e-05/1.693, allocations: 57.38 kB / 0.772 GB, free: 280.5 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000513/1.694, allocations: 0.8206 MB / 0.7728 GB, free: 279.6 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/1.694, allocations: 29.7 kB / 0.7728 GB, free: 279.6 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/1.694, allocations: 427.8 kB / 0.7732 GB, free: 279.2 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.082e-05/1.694, allocations: 254 kB / 0.7734 GB, free: 279 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.264e-05/1.694, allocations: 102.1 kB / 0.7735 GB, free: 278.9 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 3.678e-05/1.694, allocations: 337.7 kB / 0.7739 GB, free: 278.6 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002817/1.694, allocations: 353.3 kB / 0.7742 GB, free: 278.2 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003119/1.695, allocations: 439.8 kB / 0.7746 GB, free: 277.8 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005881/1.695, allocations: 0.8005 MB / 0.7754 GB, free: 277 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.695, allocations: 0.625 kB / 0.7754 GB, free: 277 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009555/1.696, allocations: 1.153 MB / 0.7765 GB, free: 275.8 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/1.696, allocations: 4 kB / 0.7765 GB, free: 275.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/1.696, allocations: 4 kB / 0.7765 GB, free: 275.8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002983/1.699, allocations: 1.267 MB / 0.7778 GB, free: 274.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/1.699, allocations: 47.95 kB / 0.7778 GB, free: 274.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009229/1.7, allocations: 1.418 MB / 0.7792 GB, free: 273 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/1.7, allocations: 65.73 kB / 0.7793 GB, free: 273 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/1.701, allocations: 19.98 kB / 0.7793 GB, free: 273 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 6 (lumpedStraightPipe.C2.b,lumpedStraightPipe.C1.a,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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,18)} Notification: Performance of prepare postOptimizeDAE: time 0.000192/1.701, allocations: 266.8 kB / 0.7795 GB, free: 272.7 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.336e-05/1.701, allocations: 100.1 kB / 0.7796 GB, free: 272.6 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/1.702, allocations: 1.602 MB / 0.7812 GB, free: 271 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007698/1.703, allocations: 1.047 MB / 0.7822 GB, free: 269.9 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/1.703, allocations: 4 kB / 0.7822 GB, free: 269.9 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/1.703, allocations: 3.984 kB / 0.7822 GB, free: 269.9 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001604/1.704, allocations: 2.181 MB / 0.7844 GB, free: 267.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1.704, allocations: 0 / 0.7844 GB, free: 267.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/1.704, allocations: 79.89 kB / 0.7844 GB, free: 267.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001034/1.705, allocations: 0.5494 MB / 0.785 GB, free: 267.1 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/1.706, allocations: 12.73 kB / 0.785 GB, free: 267.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006979/1.706, allocations: 1.321 MB / 0.7863 GB, free: 265.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/1.706, allocations: 0 / 0.7863 GB, free: 265.7 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/1.707, allocations: 1.777 MB / 0.788 GB, free: 263.9 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/1.708, allocations: 134 kB / 0.7881 GB, free: 263.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.98e-05/1.708, allocations: 15.42 kB / 0.7882 GB, free: 263.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/1.708, allocations: 28.75 kB / 0.7882 GB, free: 263.8 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/1.708, allocations: 36.42 kB / 0.7882 GB, free: 263.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/1.708, allocations: 16.84 kB / 0.7882 GB, free: 263.7 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000349/1.708, allocations: 0.6053 MB / 0.7888 GB, free: 263.1 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8e-08/1.708, allocations: 0 / 0.7888 GB, free: 263.1 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002671/1.711, allocations: 1.622 MB / 0.7904 GB, free: 261.7 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (lumpedStraightPipe.Q) * 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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.00403/1.715, allocations: 2.558 MB / 0.7929 GB, free: 259.6 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.000951/1.716, allocations: 0.9548 MB / 0.7938 GB, free: 258.6 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.716, allocations: 0 / 0.7938 GB, free: 258.6 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004344/1.716, allocations: 485.9 kB / 0.7943 GB, free: 258.2 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005673/1.717, allocations: 197 kB / 0.7945 GB, free: 258 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/1.718, allocations: 1.986 MB / 0.7964 GB, free: 256 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/1.719, allocations: 475.5 kB / 0.7969 GB, free: 255.5 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.084e-05/1.719, allocations: 44.48 kB / 0.7969 GB, free: 255.4 MB / 0.6667 GB Notification: Performance of SimCode: time 6.51e-07/1.719, allocations: 0.7656 kB / 0.7969 GB, free: 255.4 MB / 0.6667 GB Notification: Performance of Templates: time 0.02744/1.746, allocations: 38.32 MB / 0.8344 GB, free: 217.3 MB / 0.6667 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.670569467358291] Failed to read output from testmodel.py, exit status != 0: 1.9536275127902627 1.87260809 0.502526857 Calling exit ...