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.00139/0.00139, allocations: 105.5 kB / 19.74 MB, free: 2.566 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.001517/0.001517, allocations: 224.9 kB / 22.92 MB, free: 5.539 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.281/1.281, allocations: 230.2 MB / 256.2 MB, free: 8.746 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.1958/0.1958, allocations: 46.88 MB / 359.3 MB, free: 4.973 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.002096/0.002096, allocations: 83.84 kB / 0.494 GB, free: 9.082 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2539, allocations: 65.98 MB / 0.5584 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.02644/0.2803, allocations: 25.4 MB / 0.5832 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005956/0.2863, allocations: 4.402 MB / 0.5875 GB, free: 7.289 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003621/0.2866, allocations: 31.75 kB / 0.5875 GB, free: 7.258 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007293/0.2874, allocations: 302.1 kB / 0.5878 GB, free: 6.961 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003118/0.2905, allocations: 1.614 MB / 0.5894 GB, free: 5.344 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002694/0.2932, allocations: 1.339 MB / 0.5907 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002065/0.2952, allocations: 1.864 MB / 0.5925 GB, free: 2.141 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005341/0.2958, allocations: 421.3 kB / 0.5929 GB, free: 1.727 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004639/0.3004, allocations: 3.07 MB / 0.5959 GB, free: 14.65 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001846/0.3023, allocations: 1.352 MB / 0.5973 GB, free: 13.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.3024, allocations: 60 kB / 0.5973 GB, free: 13.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0022/0.3046, allocations: 1.252 MB / 0.5985 GB, free: 11.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002729/0.3049, allocations: 275.1 kB / 0.5988 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004256/0.3053, allocations: 402.2 kB / 0.5992 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001834/0.3071, allocations: 1.378 MB / 0.6005 GB, free: 9.934 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3071, allocations: 4 kB / 0.6005 GB, free: 9.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3071, allocations: 0 / 0.6005 GB, free: 9.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.3071, allocations: 0 / 0.6005 GB, free: 9.93 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.001951/0.3091, allocations: 1.148 MB / 0.6017 GB, free: 8.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.3091, allocations: 8.031 kB / 0.6017 GB, free: 8.723 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001227/0.3092, allocations: 94.7 kB / 0.6018 GB, free: 8.621 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008999/0.3101, allocations: 148.4 kB / 0.6019 GB, free: 8.477 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007586/0.3109, allocations: 0.5486 MB / 0.6024 GB, free: 7.887 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.311, allocations: 104.5 kB / 0.6025 GB, free: 7.773 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.57e-05/0.3111, allocations: 55.92 kB / 0.6026 GB, free: 7.719 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.3124, allocations: 0.8316 MB / 0.6034 GB, free: 6.805 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.3124, allocations: 3.953 kB / 0.6034 GB, free: 6.801 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.191e-05/0.3125, allocations: 24 kB / 0.6034 GB, free: 6.777 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.722e-05/0.3126, allocations: 44.92 kB / 0.6035 GB, free: 6.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.3137, allocations: 0.6009 MB / 0.6041 GB, free: 6.129 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.004637/0.3183, allocations: 4.691 MB / 0.6086 GB, free: 1.059 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006236/0.3189, allocations: 317.7 kB / 0.6089 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/0.3191, allocations: 132.8 kB / 0.6091 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002956/0.3194, allocations: 417.5 kB / 0.6095 GB, free: 112 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.3195, allocations: 38.56 kB / 0.6095 GB, free: 64 kB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 1.242e-06/0.3195, allocations: 0 / 0.6095 GB, free: 64 kB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.003719/0.3232, allocations: 1.535 MB / 0.611 GB, free: 14.45 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.702e-05/0.3233, allocations: 136.5 kB / 0.6111 GB, free: 14.28 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007348/0.324, allocations: 0.6603 MB / 0.6118 GB, free: 13.61 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.973e-05/0.324, allocations: 33.7 kB / 0.6118 GB, free: 13.57 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002844/0.3243, allocations: 395.6 kB / 0.6122 GB, free: 13.18 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.3244, allocations: 142.8 kB / 0.6123 GB, free: 13.04 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001969/0.3246, allocations: 154.5 kB / 0.6125 GB, free: 12.88 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3248, allocations: 374.8 kB / 0.6128 GB, free: 12.51 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003336/0.3251, allocations: 205.9 kB / 0.613 GB, free: 12.31 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000552/0.3257, allocations: 0.4949 MB / 0.6135 GB, free: 11.68 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008757/0.3265, allocations: 0.7132 MB / 0.6142 GB, free: 10.84 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.3266, allocations: 4 kB / 0.6142 GB, free: 10.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001532/0.3281, allocations: 0.8795 MB / 0.6151 GB, free: 9.945 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.3281, allocations: 12 kB / 0.6151 GB, free: 9.934 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.3281, allocations: 11.94 kB / 0.6151 GB, free: 9.922 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001145/0.3293, allocations: 282.3 kB / 0.6154 GB, free: 9.641 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003531/0.3296, allocations: 115.8 kB / 0.6155 GB, free: 9.527 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.3308, allocations: 1.405 MB / 0.6168 GB, free: 8.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000404/0.3312, allocations: 24 kB / 0.6169 GB, free: 8.047 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-05/0.3313, allocations: 43.98 kB / 0.6169 GB, free: 8.004 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.0002945/0.3316, allocations: 241.7 kB / 0.6171 GB, free: 7.758 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.3317, allocations: 75.52 kB / 0.6172 GB, free: 7.684 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001476/0.3332, allocations: 0.7281 MB / 0.6179 GB, free: 6.934 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.3332, allocations: 4 kB / 0.6179 GB, free: 6.93 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3332, allocations: 0 / 0.6179 GB, free: 6.93 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.3332, allocations: 0 / 0.6179 GB, free: 6.93 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/0.335, allocations: 1.205 MB / 0.6191 GB, free: 5.652 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.335, allocations: 7.938 kB / 0.6191 GB, free: 5.645 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.3351, allocations: 43.92 kB / 0.6191 GB, free: 5.602 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000784/0.3359, allocations: 201.5 kB / 0.6193 GB, free: 5.398 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.3359, allocations: 8 kB / 0.6193 GB, free: 5.391 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/0.337, allocations: 1.296 MB / 0.6206 GB, free: 4.043 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.337, allocations: 3.938 kB / 0.6206 GB, free: 4.039 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.3382, allocations: 0.8082 MB / 0.6214 GB, free: 3.199 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002219/0.3384, allocations: 192.6 kB / 0.6216 GB, free: 2.992 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.837e-05/0.3385, allocations: 8 kB / 0.6216 GB, free: 2.984 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000349/0.3388, allocations: 12 kB / 0.6216 GB, free: 2.973 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.389e-05/0.3389, allocations: 23.97 kB / 0.6216 GB, free: 2.949 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.332e-05/0.339, allocations: 23.97 kB / 0.6217 GB, free: 2.926 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005034/0.3395, allocations: 459.1 kB / 0.6221 GB, free: 2.484 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3395, allocations: 0 / 0.6221 GB, free: 2.484 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007427/0.3402, allocations: 255.7 kB / 0.6223 GB, free: 2.234 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.001985/0.3422, allocations: 1.524 MB / 0.6238 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009893/0.3432, allocations: 0.5001 MB / 0.6243 GB, free: 180 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.3432, allocations: 0 / 0.6243 GB, free: 180 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004842/0.3437, allocations: 211.6 kB / 0.6245 GB, free: 15.97 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/0.345, allocations: 348.5 kB / 0.6248 GB, free: 15.64 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007594/0.3526, allocations: 6.129 MB / 0.6308 GB, free: 9.148 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005055/0.3531, allocations: 0.9303 MB / 0.6317 GB, free: 8.188 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005711/0.3537, allocations: 261.6 kB / 0.632 GB, free: 7.934 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002895/0.354, allocations: 227.4 kB / 0.6322 GB, free: 7.715 MB / 478.1 MB Notification: Performance of SimCode: time 4.31e-07/0.354, allocations: 0 / 0.6322 GB, free: 7.715 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0507/0.4047, allocations: 22.31 MB / 0.654 GB, free: 1.625 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/12.83, allocations: 3.859 kB / 0.654 GB, free: 1.621 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.364216775997193]