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.5086/0.5086, 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.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 1.603e-06/1.603e-06, allocations: 0 / 176.6 MB, free: 8.906 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0001406/0.0001422, 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.TestCentrifugalPump12): time 1.025/1.025, allocations: 263 MB / 439.6 MB, free: 15 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0237/1.049, allocations: 29.91 MB / 469.5 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/1.049, allocations: 7.938 kB / 469.5 MB, free: 0.9648 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/BoundaryConditions/SourceTorque.mo:5:3-6:99: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.0003058/1.049, allocations: 103.3 kB / 469.6 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001707/1.049, allocations: 121.1 kB / 469.7 MB, free: 0.7422 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.01549/1.065, allocations: 8.762 MB / 478.5 MB, free: 7.949 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004753/1.065, allocations: 478.1 kB / 479 MB, free: 7.48 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002148/1.066, allocations: 191.3 kB / 479.2 MB, free: 7.289 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003086/1.066, allocations: 287.2 kB / 479.4 MB, free: 7.008 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/1.066, allocations: 139.6 kB / 479.6 MB, free: 6.871 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.925e-05/1.066, allocations: 32 kB / 479.6 MB, free: 6.84 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2048/1.271, allocations: 14.3 MB / 493.9 MB, free: 9.492 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002252/1.271, allocations: 197 kB / 494.1 MB, free: 9.492 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002335/1.271, allocations: 159.9 kB / 494.3 MB, free: 9.492 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01545/1.287, allocations: 9.904 MB / 0.4923 GB, free: 9.191 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/1.287, allocations: 4.609 kB / 0.4924 GB, free: 9.191 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.693e-06/1.287, allocations: 2.438 kB / 0.4924 GB, free: 9.191 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.13e-05/1.287, allocations: 0 / 0.4924 GB, free: 9.191 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.004406/1.291, allocations: 1.803 MB / 0.4941 GB, free: 8.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/1.291, allocations: 14.8 kB / 0.4941 GB, free: 8.066 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.902e-05/1.291, allocations: 76.23 kB / 0.4942 GB, free: 8.047 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/1.292, allocations: 360 kB / 0.4945 GB, free: 7.785 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.497e-05/1.292, allocations: 24.12 kB / 0.4946 GB, free: 7.785 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.549e-05/1.292, allocations: 30.22 kB / 0.4946 GB, free: 7.785 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003972/1.292, allocations: 356.9 kB / 0.4949 GB, free: 7.609 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/1.292, allocations: 0.625 kB / 0.4949 GB, free: 7.609 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/1.292, allocations: 11.69 kB / 0.4949 GB, free: 7.609 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/1.292, allocations: 11.88 kB / 0.495 GB, free: 7.609 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000245/1.292, allocations: 213.2 kB / 0.4952 GB, free: 7.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/1.293, allocations: 1.14 MB / 0.4963 GB, free: 6.879 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005914/1.294, allocations: 323.3 kB / 0.4966 GB, free: 6.812 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.814e-05/1.294, allocations: 95.7 kB / 0.4967 GB, free: 6.793 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03197/1.326, allocations: 20.34 MB / 0.5165 GB, free: 7.883 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/1.326, allocations: 34.5 kB / 0.5166 GB, free: 7.84 MB / 442.7 MB Notification: Performance of pre-optimization done (n=38): time 2.044e-06/1.326, allocations: 0 / 0.5166 GB, free: 7.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=38): time 0.001014/1.327, allocations: 0.5411 MB / 0.5171 GB, free: 7.301 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/1.327, allocations: 67.33 kB / 0.5172 GB, free: 7.223 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003556/1.328, allocations: 0.5784 MB / 0.5177 GB, free: 6.742 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/1.328, allocations: 33.7 kB / 0.5178 GB, free: 6.703 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/1.328, allocations: 249 kB / 0.518 GB, free: 6.484 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.091e-05/1.328, allocations: 141.3 kB / 0.5181 GB, free: 6.355 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.336e-05/1.328, allocations: 70.84 kB / 0.5182 GB, free: 6.289 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.055e-05/1.328, allocations: 324.3 kB / 0.5185 GB, free: 5.977 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.103e-05/1.328, allocations: 79.61 kB / 0.5186 GB, free: 5.895 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.451e-05/1.328, allocations: 130.3 kB / 0.5187 GB, free: 5.762 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/1.328, allocations: 245.2 kB / 0.5189 GB, free: 5.516 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.328, allocations: 0 / 0.5189 GB, free: 5.516 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0003922/1.329, allocations: 398.9 kB / 0.5193 GB, free: 5.129 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/1.329, allocations: 4.938 kB / 0.5193 GB, free: 5.125 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/1.329, allocations: 160 / 0.5193 GB, free: 5.125 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001817/1.33, allocations: 0.7539 MB / 0.5201 GB, free: 4.383 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/1.331, allocations: 42.97 kB / 0.5201 GB, free: 4.344 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005868/1.331, allocations: 0.9833 MB / 0.5211 GB, free: 3.367 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/1.331, allocations: 43.72 kB / 0.5211 GB, free: 3.324 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/1.331, allocations: 8 kB / 0.5211 GB, free: 3.316 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: 4 (centrifugalPump.C1.a,centrifugalPump.C2.b,sourceP.C.b,sinkP.C.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.0001238/1.331, allocations: 128.6 kB / 0.5212 GB, free: 3.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.1e-05/1.331, allocations: 51.94 kB / 0.5213 GB, free: 3.129 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004448/1.332, allocations: 491.2 kB / 0.5218 GB, free: 2.656 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000363/1.332, allocations: 296.8 kB / 0.522 GB, free: 2.363 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/1.332, allocations: 3.938 kB / 0.522 GB, free: 2.359 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/1.332, allocations: 7.984 kB / 0.5221 GB, free: 2.352 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008182/1.333, allocations: 0.8996 MB / 0.5229 GB, free: 1.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/1.333, allocations: 0.9844 kB / 0.5229 GB, free: 1.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/1.333, allocations: 62.97 kB / 0.523 GB, free: 1.441 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000709/1.334, allocations: 321 kB / 0.5233 GB, free: 1.129 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/1.334, allocations: 11.98 kB / 0.5233 GB, free: 1.117 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003431/1.334, allocations: 0.686 MB / 0.524 GB, free: 428 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/1.334, allocations: 4.75 kB / 0.524 GB, free: 424 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000504/1.335, allocations: 0.6581 MB / 0.5246 GB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.129e-05/1.335, allocations: 88.83 kB / 0.5247 GB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/1.335, allocations: 9 kB / 0.5247 GB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/1.335, allocations: 8 kB / 0.5247 GB, free: 15.65 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/1.335, allocations: 31.94 kB / 0.5248 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/1.335, allocations: 8 kB / 0.5248 GB, free: 15.61 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001796/1.335, allocations: 288.6 kB / 0.525 GB, free: 15.36 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/1.335, allocations: 4 kB / 0.525 GB, free: 15.36 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00219/1.337, allocations: 1.169 MB / 0.5262 GB, free: 14.19 MB / 458.7 MB 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.002869/1.34, allocations: 1.904 MB / 0.528 GB, free: 12.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004635/1.341, allocations: 361.7 kB / 0.5284 GB, free: 12.16 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/1.341, allocations: 8 kB / 0.5284 GB, free: 12.15 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002123/1.341, allocations: 206.9 kB / 0.5286 GB, free: 11.96 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/1.341, allocations: 100.4 kB / 0.5287 GB, free: 11.88 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/1.343, allocations: 1.343 MB / 0.53 GB, free: 10.52 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/1.343, allocations: 193.5 kB / 0.5302 GB, free: 10.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.69e-05/1.343, allocations: 28.17 kB / 0.5302 GB, free: 10.28 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/1.343, allocations: 103.3 kB / 0.5303 GB, free: 10.18 MB / 458.7 MB Notification: Performance of SimCode: time 7.01e-07/1.343, allocations: 0 / 0.5303 GB, free: 10.18 MB / 458.7 MB Notification: Performance of Templates: time 0.04524/1.389, allocations: 47.57 MB / 0.5768 GB, free: 10.85 MB / 0.4948 GB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPump12.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.922059956006706]