Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001418/0.001418, allocations: 106.5 kB / 19.74 MB, free: 2.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001536/0.001536, allocations: 217.3 kB / 22.92 MB, free: 5.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 230.2 MB / 256.2 MB, free: 8.613 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2021/0.2021, allocations: 46.89 MB / 359.3 MB, free: 5.082 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 79.86 kB / 0.494 GB, free: 9.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2493, allocations: 65.99 MB / 0.5584 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.02785/0.2771, allocations: 25.39 MB / 0.5832 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006087/0.2832, allocations: 4.402 MB / 0.5875 GB, free: 7.332 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005118/0.2837, allocations: 19.88 kB / 0.5875 GB, free: 7.312 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000815/0.2846, allocations: 306.1 kB / 0.5878 GB, free: 7.012 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003508/0.2881, allocations: 1.614 MB / 0.5894 GB, free: 5.395 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002764/0.2908, allocations: 1.351 MB / 0.5907 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002086/0.2929, allocations: 1.864 MB / 0.5925 GB, free: 2.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006252/0.2935, allocations: 417.3 kB / 0.5929 GB, free: 1.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004606/0.2981, allocations: 3.07 MB / 0.5959 GB, free: 14.69 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001905/0.3001, allocations: 1.356 MB / 0.5973 GB, free: 13.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001625/0.3002, allocations: 60 kB / 0.5973 GB, free: 13.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002117/0.3023, allocations: 1.26 MB / 0.5986 GB, free: 12.01 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003097/0.3026, allocations: 267.2 kB / 0.5988 GB, free: 11.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004987/0.3031, allocations: 402.2 kB / 0.5992 GB, free: 11.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001908/0.305, allocations: 1.374 MB / 0.6005 GB, free: 9.977 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3051, allocations: 4 kB / 0.6005 GB, free: 9.973 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3051, allocations: 4 kB / 0.6005 GB, free: 9.969 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.17e-05/0.3051, allocations: 0 / 0.6005 GB, free: 9.969 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002188/0.3073, allocations: 1.152 MB / 0.6017 GB, free: 8.766 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.3073, allocations: 8.031 kB / 0.6017 GB, free: 8.758 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001423/0.3074, allocations: 98.69 kB / 0.6018 GB, free: 8.652 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000967/0.3084, allocations: 152.3 kB / 0.6019 GB, free: 8.504 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009131/0.3093, allocations: 0.5331 MB / 0.6024 GB, free: 7.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.3094, allocations: 104.5 kB / 0.6025 GB, free: 7.816 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.983e-05/0.3095, allocations: 52 kB / 0.6026 GB, free: 7.766 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.3109, allocations: 0.8316 MB / 0.6034 GB, free: 6.852 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.876e-05/0.311, allocations: 7.891 kB / 0.6034 GB, free: 6.844 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.782e-05/0.311, allocations: 31.98 kB / 0.6034 GB, free: 6.812 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.702e-05/0.3111, allocations: 40.98 kB / 0.6035 GB, free: 6.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.3123, allocations: 0.6048 MB / 0.6041 GB, free: 6.164 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004956/0.3172, allocations: 4.687 MB / 0.6086 GB, free: 1.098 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006305/0.3179, allocations: 312.9 kB / 0.6089 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.3181, allocations: 132.8 kB / 0.6091 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003269/0.3184, allocations: 421.5 kB / 0.6095 GB, free: 152 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.3185, allocations: 46.5 kB / 0.6095 GB, free: 96 kB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 1.923e-06/0.3185, allocations: 0 / 0.6095 GB, free: 96 kB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.003909/0.3224, allocations: 1.527 MB / 0.611 GB, free: 14.48 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.453e-05/0.3225, allocations: 132.5 kB / 0.6111 GB, free: 14.32 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008298/0.3233, allocations: 0.6564 MB / 0.6118 GB, free: 13.66 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.007e-05/0.3233, allocations: 37.7 kB / 0.6118 GB, free: 13.61 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003367/0.3237, allocations: 403.6 kB / 0.6122 GB, free: 13.21 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.3238, allocations: 138.8 kB / 0.6123 GB, free: 13.08 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000232/0.324, allocations: 154.5 kB / 0.6125 GB, free: 12.92 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002227/0.3243, allocations: 374.8 kB / 0.6128 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000392/0.3246, allocations: 201.9 kB / 0.613 GB, free: 12.35 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006246/0.3253, allocations: 0.4949 MB / 0.6135 GB, free: 11.72 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009834/0.3263, allocations: 0.7171 MB / 0.6142 GB, free: 10.88 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.3263, allocations: 4 kB / 0.6142 GB, free: 10.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001699/0.328, allocations: 0.8799 MB / 0.6151 GB, free: 9.98 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.328, allocations: 12 kB / 0.6151 GB, free: 9.969 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.328, allocations: 8 kB / 0.6151 GB, free: 9.961 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/0.3292, allocations: 289.9 kB / 0.6154 GB, free: 9.672 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003788/0.3296, allocations: 119.8 kB / 0.6155 GB, free: 9.555 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/0.3309, allocations: 1.405 MB / 0.6168 GB, free: 8.098 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004627/0.3313, allocations: 24 kB / 0.6169 GB, free: 8.074 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.779e-05/0.3314, allocations: 43.98 kB / 0.6169 GB, free: 8.031 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003312/0.3317, allocations: 240.9 kB / 0.6171 GB, free: 7.789 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.3319, allocations: 79.64 kB / 0.6172 GB, free: 7.711 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00153/0.3334, allocations: 0.7128 MB / 0.6179 GB, free: 6.977 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.3334, allocations: 7.984 kB / 0.6179 GB, free: 6.969 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3334, allocations: 0 / 0.6179 GB, free: 6.969 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.3334, allocations: 0 / 0.6179 GB, free: 6.969 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001914/0.3353, allocations: 1.205 MB / 0.6191 GB, free: 5.695 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.3353, allocations: 4 kB / 0.6191 GB, free: 5.691 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.3355, allocations: 43.92 kB / 0.6191 GB, free: 5.648 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008187/0.3363, allocations: 197.5 kB / 0.6193 GB, free: 5.449 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.3364, allocations: 15.92 kB / 0.6193 GB, free: 5.434 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.3374, allocations: 1.3 MB / 0.6206 GB, free: 4.082 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.3374, allocations: 3.938 kB / 0.6206 GB, free: 4.078 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.3387, allocations: 0.8081 MB / 0.6214 GB, free: 3.238 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002481/0.339, allocations: 188.6 kB / 0.6216 GB, free: 3.035 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.897e-05/0.339, allocations: 11.98 kB / 0.6216 GB, free: 3.023 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000365/0.3394, allocations: 12 kB / 0.6216 GB, free: 3.012 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.378e-05/0.3395, allocations: 23.97 kB / 0.6216 GB, free: 2.988 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.275e-05/0.3395, allocations: 19.98 kB / 0.6217 GB, free: 2.969 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005326/0.34, allocations: 463 kB / 0.6221 GB, free: 2.523 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.34, allocations: 0 / 0.6221 GB, free: 2.523 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007801/0.3408, allocations: 255.7 kB / 0.6223 GB, free: 2.273 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002022/0.3428, allocations: 1.52 MB / 0.6238 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001004/0.3439, allocations: 0.5044 MB / 0.6243 GB, free: 224 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3439, allocations: 0 / 0.6243 GB, free: 224 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004731/0.3443, allocations: 211.8 kB / 0.6245 GB, free: 12 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/0.3457, allocations: 336.8 kB / 0.6248 GB, free: 15.68 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007831/0.3535, allocations: 6.13 MB / 0.6308 GB, free: 9.195 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005149/0.3541, allocations: 0.9341 MB / 0.6317 GB, free: 8.23 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005867/0.3546, allocations: 253.2 kB / 0.632 GB, free: 7.984 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002969/0.3549, allocations: 231.3 kB / 0.6322 GB, free: 7.762 MB / 478.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3549, allocations: 7.938 kB / 0.6322 GB, free: 7.754 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.055/0.4099, allocations: 22.31 MB / 0.654 GB, free: 1.672 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.09, allocations: 3.859 kB / 0.654 GB, free: 1.668 MB / 494.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.656676186990808]