Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.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.001169/0.001169, allocations: 105 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.001267/0.001267, allocations: 213.4 kB / 22.92 MB, free: 5.535 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.291/1.291, allocations: 230.2 MB / 256.2 MB, free: 8.754 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.1987/0.1987, allocations: 46.91 MB / 359.3 MB, free: 4.98 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.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",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.002091/0.002091, allocations: 83.84 kB / 0.494 GB, free: 9.098 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2631, allocations: 65.98 MB / 0.5584 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01727/0.2804, allocations: 16.8 MB / 0.5748 GB, free: 4.215 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006806/0.2872, allocations: 5.513 MB / 0.5802 GB, free: 14.68 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003597/0.2875, allocations: 19.88 kB / 0.5802 GB, free: 14.66 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007472/0.2883, allocations: 326 kB / 0.5806 GB, free: 14.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001498/0.2898, allocations: 0.8433 MB / 0.5814 GB, free: 13.49 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002174/0.292, allocations: 1.007 MB / 0.5824 GB, free: 12.49 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001779/0.2937, allocations: 1.79 MB / 0.5841 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005084/0.2942, allocations: 397.4 kB / 0.5845 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00104/0.2953, allocations: 0.7668 MB / 0.5852 GB, free: 9.535 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008706/0.2961, allocations: 0.6539 MB / 0.5859 GB, free: 8.879 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.2963, allocations: 60 kB / 0.5859 GB, free: 8.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007393/0.297, allocations: 375.4 kB / 0.5863 GB, free: 8.453 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002762/0.2973, allocations: 275.1 kB / 0.5866 GB, free: 8.184 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003845/0.2977, allocations: 394.2 kB / 0.5869 GB, free: 7.797 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.299, allocations: 1.156 MB / 0.5881 GB, free: 6.637 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.299, allocations: 0 / 0.5881 GB, free: 6.637 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.299, allocations: 0 / 0.5881 GB, free: 6.637 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.299, allocations: 4 kB / 0.5881 GB, free: 6.633 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001815/0.3008, allocations: 1.062 MB / 0.5891 GB, free: 5.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.3009, allocations: 12.03 kB / 0.5891 GB, free: 5.508 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001288/0.301, allocations: 98.69 kB / 0.5892 GB, free: 5.402 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003224/0.3013, allocations: 96.41 kB / 0.5893 GB, free: 5.309 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000771/0.3021, allocations: 0.537 MB / 0.5898 GB, free: 4.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.3022, allocations: 105 kB / 0.5899 GB, free: 4.617 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-05/0.3023, allocations: 52.12 kB / 0.59 GB, free: 4.566 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/0.3035, allocations: 0.8192 MB / 0.5908 GB, free: 3.668 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.3035, allocations: 11.94 kB / 0.5908 GB, free: 3.656 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.611e-05/0.3036, allocations: 27.98 kB / 0.5908 GB, free: 3.629 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-05/0.3036, allocations: 36.98 kB / 0.5908 GB, free: 3.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.3046, allocations: 0.6438 MB / 0.5915 GB, free: 2.945 MB / 430.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.00435/0.309, allocations: 4.345 MB / 0.5957 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005966/0.3096, allocations: 335.5 kB / 0.596 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002659/0.3098, allocations: 161.3 kB / 0.5962 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001723/0.3115, allocations: 1.71 MB / 0.5979 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.3116, allocations: 38.56 kB / 0.5979 GB, free: 11.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 1.303e-06/0.3116, allocations: 4 kB / 0.5979 GB, free: 11.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.003318/0.3149, allocations: 1.403 MB / 0.5993 GB, free: 10.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.942e-05/0.315, allocations: 140.4 kB / 0.5994 GB, free: 10.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000703/0.3157, allocations: 0.6251 MB / 0.6 GB, free: 9.527 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4e-05/0.3157, allocations: 37.7 kB / 0.6001 GB, free: 9.484 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002914/0.316, allocations: 407.4 kB / 0.6004 GB, free: 9.082 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.3161, allocations: 146.8 kB / 0.6006 GB, free: 8.938 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/0.3163, allocations: 150.5 kB / 0.6007 GB, free: 8.785 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.3165, allocations: 374.8 kB / 0.6011 GB, free: 8.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003011/0.3168, allocations: 185.9 kB / 0.6013 GB, free: 8.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005909/0.3174, allocations: 0.5598 MB / 0.6018 GB, free: 7.492 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009374/0.3183, allocations: 0.7843 MB / 0.6026 GB, free: 6.543 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.3183, allocations: 3.938 kB / 0.6026 GB, free: 6.539 MB / 446.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001312/0.3196, allocations: 0.8262 MB / 0.6034 GB, free: 5.703 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.3197, allocations: 16.06 kB / 0.6034 GB, free: 5.688 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.3197, allocations: 12 kB / 0.6034 GB, free: 5.676 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003709/0.32, allocations: 96.8 kB / 0.6035 GB, free: 5.578 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006441/0.3207, allocations: 187.7 kB / 0.6037 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005938/0.3213, allocations: 0.6655 MB / 0.6043 GB, free: 4.703 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004154/0.3217, allocations: 28 kB / 0.6044 GB, free: 4.676 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.707e-05/0.3218, allocations: 40 kB / 0.6044 GB, free: 4.637 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (87): * Single equations (assignments): 86 * 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 {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003013/0.3221, allocations: 266.6 kB / 0.6047 GB, free: 4.371 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.3222, allocations: 71.53 kB / 0.6047 GB, free: 4.301 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008358/0.323, allocations: 0.5039 MB / 0.6052 GB, free: 3.781 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.323, allocations: 4 kB / 0.6052 GB, free: 3.777 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.323, allocations: 0 / 0.6052 GB, free: 3.777 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.323, allocations: 0 / 0.6052 GB, free: 3.777 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/0.3247, allocations: 1.22 MB / 0.6064 GB, free: 2.457 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.3247, allocations: 4 kB / 0.6064 GB, free: 2.453 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002817/0.325, allocations: 72.22 kB / 0.6065 GB, free: 2.383 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001489/0.3252, allocations: 48.95 kB / 0.6065 GB, free: 2.332 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.3252, allocations: 12 kB / 0.6065 GB, free: 2.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003771/0.3256, allocations: 0.564 MB / 0.6071 GB, free: 1.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.3256, allocations: 3.938 kB / 0.6071 GB, free: 1.727 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009369/0.3265, allocations: 0.7377 MB / 0.6078 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002235/0.3267, allocations: 184.6 kB / 0.608 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.823e-05/0.3268, allocations: 8 kB / 0.608 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003591/0.3272, allocations: 23.98 kB / 0.608 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.3272, allocations: 35.91 kB / 0.6081 GB, free: 0.668 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.89e-05/0.3273, allocations: 23.98 kB / 0.6081 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005263/0.3278, allocations: 467 kB / 0.6085 GB, free: 200 kB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3278, allocations: 0 / 0.6085 GB, free: 200 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007034/0.3285, allocations: 211.9 kB / 0.6087 GB, free: 15.98 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (36): * Single equations (assignments): 35 * 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 {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001548/0.33, allocations: 1.404 MB / 0.6101 GB, free: 14.52 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008746/0.3309, allocations: 0.4897 MB / 0.6106 GB, free: 14.03 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3309, allocations: 0 / 0.6106 GB, free: 14.03 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003172/0.3312, allocations: 165.2 kB / 0.6107 GB, free: 13.87 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/0.3328, allocations: 376 kB / 0.6111 GB, free: 13.51 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007675/0.3405, allocations: 6.316 MB / 0.6173 GB, free: 6.703 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005341/0.341, allocations: 0.9378 MB / 0.6182 GB, free: 5.738 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005483/0.3415, allocations: 216.5 kB / 0.6184 GB, free: 5.535 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002964/0.3418, allocations: 235.4 kB / 0.6186 GB, free: 5.305 MB / 462.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3418, allocations: 0 / 0.6186 GB, free: 5.305 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04933/0.3912, allocations: 20.75 MB / 0.6389 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.55, allocations: 4 kB / 0.6389 GB, free: 0.7695 MB / 478.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.105030580001767]