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.4881/0.4881, allocations: 111.6 MB / 131.2 MB, free: 4.566 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.663e-06/1.663e-06, allocations: 0 / 176.2 MB, free: 8.867 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.412e-05/1.578e-05, allocations: 4.984 kB / 176.2 MB, free: 8.863 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.008/1.008, allocations: 257.4 MB / 433.6 MB, free: 80 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02467/1.033, allocations: 30.03 MB / 463.6 MB, free: 1.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/1.033, allocations: 4 kB / 463.6 MB, free: 1.926 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.000328/1.033, allocations: 119.1 kB / 463.7 MB, free: 1.809 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001912/1.033, allocations: 140.9 kB / 463.9 MB, free: 1.668 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.01409/1.047, allocations: 8.7 MB / 472.6 MB, free: 8.938 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004642/1.048, allocations: 0.5134 MB / 473.1 MB, free: 8.422 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002246/1.048, allocations: 215.7 kB / 473.3 MB, free: 8.207 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003039/1.048, allocations: 307.2 kB / 473.6 MB, free: 7.906 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/1.049, allocations: 159.5 kB / 473.7 MB, free: 7.75 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.645e-05/1.049, allocations: 36 kB / 473.8 MB, free: 7.715 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1815/1.23, allocations: 14.29 MB / 488.1 MB, free: 10.41 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001806/1.23, allocations: 204.2 kB / 488.3 MB, free: 10.41 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002026/1.23, allocations: 175.8 kB / 488.4 MB, free: 10.41 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01217/1.243, allocations: 9.925 MB / 498.4 MB, free: 10.12 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/1.243, allocations: 3.422 kB / 498.4 MB, free: 10.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.913e-06/1.243, allocations: 3.938 kB / 498.4 MB, free: 10.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.039e-05/1.243, allocations: 0 / 498.4 MB, free: 10.12 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.003322/1.246, allocations: 2.04 MB / 0.4887 GB, free: 8.848 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/1.246, allocations: 14.86 kB / 0.4887 GB, free: 8.844 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/1.246, allocations: 132.9 kB / 0.4888 GB, free: 8.785 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/1.246, allocations: 400 kB / 0.4892 GB, free: 8.523 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/1.246, allocations: 29.38 kB / 0.4892 GB, free: 8.523 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.864e-05/1.246, allocations: 36.75 kB / 0.4893 GB, free: 8.523 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004743/1.247, allocations: 0.5966 MB / 0.4899 GB, free: 8.242 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/1.247, allocations: 8.484 kB / 0.4899 GB, free: 8.238 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/1.247, allocations: 13.59 kB / 0.4899 GB, free: 8.238 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/1.247, allocations: 13 kB / 0.4899 GB, free: 8.238 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003735/1.247, allocations: 0.5198 MB / 0.4904 GB, free: 8.102 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/1.249, allocations: 2.534 MB / 0.4929 GB, free: 6.188 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006324/1.249, allocations: 0.7476 MB / 0.4936 GB, free: 5.887 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/1.249, allocations: 284.5 kB / 0.4939 GB, free: 5.746 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03694/1.286, allocations: 22.69 MB / 0.516 GB, free: 4.398 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/1.286, allocations: 37.38 kB / 0.5161 GB, free: 4.352 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 1.974e-06/1.286, allocations: 0 / 0.5161 GB, free: 4.352 MB / 442.7 MB Notification: Performance of matching and sorting (n=45): time 0.002708/1.289, allocations: 1.694 MB / 0.5177 GB, free: 2.629 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/1.289, allocations: 106.8 kB / 0.5178 GB, free: 2.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005184/1.29, allocations: 0.7143 MB / 0.5185 GB, free: 1.77 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/1.29, allocations: 37.36 kB / 0.5186 GB, free: 1.73 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/1.29, allocations: 446.5 kB / 0.519 GB, free: 1.289 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.624e-05/1.29, allocations: 158.6 kB / 0.5191 GB, free: 1.137 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.034e-05/1.29, allocations: 91.28 kB / 0.5192 GB, free: 1.039 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/1.29, allocations: 0.4887 MB / 0.5197 GB, free: 0.543 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/1.29, allocations: 255.8 kB / 0.5199 GB, free: 284 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004628/1.291, allocations: 340.5 kB / 0.5203 GB, free: 15.91 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004148/1.291, allocations: 0.5949 MB / 0.5208 GB, free: 15.27 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.291, allocations: 0 / 0.5208 GB, free: 15.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009732/1.292, allocations: 1.039 MB / 0.5219 GB, free: 14.21 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.018e-05/1.292, allocations: 59.41 kB / 0.5219 GB, free: 14.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/1.292, allocations: 0 / 0.5219 GB, free: 14.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002381/1.295, allocations: 0.9841 MB / 0.5229 GB, free: 13.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.664e-05/1.295, allocations: 26.98 kB / 0.5229 GB, free: 13.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/1.296, allocations: 1.923 MB / 0.5248 GB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/1.296, allocations: 31.78 kB / 0.5248 GB, free: 11.15 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/1.296, allocations: 15.98 kB / 0.5248 GB, free: 11.14 MB / 458.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 (sink.C.a,sourcePQ.C.b,centrifugalPump.C2.b,centrifugalPump.C1.a,nONL.yL.signal,echelon.yL.signal) * 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.0001525/1.296, allocations: 235.2 kB / 0.5251 GB, free: 10.89 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.58e-05/1.296, allocations: 95.44 kB / 0.5251 GB, free: 10.79 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009718/1.297, allocations: 1.066 MB / 0.5262 GB, free: 9.699 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001009/1.298, allocations: 0.9211 MB / 0.5271 GB, free: 8.746 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/1.298, allocations: 0 / 0.5271 GB, free: 8.746 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/1.298, allocations: 4.547 kB / 0.5271 GB, free: 8.742 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001542/1.3, allocations: 1.951 MB / 0.529 GB, free: 6.742 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/1.3, allocations: 3.984 kB / 0.529 GB, free: 6.738 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/1.3, allocations: 32.92 kB / 0.529 GB, free: 6.707 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00121/1.301, allocations: 0.6691 MB / 0.5297 GB, free: 6.039 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/1.301, allocations: 8 kB / 0.5297 GB, free: 6.031 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/1.302, allocations: 1.912 MB / 0.5316 GB, free: 4.086 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/1.302, allocations: 0.6562 kB / 0.5316 GB, free: 4.086 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/1.303, allocations: 1.502 MB / 0.533 GB, free: 2.523 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/1.303, allocations: 115.3 kB / 0.5331 GB, free: 2.41 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/1.303, allocations: 4.5 kB / 0.5331 GB, free: 2.406 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/1.303, allocations: 16 kB / 0.5332 GB, free: 2.391 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/1.303, allocations: 28.44 kB / 0.5332 GB, free: 2.363 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/1.303, allocations: 20 kB / 0.5332 GB, free: 2.344 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002856/1.304, allocations: 444.5 kB / 0.5336 GB, free: 1.918 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.1e-08/1.304, allocations: 0 / 0.5336 GB, free: 1.918 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002697/1.306, allocations: 1.177 MB / 0.5348 GB, free: 0.7383 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.003125/1.31, allocations: 1.769 MB / 0.5365 GB, free: 15.19 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0008264/1.31, allocations: 0.8608 MB / 0.5373 GB, free: 14.28 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/1.31, allocations: 0 / 0.5373 GB, free: 14.28 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000437/1.311, allocations: 0.5359 MB / 0.5379 GB, free: 13.71 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/1.311, allocations: 100.8 kB / 0.538 GB, free: 13.62 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002242/1.313, allocations: 1.75 MB / 0.5397 GB, free: 11.84 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/1.314, allocations: 197.6 kB / 0.5399 GB, free: 11.63 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 5.711e-05/1.314, allocations: 30.39 kB / 0.5399 GB, free: 11.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.44e-05/1.314, allocations: 20.5 kB / 0.5399 GB, free: 11.58 MB / 474.7 MB Notification: Performance of SimCode: time 5.31e-07/1.314, allocations: 0 / 0.5399 GB, free: 11.58 MB / 474.7 MB Notification: Performance of Templates: time 0.03931/1.353, allocations: 42.12 MB / 0.581 GB, free: 1.707 MB / 0.4948 GB " [Timeout remaining time 659] 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.087947504129261]