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 0.8627/0.8627, allocations: 153.8 MB / 173.4 MB, free: 4.879 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.0005459/0.0005459, allocations: 11.97 kB / 251 MB, free: 3.867 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1595, allocations: 33.36 MB / 284.4 MB, free: 2.047 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.878/2.038, allocations: 307.7 MB / 0.5782 GB, free: 17.45 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02986/2.068, allocations: 27.72 MB / 0.6053 GB, free: 4.625 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002914/2.068, allocations: 6.719 kB / 0.6053 GB, free: 4.621 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/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.0004197/2.069, allocations: 112.8 kB / 0.6054 GB, free: 4.566 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000318/2.069, allocations: 114.6 kB / 0.6055 GB, free: 4.5 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.02128/2.09, allocations: 8.579 MB / 0.6139 GB, free: 160 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006671/2.091, allocations: 456.7 kB / 0.6143 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002862/2.091, allocations: 179.2 kB / 0.6145 GB, free: 15.76 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003808/2.091, allocations: 210.6 kB / 0.6147 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/2.092, allocations: 167.7 kB / 0.6149 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.332e-05/2.092, allocations: 35.69 kB / 0.6149 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02959/2.121, allocations: 14.29 MB / 0.6289 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002789/2.122, allocations: 195.3 kB / 0.629 GB, free: 1.246 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003046/2.122, allocations: 226.3 kB / 0.6293 GB, free: 1.023 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02009/2.142, allocations: 7.999 MB / 0.6371 GB, free: 9 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/2.142, allocations: 4.656 kB / 0.6371 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.582e-06/2.142, allocations: 0 / 0.6371 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.557e-06/2.142, allocations: 0 / 0.6371 GB, free: 8.996 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.00446/2.147, allocations: 1.852 MB / 0.6389 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/2.147, allocations: 12.03 kB / 0.6389 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/2.147, allocations: 91.39 kB / 0.639 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004941/2.147, allocations: 377.4 kB / 0.6393 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.175e-05/2.147, allocations: 29.53 kB / 0.6394 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.933e-05/2.147, allocations: 32.84 kB / 0.6394 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008846/2.148, allocations: 494.7 kB / 0.6399 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/2.148, allocations: 0 / 0.6399 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.681e-05/2.148, allocations: 16 kB / 0.6399 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/2.148, allocations: 8 kB / 0.6399 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009986/2.149, allocations: 0.4943 MB / 0.6404 GB, free: 5.523 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.002251/2.152, allocations: 1.491 MB / 0.6418 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001705/2.153, allocations: 0.6185 MB / 0.6424 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004468/2.154, allocations: 213.3 kB / 0.6426 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08132/2.235, allocations: 22.61 MB / 0.6647 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/2.235, allocations: 34.56 kB / 0.6648 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=38): time 2.675e-06/2.235, allocations: 4 kB / 0.6648 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=38): time 0.003208/2.238, allocations: 0.9968 MB / 0.6657 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/2.238, allocations: 59.41 kB / 0.6658 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009642/2.239, allocations: 0.7509 MB / 0.6665 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/2.239, allocations: 33.64 kB / 0.6666 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003306/2.24, allocations: 368.7 kB / 0.6669 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/2.24, allocations: 142.7 kB / 0.667 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/2.24, allocations: 70.02 kB / 0.6671 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001558/2.24, allocations: 322 kB / 0.6674 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004404/2.24, allocations: 212.6 kB / 0.6676 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004948/2.241, allocations: 276.2 kB / 0.6679 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009129/2.242, allocations: 480.9 kB / 0.6683 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/2.242, allocations: 1.125 kB / 0.6683 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0016/2.243, allocations: 0.7989 MB / 0.6691 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/2.243, allocations: 7.938 kB / 0.6691 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/2.244, allocations: 8.578 kB / 0.6691 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004638/2.248, allocations: 0.8695 MB / 0.67 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/2.248, allocations: 39.97 kB / 0.67 GB, free: 7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001742/2.25, allocations: 1.318 MB / 0.6713 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003473/2.25, allocations: 51.77 kB / 0.6714 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/2.25, allocations: 20 kB / 0.6714 GB, free: 5.586 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 (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.0003143/2.251, allocations: 242.5 kB / 0.6716 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/2.251, allocations: 79.48 kB / 0.6717 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001555/2.252, allocations: 0.8026 MB / 0.6725 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001165/2.254, allocations: 0.623 MB / 0.6731 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/2.254, allocations: 0 / 0.6731 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/2.254, allocations: 0 / 0.6731 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002424/2.256, allocations: 1.379 MB / 0.6744 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-06/2.256, allocations: 4.938 kB / 0.6744 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000324/2.256, allocations: 72.7 kB / 0.6745 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001985/2.258, allocations: 397.2 kB / 0.6749 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/2.258, allocations: 4 kB / 0.6749 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009748/2.259, allocations: 0.8099 MB / 0.6757 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/2.259, allocations: 0 / 0.6757 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/2.261, allocations: 1.12 MB / 0.6768 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002244/2.262, allocations: 107.3 kB / 0.6769 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.892e-05/2.262, allocations: 8.688 kB / 0.6769 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003036/2.262, allocations: 19.98 kB / 0.6769 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.961e-05/2.262, allocations: 33.56 kB / 0.6769 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/2.262, allocations: 12 kB / 0.6769 GB, free: 15.77 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006477/2.263, allocations: 0.5303 MB / 0.6775 GB, free: 15.24 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/2.263, allocations: 0 / 0.6775 GB, free: 15.24 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003083/2.266, allocations: 1.177 MB / 0.6786 GB, free: 14.06 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.00433/2.27, allocations: 1.627 MB / 0.6802 GB, free: 12.46 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001548/2.272, allocations: 0.6015 MB / 0.6808 GB, free: 11.85 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/2.272, allocations: 0 / 0.6808 GB, free: 11.85 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007541/2.272, allocations: 321.4 kB / 0.6811 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006311/2.273, allocations: 85.11 kB / 0.6812 GB, free: 11.46 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00278/2.276, allocations: 1.631 MB / 0.6828 GB, free: 9.805 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004578/2.276, allocations: 389.9 kB / 0.6831 GB, free: 9.395 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.766e-05/2.276, allocations: 27.44 kB / 0.6832 GB, free: 9.367 MB / 0.545 GB Notification: Performance of SimCode: time 5.81e-07/2.276, allocations: 0 / 0.6832 GB, free: 9.367 MB / 0.545 GB Notification: Performance of Templates: time 0.04581/2.322, allocations: 28.54 MB / 0.711 GB, free: 13.29 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.063060970045626] Failed to read output from testmodel.py, exit status != 0: 2.4950171522796154 2.5097216479999997 0.36439780299999996 Calling exit ...