Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.4996/0.4996, allocations: 111.6 MB / 131.4 MB, free: 4.945 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.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.345e-06/2.345e-06, allocations: 0 / 176.5 MB, free: 8.98 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.663e-05, allocations: 2.312 kB / 176.5 MB, free: 8.977 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.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1): time 1.113/1.113, allocations: 257.2 MB / 433.8 MB, free: 84 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3504/1.463, allocations: 178.2 MB / 0.5976 GB, free: 2.469 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00023/1.464, allocations: 11.94 kB / 0.5977 GB, free: 2.457 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/Machines/StaticCentrifugalPump.mo:40:3-41:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/Machines/StaticCentrifugalPump.mo:42:3-43:78:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:39:3-40:78:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SinkP.mo:32:3-33:80:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.00011/1.464, allocations: 51.45 kB / 0.5977 GB, free: 2.406 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002841/1.464, allocations: 130.8 kB / 0.5978 GB, free: 2.277 MB / 0.5105 GB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/Fluid/derDensity_derP_derh.mo:56:5-56:88:writable] Warning: T 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.02104/1.485, allocations: 11.62 MB / 0.6092 GB, free: 6.688 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004153/1.485, allocations: 458.2 kB / 0.6096 GB, free: 6.238 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002146/1.486, allocations: 189.5 kB / 0.6098 GB, free: 6.051 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/1.486, allocations: 275.4 kB / 0.6101 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/1.486, allocations: 135.6 kB / 0.6102 GB, free: 5.648 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.694e-05/1.486, allocations: 36 kB / 0.6102 GB, free: 5.613 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02181/1.508, allocations: 18.56 MB / 0.6283 GB, free: 3.023 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001217/1.508, allocations: 99.59 kB / 0.6284 GB, free: 2.926 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001254/1.508, allocations: 143.6 kB / 0.6286 GB, free: 2.785 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.01587/1.524, allocations: 12.16 MB / 0.6405 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.524, allocations: 0 / 0.6405 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.292e-06/1.524, allocations: 0 / 0.6405 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.47e-06/1.524, allocations: 0 / 0.6405 GB, free: 6.59 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.003381/1.527, allocations: 1.903 MB / 0.6423 GB, free: 4.637 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/1.527, allocations: 11.98 kB / 0.6423 GB, free: 4.625 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/1.528, allocations: 83.67 kB / 0.6424 GB, free: 4.543 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/1.528, allocations: 279.5 kB / 0.6427 GB, free: 4.242 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/1.528, allocations: 29 kB / 0.6427 GB, free: 4.215 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/1.528, allocations: 36 kB / 0.6427 GB, free: 4.18 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/1.528, allocations: 322.6 kB / 0.643 GB, free: 3.828 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/1.528, allocations: 3.938 kB / 0.643 GB, free: 3.824 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/1.528, allocations: 16 kB / 0.6431 GB, free: 3.809 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/1.528, allocations: 11.94 kB / 0.6431 GB, free: 3.797 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/1.528, allocations: 131 kB / 0.6432 GB, free: 3.672 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00374/1.532, allocations: 3.302 MB / 0.6464 GB, free: 332 kB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004524/1.533, allocations: 151.1 kB / 0.6466 GB, free: 168 kB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.826e-05/1.533, allocations: 31.67 kB / 0.6466 GB, free: 132 kB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06274/1.595, allocations: 40.1 MB / 0.6858 GB, free: 8.027 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/1.595, allocations: 42.39 kB / 0.6858 GB, free: 7.977 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.874e-06/1.595, allocations: 0 / 0.6858 GB, free: 7.977 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.001555/1.597, allocations: 467.2 kB / 0.6862 GB, free: 7.512 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/1.597, allocations: 55.41 kB / 0.6863 GB, free: 7.445 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003092/1.597, allocations: 361.9 kB / 0.6866 GB, free: 7.07 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/1.597, allocations: 33.64 kB / 0.6867 GB, free: 7.031 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/1.597, allocations: 294.6 kB / 0.687 GB, free: 6.734 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/1.598, allocations: 55.58 kB / 0.687 GB, free: 6.68 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.018e-05/1.598, allocations: 75.28 kB / 0.6871 GB, free: 6.598 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.598, allocations: 0.504 MB / 0.6876 GB, free: 6.082 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.382e-05/1.598, allocations: 27.97 kB / 0.6876 GB, free: 6.055 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/1.598, allocations: 167.8 kB / 0.6878 GB, free: 5.828 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/1.598, allocations: 228.4 kB / 0.688 GB, free: 5.543 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/1.598, allocations: 0 / 0.688 GB, free: 5.543 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009223/1.599, allocations: 383.2 kB / 0.6883 GB, free: 5.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/1.599, allocations: 4 kB / 0.6883 GB, free: 5.156 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/1.599, allocations: 4.5 kB / 0.6884 GB, free: 5.152 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009476/1.6, allocations: 204.2 kB / 0.6885 GB, free: 4.949 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/1.6, allocations: 43.91 kB / 0.6886 GB, free: 4.906 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000487/1.601, allocations: 0.8974 MB / 0.6895 GB, free: 3.977 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/1.601, allocations: 29.34 kB / 0.6895 GB, free: 3.949 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/1.601, allocations: 15.98 kB / 0.6895 GB, free: 3.934 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (StaticCentrifugalPump1.C2.diff_on_1,sourceP.C.diff_on_2,sourceP.fluid1,sinkP.fluid,StaticCentrifugalPump1.fluid,sourceP.C.ftype) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001199/1.601, allocations: 176.5 kB / 0.6897 GB, free: 3.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.595e-05/1.601, allocations: 31.81 kB / 0.6897 GB, free: 3.719 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008072/1.602, allocations: 311.2 kB / 0.69 GB, free: 3.402 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/1.602, allocations: 4 kB / 0.69 GB, free: 3.398 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/1.602, allocations: 0 / 0.69 GB, free: 3.398 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/1.602, allocations: 5.297 kB / 0.69 GB, free: 3.395 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/1.602, allocations: 189.1 kB / 0.6902 GB, free: 3.184 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/1.602, allocations: 0 / 0.6902 GB, free: 3.184 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.017e-05/1.602, allocations: 19.92 kB / 0.6902 GB, free: 3.164 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008632/1.603, allocations: 183.5 kB / 0.6904 GB, free: 2.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/1.603, allocations: 12.69 kB / 0.6904 GB, free: 2.969 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005488/1.603, allocations: 0.8819 MB / 0.6913 GB, free: 2.055 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.603, allocations: 4 kB / 0.6913 GB, free: 2.051 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007351/1.604, allocations: 317 kB / 0.6916 GB, free: 1.715 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.485e-05/1.604, allocations: 47.72 kB / 0.6916 GB, free: 1.668 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/1.604, allocations: 4 kB / 0.6916 GB, free: 1.664 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.474e-05/1.604, allocations: 4 kB / 0.6916 GB, free: 1.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.947e-05/1.604, allocations: 12.02 kB / 0.6916 GB, free: 1.648 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/1.604, allocations: 3.984 kB / 0.6916 GB, free: 1.645 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001292/1.604, allocations: 230.9 kB / 0.6919 GB, free: 1.422 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/1.604, allocations: 0 / 0.6919 GB, free: 1.422 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002781/1.607, allocations: 1.457 MB / 0.6933 GB, free: 15.96 MB / 0.6198 GB 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 (3): * Single equations (assignments): 2 * 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 {(3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004399/1.612, allocations: 2.478 MB / 0.6957 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000306/1.612, allocations: 139.4 kB / 0.6958 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/1.612, allocations: 0 / 0.6958 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001158/1.612, allocations: 72.44 kB / 0.6959 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/1.612, allocations: 63.09 kB / 0.696 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/1.613, allocations: 0.5781 MB / 0.6965 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.374e-05/1.613, allocations: 92.3 kB / 0.6966 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.287e-05/1.614, allocations: 30.23 kB / 0.6966 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/1.614, allocations: 114.2 kB / 0.6968 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of SimCode: time 4.51e-07/1.614, allocations: 0 / 0.6968 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of Templates: time 0.2614/1.875, allocations: 54.75 MB / 0.7502 GB, free: 85.11 MB / 0.6198 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.555761284194887]