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.4715/0.4715, allocations: 111.6 MB / 131.5 MB, free: 4.91 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.403e-06/1.403e-06, allocations: 0 / 176.6 MB, free: 8.906 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.133e-05/1.273e-05, allocations: 5.047 kB / 176.6 MB, free: 8.902 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.009/1.009, allocations: 263.2 MB / 439.8 MB, free: 14.79 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02463/1.034, allocations: 29.95 MB / 469.8 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001927/1.034, allocations: 4 kB / 469.8 MB, free: 0.7109 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.0003575/1.035, allocations: 119.1 kB / 469.9 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002218/1.035, allocations: 140.9 kB / 470 MB, free: 464 kB / 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.01707/1.052, allocations: 8.778 MB / 478.8 MB, free: 7.645 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006633/1.053, allocations: 0.5173 MB / 479.3 MB, free: 7.125 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002818/1.053, allocations: 216.4 kB / 479.5 MB, free: 6.906 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003819/1.053, allocations: 315.1 kB / 479.9 MB, free: 6.598 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002216/1.053, allocations: 159.5 kB / 480 MB, free: 6.441 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.852e-05/1.054, allocations: 32 kB / 480 MB, free: 6.41 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1984/1.252, allocations: 14.29 MB / 494.3 MB, free: 9.461 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001901/1.252, allocations: 202.5 kB / 494.5 MB, free: 9.461 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002283/1.252, allocations: 174.7 kB / 494.7 MB, free: 9.461 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01621/1.269, allocations: 9.923 MB / 0.4928 GB, free: 9.02 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/1.269, allocations: 0 / 0.4928 GB, free: 9.02 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.873e-06/1.269, allocations: 0 / 0.4928 GB, free: 9.02 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.76e-05/1.269, allocations: 0 / 0.4928 GB, free: 9.02 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.004474/1.273, allocations: 1.896 MB / 0.4946 GB, free: 7.77 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/1.273, allocations: 13.58 kB / 0.4947 GB, free: 7.766 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.502e-05/1.273, allocations: 87.8 kB / 0.4947 GB, free: 7.746 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/1.273, allocations: 375.6 kB / 0.4951 GB, free: 7.473 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/1.273, allocations: 30.72 kB / 0.4951 GB, free: 7.473 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.044e-05/1.273, allocations: 39.56 kB / 0.4952 GB, free: 7.473 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000361/1.274, allocations: 495.4 kB / 0.4956 GB, free: 7.188 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/1.274, allocations: 3.984 kB / 0.4956 GB, free: 7.184 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/1.274, allocations: 15.88 kB / 0.4957 GB, free: 7.184 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/1.274, allocations: 9.469 kB / 0.4957 GB, free: 7.184 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002401/1.274, allocations: 353.4 kB / 0.496 GB, free: 7.059 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/1.275, allocations: 1.735 MB / 0.4977 GB, free: 5.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004255/1.276, allocations: 491.4 kB / 0.4982 GB, free: 5.625 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/1.276, allocations: 193.4 kB / 0.4983 GB, free: 5.523 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03283/1.308, allocations: 20.34 MB / 0.5182 GB, free: 5.961 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/1.309, allocations: 38.56 kB / 0.5182 GB, free: 5.914 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 2.615e-06/1.309, allocations: 0 / 0.5182 GB, free: 5.914 MB / 442.7 MB Notification: Performance of matching and sorting (n=45): time 0.00217/1.311, allocations: 1.211 MB / 0.5194 GB, free: 4.684 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/1.311, allocations: 110.8 kB / 0.5195 GB, free: 4.551 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004055/1.311, allocations: 0.5946 MB / 0.5201 GB, free: 4.055 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/1.311, allocations: 29.7 kB / 0.5201 GB, free: 4.02 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/1.311, allocations: 247.7 kB / 0.5204 GB, free: 3.805 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.53e-05/1.311, allocations: 166.2 kB / 0.5205 GB, free: 3.652 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.151e-05/1.311, allocations: 81.47 kB / 0.5206 GB, free: 3.578 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.415e-05/1.311, allocations: 327.5 kB / 0.5209 GB, free: 3.262 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/1.312, allocations: 159.9 kB / 0.5211 GB, free: 3.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/1.312, allocations: 228.3 kB / 0.5213 GB, free: 2.848 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/1.312, allocations: 427.4 kB / 0.5217 GB, free: 2.406 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/1.312, allocations: 0 / 0.5217 GB, free: 2.406 MB / 442.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000647/1.313, allocations: 0.6667 MB / 0.5224 GB, free: 1.723 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.236e-05/1.313, allocations: 66.5 kB / 0.5224 GB, free: 1.648 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/1.313, allocations: 4.125 kB / 0.5224 GB, free: 1.645 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002011/1.315, allocations: 0.8604 MB / 0.5233 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.325e-05/1.315, allocations: 23 kB / 0.5233 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008812/1.316, allocations: 1.332 MB / 0.5246 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/1.316, allocations: 39.66 kB / 0.5246 GB, free: 15.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.887e-05/1.316, allocations: 12 kB / 0.5246 GB, free: 15.42 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 (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.0001607/1.316, allocations: 180.1 kB / 0.5248 GB, free: 15.22 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.901e-05/1.316, allocations: 56.5 kB / 0.5249 GB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007123/1.317, allocations: 0.7808 MB / 0.5256 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004943/1.317, allocations: 0.6059 MB / 0.5262 GB, free: 13.73 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/1.317, allocations: 0.5625 kB / 0.5262 GB, free: 13.73 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/1.317, allocations: 0 / 0.5262 GB, free: 13.73 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/1.318, allocations: 1.425 MB / 0.5276 GB, free: 12.33 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/1.318, allocations: 0 / 0.5276 GB, free: 12.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/1.319, allocations: 36.48 kB / 0.5276 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001047/1.32, allocations: 0.5568 MB / 0.5282 GB, free: 11.75 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/1.32, allocations: 12.78 kB / 0.5282 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008074/1.32, allocations: 1.333 MB / 0.5295 GB, free: 10.42 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/1.32, allocations: 0 / 0.5295 GB, free: 10.42 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000698/1.321, allocations: 1.055 MB / 0.5305 GB, free: 9.32 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/1.321, allocations: 98.19 kB / 0.5306 GB, free: 9.227 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/1.321, allocations: 16.48 kB / 0.5306 GB, free: 9.211 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/1.321, allocations: 8 kB / 0.5307 GB, free: 9.203 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/1.321, allocations: 24.45 kB / 0.5307 GB, free: 9.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/1.321, allocations: 20.61 kB / 0.5307 GB, free: 9.16 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001845/1.322, allocations: 284.8 kB / 0.531 GB, free: 8.918 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/1.322, allocations: 0 / 0.531 GB, free: 8.918 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003422/1.325, allocations: 1.181 MB / 0.5321 GB, free: 7.734 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.003487/1.329, allocations: 1.893 MB / 0.534 GB, free: 6.062 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000672/1.329, allocations: 0.6646 MB / 0.5346 GB, free: 5.359 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.219e-05/1.329, allocations: 23.25 kB / 0.5346 GB, free: 5.34 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003339/1.33, allocations: 435.2 kB / 0.5351 GB, free: 4.879 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/1.33, allocations: 91.19 kB / 0.5351 GB, free: 4.797 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/1.332, allocations: 1.655 MB / 0.5368 GB, free: 3.125 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/1.332, allocations: 197.6 kB / 0.5369 GB, free: 2.91 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.346e-05/1.332, allocations: 24.2 kB / 0.537 GB, free: 2.887 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/1.332, allocations: 99.34 kB / 0.5371 GB, free: 2.789 MB / 458.7 MB Notification: Performance of SimCode: time 8.02e-07/1.332, allocations: 0 / 0.5371 GB, free: 2.789 MB / 458.7 MB Notification: Performance of Templates: time 0.04925/1.382, allocations: 47.78 MB / 0.5837 GB, free: 3.266 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.159421042073518]