Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.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.5621/0.5621, allocations: 120.4 MB / 140.2 MB, free: 13 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.TestCentrifugalPump13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.855e-06/2.855e-06, allocations: 0 / 218 MB, free: 8.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.803e-05, allocations: 6.594 kB / 218 MB, free: 8.613 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.TestCentrifugalPump13): time 0.9401/0.9402, allocations: 254.4 MB / 472.4 MB, free: 8.789 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.2193/1.159, allocations: 27.71 MB / 0.4884 GB, free: 0.9805 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001776/1.16, allocations: 0 / 0.4884 GB, free: 0.9805 MB / 442.7 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). Notification: Performance of NFTyping.typeComponents: time 0.0003281/1.16, allocations: 110.2 kB / 0.4885 GB, free: 0.9805 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001659/1.16, allocations: 118.1 kB / 0.4886 GB, free: 0.9805 MB / 442.7 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.01549/1.176, allocations: 8.662 MB / 0.497 GB, free: 240 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005198/1.176, allocations: 461.2 kB / 0.4975 GB, free: 88 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001999/1.176, allocations: 166.4 kB / 0.4976 GB, free: 28 kB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003166/1.177, allocations: 273.9 kB / 0.4979 GB, free: 15.95 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/1.177, allocations: 145.2 kB / 0.498 GB, free: 15.9 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 4.166e-05/1.177, allocations: 31.62 kB / 0.4981 GB, free: 15.9 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01745/1.194, allocations: 14.3 MB / 0.512 GB, free: 8.078 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001725/1.194, allocations: 197.6 kB / 0.5122 GB, free: 7.891 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001747/1.195, allocations: 154.2 kB / 0.5124 GB, free: 7.746 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01309/1.208, allocations: 10.05 MB / 0.5222 GB, free: 14.17 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/1.208, allocations: 4.562 kB / 0.5222 GB, free: 14.16 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.803e-06/1.208, allocations: 3 kB / 0.5222 GB, free: 14.16 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/1.208, allocations: 2.562 kB / 0.5222 GB, free: 14.16 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.002751/1.211, allocations: 1.834 MB / 0.524 GB, free: 12.3 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/1.211, allocations: 8.531 kB / 0.524 GB, free: 12.29 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.876e-05/1.211, allocations: 96.55 kB / 0.5241 GB, free: 12.2 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/1.211, allocations: 366.7 kB / 0.5244 GB, free: 11.83 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.1e-05/1.211, allocations: 27.38 kB / 0.5245 GB, free: 11.81 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.753e-05/1.211, allocations: 29.09 kB / 0.5245 GB, free: 11.78 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005466/1.212, allocations: 483.7 kB / 0.5249 GB, free: 11.3 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/1.212, allocations: 1.125 kB / 0.5249 GB, free: 11.3 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/1.212, allocations: 15.94 kB / 0.525 GB, free: 11.28 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/1.212, allocations: 9.938 kB / 0.525 GB, free: 11.27 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005741/1.212, allocations: 499 kB / 0.5254 GB, free: 10.79 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/1.213, allocations: 1.473 MB / 0.5269 GB, free: 9.297 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006613/1.214, allocations: 0.4993 MB / 0.5274 GB, free: 8.793 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002273/1.214, allocations: 197.5 kB / 0.5276 GB, free: 8.598 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03761/1.252, allocations: 22.61 MB / 0.5496 GB, free: 2.137 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/1.252, allocations: 30.56 kB / 0.5497 GB, free: 2.098 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 1.984e-06/1.252, allocations: 0 / 0.5497 GB, free: 2.098 MB / 490.7 MB Notification: Performance of matching and sorting (n=34): time 0.001837/1.254, allocations: 0.9683 MB / 0.5506 GB, free: 1.125 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/1.254, allocations: 55.41 kB / 0.5507 GB, free: 1.059 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005766/1.254, allocations: 0.7713 MB / 0.5514 GB, free: 288 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/1.254, allocations: 29.7 kB / 0.5515 GB, free: 252 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002596/1.255, allocations: 386.3 kB / 0.5518 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.238e-05/1.255, allocations: 120.9 kB / 0.5519 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.168e-05/1.255, allocations: 70.02 kB / 0.552 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.954e-05/1.255, allocations: 326 kB / 0.5523 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/1.255, allocations: 212.7 kB / 0.5525 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/1.255, allocations: 263.2 kB / 0.5528 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005124/1.256, allocations: 480.9 kB / 0.5532 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/1.256, allocations: 0.75 kB / 0.5532 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007489/1.257, allocations: 0.6828 MB / 0.5539 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/1.257, allocations: 8 kB / 0.5539 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/1.257, allocations: 1.062 kB / 0.5539 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002292/1.259, allocations: 0.637 MB / 0.5545 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/1.259, allocations: 59.05 kB / 0.5546 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006037/1.26, allocations: 0.7754 MB / 0.5553 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/1.26, allocations: 51.8 kB / 0.5554 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/1.26, allocations: 16.73 kB / 0.5554 GB, free: 12.19 MB / 0.4948 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 (26): * Single equations (assignments): 25 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002051/1.26, allocations: 244.5 kB / 0.5556 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.545e-05/1.26, allocations: 83.42 kB / 0.5557 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009288/1.261, allocations: 0.7844 MB / 0.5565 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006301/1.262, allocations: 0.5899 MB / 0.5571 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/1.262, allocations: 0.8438 kB / 0.5571 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/1.262, allocations: 3.938 kB / 0.5571 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/1.263, allocations: 1.33 MB / 0.5584 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/1.263, allocations: 0 / 0.5584 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/1.263, allocations: 53.03 kB / 0.5584 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009784/1.264, allocations: 393.7 kB / 0.5588 GB, free: 8.691 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/1.264, allocations: 8 kB / 0.5588 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005447/1.265, allocations: 0.8052 MB / 0.5596 GB, free: 7.855 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.265, allocations: 0 / 0.5596 GB, free: 7.855 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007303/1.266, allocations: 0.7648 MB / 0.5603 GB, free: 7.074 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/1.266, allocations: 107.2 kB / 0.5604 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/1.266, allocations: 12 kB / 0.5604 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/1.266, allocations: 24.67 kB / 0.5605 GB, free: 6.934 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/1.266, allocations: 23.95 kB / 0.5605 GB, free: 6.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/1.266, allocations: 10 kB / 0.5605 GB, free: 6.902 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00038/1.266, allocations: 0.5419 MB / 0.561 GB, free: 6.367 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/1.266, allocations: 3.938 kB / 0.561 GB, free: 6.363 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002407/1.269, allocations: 1.169 MB / 0.5622 GB, free: 5.191 MB / 0.4948 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 (24): * Single equations (assignments): 23 * 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.002851/1.272, allocations: 1.776 MB / 0.5639 GB, free: 3.629 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008112/1.272, allocations: 0.5838 MB / 0.5645 GB, free: 3.051 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.272, allocations: 0 / 0.5645 GB, free: 3.051 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003724/1.273, allocations: 299.5 kB / 0.5648 GB, free: 2.762 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/1.273, allocations: 89.36 kB / 0.5648 GB, free: 2.676 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/1.275, allocations: 1.489 MB / 0.5663 GB, free: 1.16 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/1.275, allocations: 389.3 kB / 0.5667 GB, free: 0.7578 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.171e-05/1.275, allocations: 32.48 kB / 0.5667 GB, free: 0.7266 MB / 0.4948 GB Notification: Performance of SimCode: time 6.51e-07/1.275, allocations: 0 / 0.5667 GB, free: 0.7266 MB / 0.4948 GB Notification: Performance of Templates: time 0.02348/1.299, allocations: 28.64 MB / 0.5947 GB, free: 4.199 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump13.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.804648081772029] Failed to read output from testmodel.py, exit status != 0: 1.516596612520516 1.439453723 0.229969687 Calling exit ...