Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.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.4914/0.4914, 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.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 176.2 MB, free: 9.152 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.532e-05/1.727e-05, allocations: 4.703 kB / 176.2 MB, free: 9.148 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.TestStaticCentrifugalPump1): time 1.037/1.037, allocations: 257.1 MB / 433.3 MB, free: 296 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02805/1.065, allocations: 33.07 MB / 466.4 MB, free: 15.1 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/1.065, allocations: 4 kB / 466.4 MB, free: 15.09 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/StaticCentrifugalPump.mo:33:3-34: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/StaticCentrifugalPump.mo:35:3-36: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/BoundaryConditions/SourceP.mo:19:3-20: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/SinkP.mo:19:3-20:80:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0002988/1.065, allocations: 107.3 kB / 466.5 MB, free: 14.99 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000157/1.065, allocations: 127 kB / 466.6 MB, free: 14.86 MB / 426.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.01624/1.082, allocations: 9.81 MB / 476.4 MB, free: 5.008 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003632/1.082, allocations: 418 kB / 476.8 MB, free: 4.598 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/1.082, allocations: 128.6 kB / 477 MB, free: 4.469 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000489/1.083, allocations: 251.3 kB / 477.2 MB, free: 4.223 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/1.083, allocations: 99.72 kB / 477.3 MB, free: 4.125 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/1.083, allocations: 20 kB / 477.3 MB, free: 4.105 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1907/1.273, allocations: 16.76 MB / 494.1 MB, free: 8.574 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.796e-05/1.273, allocations: 58.2 kB / 494.1 MB, free: 8.574 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001499/1.274, allocations: 110.6 kB / 494.3 MB, free: 8.574 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01248/1.286, allocations: 10.75 MB / 0.4932 GB, free: 5.285 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/1.286, allocations: 3.531 kB / 0.4932 GB, free: 5.285 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.503e-06/1.286, allocations: 0 / 0.4932 GB, free: 5.285 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.033e-06/1.286, allocations: 1 kB / 0.4932 GB, free: 5.285 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.00263/1.289, allocations: 1.557 MB / 0.4947 GB, free: 4.164 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/1.289, allocations: 17.92 kB / 0.4947 GB, free: 4.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.695e-05/1.289, allocations: 54.78 kB / 0.4948 GB, free: 4.133 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/1.289, allocations: 193.7 kB / 0.495 GB, free: 3.949 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/1.289, allocations: 16.44 kB / 0.495 GB, free: 3.941 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/1.289, allocations: 27.23 kB / 0.495 GB, free: 3.934 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/1.289, allocations: 287.5 kB / 0.4953 GB, free: 3.719 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/1.289, allocations: 0 / 0.4953 GB, free: 3.719 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/1.289, allocations: 8.406 kB / 0.4953 GB, free: 3.715 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/1.289, allocations: 10.84 kB / 0.4953 GB, free: 3.711 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/1.29, allocations: 120.7 kB / 0.4954 GB, free: 3.68 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01728/1.307, allocations: 11.18 MB / 0.5063 GB, free: 12.73 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/1.307, allocations: 138.1 kB / 0.5064 GB, free: 12.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.944e-05/1.307, allocations: 55.67 kB / 0.5065 GB, free: 12.53 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07471/1.382, allocations: 43.74 MB / 0.5492 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/1.382, allocations: 33.39 kB / 0.5492 GB, free: 0.7656 MB / 474.7 MB Notification: Performance of pre-optimization done (n=41): time 1.914e-06/1.382, allocations: 0 / 0.5492 GB, free: 0.7656 MB / 474.7 MB Notification: Performance of matching and sorting (n=41): time 0.001538/1.383, allocations: 0.5584 MB / 0.5498 GB, free: 208 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/1.383, allocations: 59.41 kB / 0.5498 GB, free: 136 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/1.384, allocations: 246.8 kB / 0.5501 GB, free: 15.88 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/1.384, allocations: 29.7 kB / 0.5501 GB, free: 15.84 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.108e-05/1.384, allocations: 216.7 kB / 0.5503 GB, free: 15.62 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.748e-05/1.384, allocations: 141.7 kB / 0.5505 GB, free: 15.49 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-05/1.384, allocations: 67.3 kB / 0.5505 GB, free: 15.41 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/1.384, allocations: 0.5117 MB / 0.551 GB, free: 14.89 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.87e-05/1.384, allocations: 52.41 kB / 0.5511 GB, free: 14.84 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.62e-05/1.384, allocations: 107 kB / 0.5512 GB, free: 14.72 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/1.384, allocations: 183.2 kB / 0.5513 GB, free: 14.52 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.384, allocations: 4 kB / 0.5513 GB, free: 14.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008334/1.385, allocations: 416 kB / 0.5517 GB, free: 14.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/1.385, allocations: 8 kB / 0.5518 GB, free: 14.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/1.385, allocations: 0 / 0.5518 GB, free: 14.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004194/1.386, allocations: 207.2 kB / 0.5519 GB, free: 13.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.19e-05/1.386, allocations: 18.98 kB / 0.552 GB, free: 13.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004849/1.386, allocations: 0.9317 MB / 0.5529 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.28e-05/1.386, allocations: 31.73 kB / 0.5529 GB, free: 12.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/1.386, allocations: 11.98 kB / 0.5529 GB, free: 12.89 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (sinkP.C.a,sourceP.C.b,StaticCentrifugalPump1.C2.b,StaticCentrifugalPump1.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,6)} Notification: Performance of prepare postOptimizeDAE: time 9.762e-05/1.386, allocations: 172.8 kB / 0.5531 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/1.386, allocations: 27.8 kB / 0.5531 GB, free: 12.68 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00063/1.387, allocations: 0.7967 MB / 0.5539 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001989/1.387, allocations: 200.2 kB / 0.5541 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/1.387, allocations: 0 / 0.5541 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.387, allocations: 4.797 kB / 0.5541 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006438/1.388, allocations: 0.727 MB / 0.5548 GB, free: 10.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/1.388, allocations: 0 / 0.5548 GB, free: 10.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.66e-05/1.388, allocations: 20 kB / 0.5548 GB, free: 10.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000306/1.388, allocations: 158.2 kB / 0.555 GB, free: 10.65 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/1.388, allocations: 12.5 kB / 0.555 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005578/1.389, allocations: 0.9363 MB / 0.5559 GB, free: 9.676 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/1.389, allocations: 0 / 0.5559 GB, free: 9.676 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/1.389, allocations: 395.9 kB / 0.5563 GB, free: 9.27 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.825e-05/1.389, allocations: 39.7 kB / 0.5563 GB, free: 9.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/1.389, allocations: 16.45 kB / 0.5563 GB, free: 9.215 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.066e-05/1.389, allocations: 12 kB / 0.5563 GB, free: 9.203 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/1.389, allocations: 11.97 kB / 0.5563 GB, free: 9.191 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.158e-06/1.389, allocations: 8.938 kB / 0.5564 GB, free: 9.184 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001355/1.389, allocations: 241 kB / 0.5566 GB, free: 8.945 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/1.389, allocations: 0 / 0.5566 GB, free: 8.945 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001978/1.391, allocations: 1.212 MB / 0.5578 GB, free: 7.73 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (13): * Single equations (assignments): 12 * 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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003151/1.394, allocations: 1.901 MB / 0.5596 GB, free: 6.062 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003785/1.395, allocations: 234 kB / 0.5598 GB, free: 5.832 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/1.395, allocations: 3.938 kB / 0.5598 GB, free: 5.828 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001559/1.395, allocations: 125.3 kB / 0.56 GB, free: 5.707 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/1.395, allocations: 117.1 kB / 0.5601 GB, free: 5.602 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000989/1.396, allocations: 0.5759 MB / 0.5606 GB, free: 5.016 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.432e-05/1.396, allocations: 97.8 kB / 0.5607 GB, free: 4.902 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.577e-05/1.397, allocations: 19.36 kB / 0.5608 GB, free: 4.887 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.601e-05/1.397, allocations: 20.5 kB / 0.5608 GB, free: 4.867 MB / 490.7 MB Notification: Performance of SimCode: time 5.92e-07/1.397, allocations: 0 / 0.5608 GB, free: 4.867 MB / 490.7 MB Notification: Performance of Templates: time 0.03763/1.434, allocations: 43.63 MB / 0.6034 GB, free: 9.535 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.1083475523628294]