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.001418/0.001418, allocations: 105.7 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.001549/0.001549, allocations: 214.7 kB / 22.92 MB, free: 5.195 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.321/1.321, allocations: 230.2 MB / 256.1 MB, free: 8.578 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.2015/0.2015, allocations: 46.89 MB / 359.3 MB, free: 4.945 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.002115/0.002115, allocations: 83.86 kB / 0.494 GB, free: 9.062 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2578, allocations: 65.98 MB / 0.5584 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01745/0.2752, allocations: 16.8 MB / 0.5748 GB, free: 4.312 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006813/0.2821, allocations: 5.517 MB / 0.5802 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004015/0.2825, allocations: 23.88 kB / 0.5802 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007403/0.2832, allocations: 318 kB / 0.5806 GB, free: 14.44 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001548/0.2847, allocations: 0.8511 MB / 0.5814 GB, free: 13.58 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002191/0.2869, allocations: 1.003 MB / 0.5824 GB, free: 12.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00176/0.2887, allocations: 1.793 MB / 0.5841 GB, free: 10.79 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004985/0.2892, allocations: 389.4 kB / 0.5845 GB, free: 10.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.2902, allocations: 0.7746 MB / 0.5852 GB, free: 9.625 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008051/0.291, allocations: 0.6539 MB / 0.5859 GB, free: 8.969 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.856e-05/0.2911, allocations: 63.98 kB / 0.5859 GB, free: 8.906 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007115/0.2919, allocations: 375.4 kB / 0.5863 GB, free: 8.539 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000258/0.2921, allocations: 267.2 kB / 0.5866 GB, free: 8.277 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003696/0.2925, allocations: 394.2 kB / 0.5869 GB, free: 7.891 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001301/0.2938, allocations: 1.16 MB / 0.5881 GB, free: 6.727 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2938, allocations: 0 / 0.5881 GB, free: 6.727 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2938, allocations: 0 / 0.5881 GB, free: 6.727 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.2938, allocations: 4 kB / 0.5881 GB, free: 6.723 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.0019/0.2957, allocations: 1.062 MB / 0.5891 GB, free: 5.609 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.2957, allocations: 19.97 kB / 0.5891 GB, free: 5.59 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001252/0.2959, allocations: 98.69 kB / 0.5892 GB, free: 5.484 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000316/0.2962, allocations: 96.41 kB / 0.5893 GB, free: 5.391 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007903/0.297, allocations: 0.5293 MB / 0.5898 GB, free: 4.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/0.2971, allocations: 104.9 kB / 0.5899 GB, free: 4.707 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.15e-05/0.2972, allocations: 52.12 kB / 0.59 GB, free: 4.656 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.2984, allocations: 0.8269 MB / 0.5908 GB, free: 3.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.2984, allocations: 4 kB / 0.5908 GB, free: 3.746 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.684e-05/0.2984, allocations: 23.98 kB / 0.5908 GB, free: 3.723 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.745e-05/0.2985, allocations: 48.92 kB / 0.5909 GB, free: 3.672 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.2995, allocations: 0.6399 MB / 0.5915 GB, free: 3.031 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.004667/0.3042, allocations: 4.341 MB / 0.5957 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005928/0.3048, allocations: 331.8 kB / 0.596 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002727/0.3051, allocations: 165.3 kB / 0.5962 GB, free: 13.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001833/0.3069, allocations: 1.713 MB / 0.5979 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.3069, allocations: 34.56 kB / 0.5979 GB, free: 11.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 1.312e-06/0.3069, allocations: 4 kB / 0.5979 GB, free: 11.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.003369/0.3103, allocations: 1.403 MB / 0.5993 GB, free: 10.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.058e-05/0.3104, allocations: 136.5 kB / 0.5994 GB, free: 10.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006977/0.3111, allocations: 0.6251 MB / 0.6 GB, free: 9.617 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.063e-05/0.3111, allocations: 29.7 kB / 0.6 GB, free: 9.582 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002934/0.3114, allocations: 411.4 kB / 0.6004 GB, free: 9.176 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.3115, allocations: 142.8 kB / 0.6006 GB, free: 9.035 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.3117, allocations: 146.5 kB / 0.6007 GB, free: 8.887 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.3119, allocations: 378.8 kB / 0.6011 GB, free: 8.508 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000309/0.3122, allocations: 189.9 kB / 0.6013 GB, free: 8.324 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005904/0.3128, allocations: 0.5598 MB / 0.6018 GB, free: 7.586 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009349/0.3137, allocations: 0.7805 MB / 0.6026 GB, free: 6.641 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/0.3137, allocations: 7.938 kB / 0.6026 GB, free: 6.633 MB / 446.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001309/0.315, allocations: 0.8254 MB / 0.6034 GB, free: 5.797 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.3151, allocations: 14.19 kB / 0.6034 GB, free: 5.785 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.3151, allocations: 16.84 kB / 0.6034 GB, free: 5.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003599/0.3154, allocations: 100.8 kB / 0.6035 GB, free: 5.668 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006194/0.3161, allocations: 175.7 kB / 0.6037 GB, free: 5.496 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005823/0.3166, allocations: 0.6733 MB / 0.6043 GB, free: 4.797 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004115/0.317, allocations: 28 kB / 0.6044 GB, free: 4.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-05/0.3171, allocations: 43.98 kB / 0.6044 GB, free: 4.727 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.0002922/0.3174, allocations: 255.7 kB / 0.6046 GB, free: 4.469 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.3175, allocations: 83.45 kB / 0.6047 GB, free: 4.387 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008694/0.3184, allocations: 0.4955 MB / 0.6052 GB, free: 3.875 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.3184, allocations: 7.984 kB / 0.6052 GB, free: 3.867 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3184, allocations: 0 / 0.6052 GB, free: 3.867 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.3184, allocations: 11.98 kB / 0.6052 GB, free: 3.855 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/0.3202, allocations: 1.212 MB / 0.6064 GB, free: 2.543 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.3202, allocations: 4 kB / 0.6064 GB, free: 2.539 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002967/0.3205, allocations: 71.91 kB / 0.6065 GB, free: 2.469 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001455/0.3207, allocations: 36.83 kB / 0.6065 GB, free: 2.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.3207, allocations: 16.38 kB / 0.6065 GB, free: 2.414 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003778/0.3211, allocations: 0.5679 MB / 0.6071 GB, free: 1.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.3211, allocations: 4 kB / 0.6071 GB, free: 1.816 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009687/0.322, allocations: 0.7299 MB / 0.6078 GB, free: 1.031 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002316/0.3223, allocations: 192.7 kB / 0.608 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.093e-05/0.3224, allocations: 11.98 kB / 0.608 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003684/0.3227, allocations: 12 kB / 0.608 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.985e-05/0.3228, allocations: 35.84 kB / 0.608 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.863e-05/0.3229, allocations: 24.05 kB / 0.6081 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005562/0.3234, allocations: 475 kB / 0.6085 GB, free: 292 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3234, allocations: 0 / 0.6085 GB, free: 292 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006799/0.3241, allocations: 203.9 kB / 0.6087 GB, free: 88 kB / 446.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.001621/0.3257, allocations: 1.401 MB / 0.6101 GB, free: 14.62 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009059/0.3266, allocations: 497.8 kB / 0.6106 GB, free: 14.14 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.3266, allocations: 384 / 0.6106 GB, free: 14.14 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003365/0.327, allocations: 179.7 kB / 0.6107 GB, free: 13.96 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/0.3285, allocations: 375.5 kB / 0.6111 GB, free: 13.61 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007953/0.3365, allocations: 6.318 MB / 0.6173 GB, free: 6.793 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000556/0.337, allocations: 0.9378 MB / 0.6182 GB, free: 5.828 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005506/0.3376, allocations: 213.2 kB / 0.6184 GB, free: 5.625 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003064/0.3379, allocations: 227.4 kB / 0.6186 GB, free: 5.402 MB / 462.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3379, allocations: 0 / 0.6186 GB, free: 5.402 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05042/0.3883, allocations: 20.75 MB / 0.6389 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.76, allocations: 6.172 kB / 0.6389 GB, free: 0.8633 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_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_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.353461949998746]