Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump5.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.4945/0.4945, allocations: 111.6 MB / 132.2 MB, free: 4.414 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump5") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 177.3 MB, free: 8.922 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.532e-05, allocations: 6.25 kB / 177.3 MB, free: 8.914 MB / 170.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.TestCentrifugalPump5): time 1.082/1.082, allocations: 257.4 MB / 434.7 MB, free: 15.97 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02461/1.107, allocations: 29.48 MB / 464.2 MB, free: 2.371 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001846/1.107, allocations: 4 kB / 464.2 MB, free: 2.367 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/CentrifugalPump.mo:64:3-65:80: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:66:3-67:78: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:70:3-71:99: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:16:3-17:78: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:10:3-11:80: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/Machines/Shaft.mo:10:3-11:79:writable] Warning: Connector C2 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/ElectroMechanics/Machines/Shaft.mo:12:3-13:81:writable] Warning: Connector C1 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/ElectroMechanics/Machines/SynchronousMotor.mo:21:3-22:78:writable] Warning: Connector C 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.0003389/1.107, allocations: 119.1 kB / 464.3 MB, free: 2.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000216/1.107, allocations: 144.9 kB / 464.4 MB, free: 2.105 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470: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:525:9-525: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:708:9-708: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:51:3-51: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:51:3-51: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:118:3-118:151: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:118:3-118:151: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.01554/1.123, allocations: 8.704 MB / 473.1 MB, free: 9.371 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005437/1.123, allocations: 0.5134 MB / 473.7 MB, free: 8.855 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002284/1.124, allocations: 211.5 kB / 473.9 MB, free: 8.648 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003204/1.124, allocations: 319.1 kB / 474.2 MB, free: 8.336 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001883/1.124, allocations: 155.5 kB / 474.3 MB, free: 8.184 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.988e-05/1.124, allocations: 36 kB / 474.4 MB, free: 8.148 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1914/1.316, allocations: 14.28 MB / 488.6 MB, free: 10.48 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002107/1.316, allocations: 210.1 kB / 488.9 MB, free: 10.48 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002581/1.316, allocations: 173.4 kB / 489 MB, free: 10.48 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01727/1.333, allocations: 9.922 MB / 498.9 MB, free: 10.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/1.333, allocations: 0 / 498.9 MB, free: 10.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.382e-06/1.333, allocations: 0.625 kB / 498.9 MB, free: 10.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.24e-05/1.333, allocations: 1.281 kB / 498.9 MB, free: 10.2 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.004759/1.338, allocations: 2.053 MB / 0.4893 GB, free: 8.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/1.338, allocations: 12.58 kB / 0.4893 GB, free: 8.926 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/1.338, allocations: 131.7 kB / 0.4894 GB, free: 8.867 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/1.339, allocations: 401.9 kB / 0.4898 GB, free: 8.605 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/1.339, allocations: 30.12 kB / 0.4898 GB, free: 8.605 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.788e-05/1.339, allocations: 39.16 kB / 0.4898 GB, free: 8.605 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000471/1.339, allocations: 0.4977 MB / 0.4903 GB, free: 8.359 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/1.339, allocations: 7.234 kB / 0.4903 GB, free: 8.355 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/1.339, allocations: 17.25 kB / 0.4904 GB, free: 8.355 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/1.339, allocations: 10.56 kB / 0.4904 GB, free: 8.355 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003189/1.339, allocations: 353.6 kB / 0.4907 GB, free: 8.289 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/1.341, allocations: 2.419 MB / 0.4931 GB, free: 6.699 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000601/1.342, allocations: 0.5069 MB / 0.4936 GB, free: 6.598 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/1.342, allocations: 206.3 kB / 0.4938 GB, free: 6.523 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03997/1.382, allocations: 19.75 MB / 0.513 GB, free: 8.387 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/1.382, allocations: 41.39 kB / 0.5131 GB, free: 8.336 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 2.224e-06/1.382, allocations: 0 / 0.5131 GB, free: 8.336 MB / 442.7 MB Notification: Performance of matching and sorting (n=45): time 0.002456/1.384, allocations: 1.328 MB / 0.5144 GB, free: 6.984 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/1.384, allocations: 106.8 kB / 0.5145 GB, free: 6.855 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006415/1.385, allocations: 0.714 MB / 0.5152 GB, free: 6.238 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/1.385, allocations: 33.7 kB / 0.5152 GB, free: 6.199 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002369/1.385, allocations: 466.5 kB / 0.5156 GB, free: 5.773 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.047e-05/1.385, allocations: 156.7 kB / 0.5158 GB, free: 5.629 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.827e-05/1.385, allocations: 88.91 kB / 0.5159 GB, free: 5.543 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/1.385, allocations: 0.4932 MB / 0.5164 GB, free: 5.051 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/1.386, allocations: 171.8 kB / 0.5165 GB, free: 4.867 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/1.386, allocations: 253.2 kB / 0.5168 GB, free: 4.594 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/1.386, allocations: 451.1 kB / 0.5172 GB, free: 4.125 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/1.386, allocations: 0 / 0.5172 GB, free: 4.125 MB / 442.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007921/1.387, allocations: 0.7754 MB / 0.518 GB, free: 3.328 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.226e-05/1.387, allocations: 67.39 kB / 0.518 GB, free: 3.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/1.387, allocations: 0 / 0.518 GB, free: 3.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002265/1.389, allocations: 0.8825 MB / 0.5189 GB, free: 2.379 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.484e-05/1.389, allocations: 23.98 kB / 0.5189 GB, free: 2.355 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009967/1.39, allocations: 1.691 MB / 0.5206 GB, free: 0.6797 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/1.39, allocations: 35.72 kB / 0.5206 GB, free: 0.6445 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/1.39, allocations: 16 kB / 0.5206 GB, free: 0.6289 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 (nONL.yL.signal,echelon.yL.signal,centrifugalPump.C1.a,centrifugalPump.C2.b,sourcePQ.C.b,sink.C.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * 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,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0001655/1.391, allocations: 233.7 kB / 0.5208 GB, free: 392 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.747e-05/1.391, allocations: 99.44 kB / 0.5209 GB, free: 292 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008559/1.391, allocations: 0.8017 MB / 0.5217 GB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007353/1.392, allocations: 0.6706 MB / 0.5224 GB, free: 14.77 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/1.392, allocations: 0 / 0.5224 GB, free: 14.77 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/1.392, allocations: 7.984 kB / 0.5224 GB, free: 14.76 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/1.394, allocations: 1.576 MB / 0.5239 GB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/1.394, allocations: 0 / 0.5239 GB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/1.394, allocations: 44.11 kB / 0.524 GB, free: 13.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001122/1.395, allocations: 0.5682 MB / 0.5245 GB, free: 12.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/1.395, allocations: 11.98 kB / 0.5245 GB, free: 12.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009071/1.396, allocations: 1.669 MB / 0.5261 GB, free: 10.93 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.396, allocations: 0 / 0.5261 GB, free: 10.93 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008099/1.397, allocations: 1.166 MB / 0.5273 GB, free: 9.719 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/1.397, allocations: 115.2 kB / 0.5274 GB, free: 9.605 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.837e-05/1.397, allocations: 12 kB / 0.5274 GB, free: 9.594 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/1.397, allocations: 9.25 kB / 0.5274 GB, free: 9.586 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.82e-05/1.397, allocations: 29.19 kB / 0.5274 GB, free: 9.559 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/1.397, allocations: 12 kB / 0.5275 GB, free: 9.547 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002446/1.397, allocations: 422.4 kB / 0.5279 GB, free: 9.176 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.61e-07/1.397, allocations: 0 / 0.5279 GB, free: 9.176 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002974/1.4, allocations: 1.177 MB / 0.529 GB, free: 7.996 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (shaft.delta,synchronousMotor.w,synchronousMotor.Im) * Number of discrete variables: 2 (echelon.yL.signal,nONL.yL.signal) * Number of discrete states: 2 (echelon.yL.signal,nONL.yL.signal) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 2 * 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,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003855/1.404, allocations: 1.848 MB / 0.5308 GB, free: 6.367 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007355/1.405, allocations: 0.6897 MB / 0.5315 GB, free: 5.637 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/1.405, allocations: 0 / 0.5315 GB, free: 5.637 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003879/1.405, allocations: 458.3 kB / 0.5319 GB, free: 5.156 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/1.405, allocations: 101.2 kB / 0.532 GB, free: 5.066 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/1.408, allocations: 1.677 MB / 0.5337 GB, free: 3.371 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/1.408, allocations: 201.6 kB / 0.5339 GB, free: 3.152 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.549e-05/1.408, allocations: 24.2 kB / 0.5339 GB, free: 3.133 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/1.408, allocations: 126.2 kB / 0.534 GB, free: 3.008 MB / 458.7 MB Notification: Performance of SimCode: time 9.41e-07/1.408, allocations: 0 / 0.534 GB, free: 3.008 MB / 458.7 MB Notification: Performance of Templates: time 0.04927/1.457, allocations: 48.47 MB / 0.5813 GB, free: 2.785 MB / 0.4948 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump5.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump5.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump5.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump5.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump5.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump5 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump5.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.509306794963777]