Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 96.27 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001087, allocations: 180.7 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2312/0.2312, allocations: 44.22 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004705/0.0004707, allocations: 11.98 kB / 409.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1437, allocations: 61.91 MB / 471.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.0221/0.1658, allocations: 17.15 MB / 488.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008766/0.1746, allocations: 4.582 MB / 493.3 MB, free: 7.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.1759, allocations: 23.81 kB / 493.3 MB, free: 7.797 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001288/0.1772, allocations: 258.6 kB / 493.6 MB, free: 7.543 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004448/0.1817, allocations: 1.285 MB / 494.8 MB, free: 6.258 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003201/0.1849, allocations: 1.095 MB / 495.9 MB, free: 5.172 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002003/0.1869, allocations: 1.047 MB / 497 MB, free: 4.125 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006635/0.1876, allocations: 409.2 kB / 497.4 MB, free: 3.719 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005242/0.1928, allocations: 2.808 MB / 0.4885 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00203/0.1949, allocations: 1.064 MB / 0.4895 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.195, allocations: 32 kB / 0.4895 GB, free: 15.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002576/0.1976, allocations: 1.128 MB / 0.4906 GB, free: 14.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003487/0.198, allocations: 219.4 kB / 0.4908 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003214/0.1983, allocations: 165.4 kB / 0.491 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.2, allocations: 0.9742 MB / 0.492 GB, free: 13.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.2, allocations: 0 / 0.492 GB, free: 13.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2, allocations: 0 / 0.492 GB, free: 13.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.896e-06/0.2, allocations: 0 / 0.492 GB, free: 13.32 MB / 382.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.002142/0.2021, allocations: 0.9816 MB / 0.4929 GB, free: 12.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.989e-05/0.2022, allocations: 12.03 kB / 0.4929 GB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001569/0.2024, allocations: 102.4 kB / 0.493 GB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009857/0.2034, allocations: 143.1 kB / 0.4932 GB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.2045, allocations: 0.4965 MB / 0.4936 GB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.2046, allocations: 108.4 kB / 0.4938 GB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001697/0.2048, allocations: 44 kB / 0.4938 GB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.2064, allocations: 0.8278 MB / 0.4946 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.2064, allocations: 3.938 kB / 0.4946 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.699e-05/0.2065, allocations: 24 kB / 0.4946 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.126e-05/0.2066, allocations: 44.98 kB / 0.4947 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.2077, allocations: 0.6009 MB / 0.4953 GB, free: 9.746 MB / 382.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.005457/0.2132, allocations: 4.707 MB / 0.4999 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000687/0.2139, allocations: 337 kB / 0.5002 GB, free: 4.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003221/0.2142, allocations: 422 kB / 0.5006 GB, free: 3.816 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.2143, allocations: 34.56 kB / 0.5006 GB, free: 3.773 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.695e-06/0.2143, allocations: 0 / 0.5006 GB, free: 3.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.004098/0.2184, allocations: 1.538 MB / 0.5021 GB, free: 2.156 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.999e-05/0.2185, allocations: 136.5 kB / 0.5022 GB, free: 1.992 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008191/0.2193, allocations: 0.6408 MB / 0.5029 GB, free: 1.344 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.825e-05/0.2194, allocations: 37.7 kB / 0.5029 GB, free: 1.301 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003022/0.2197, allocations: 394.5 kB / 0.5033 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.2198, allocations: 130.2 kB / 0.5034 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.364e-05/0.2199, allocations: 16 kB / 0.5034 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.2201, allocations: 382.7 kB / 0.5038 GB, free: 392 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003315/0.2204, allocations: 201.8 kB / 0.504 GB, free: 192 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2856/0.506, allocations: 494.5 kB / 0.5044 GB, free: 49.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.5071, allocations: 294.3 kB / 0.5047 GB, free: 49.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.988e-06/0.5071, allocations: 3.156 kB / 0.5047 GB, free: 49.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002462/0.5096, allocations: 0.8592 MB / 0.5056 GB, free: 49.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.99e-05/0.5097, allocations: 8.031 kB / 0.5056 GB, free: 49.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.652e-05/0.5097, allocations: 11.53 kB / 0.5056 GB, free: 49.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001936/0.5117, allocations: 280.5 kB / 0.5059 GB, free: 49.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005992/0.5123, allocations: 120.2 kB / 0.506 GB, free: 49.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/0.5138, allocations: 1.402 MB / 0.5073 GB, free: 48.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009353/0.5147, allocations: 34.59 kB / 0.5074 GB, free: 48.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.226e-05/0.5148, allocations: 43.17 kB / 0.5074 GB, free: 48.16 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004093/0.5153, allocations: 250.2 kB / 0.5077 GB, free: 48.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.5154, allocations: 70.17 kB / 0.5077 GB, free: 48.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002501/0.5179, allocations: 0.7085 MB / 0.5084 GB, free: 47.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.5179, allocations: 5.125 kB / 0.5084 GB, free: 47.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.518, allocations: 3.188 kB / 0.5084 GB, free: 47.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.518, allocations: 1.594 kB / 0.5084 GB, free: 47.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003145/0.5211, allocations: 1.203 MB / 0.5096 GB, free: 47.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.5212, allocations: 2.125 kB / 0.5096 GB, free: 47.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002902/0.5215, allocations: 41.39 kB / 0.5096 GB, free: 47.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001169/0.5226, allocations: 200.8 kB / 0.5098 GB, free: 47.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.375e-05/0.5227, allocations: 11.3 kB / 0.5098 GB, free: 47.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001383/0.5241, allocations: 1.301 MB / 0.5111 GB, free: 46.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.5241, allocations: 5.078 kB / 0.5111 GB, free: 46.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/0.5261, allocations: 0.8316 MB / 0.5119 GB, free: 46.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005371/0.5267, allocations: 191.6 kB / 0.5121 GB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/0.5268, allocations: 11.52 kB / 0.5121 GB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005961/0.5274, allocations: 24.53 kB / 0.5121 GB, free: 45.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.5276, allocations: 23.34 kB / 0.5122 GB, free: 45.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.494e-05/0.5276, allocations: 26.33 kB / 0.5122 GB, free: 45.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001007/0.5287, allocations: 449.6 kB / 0.5126 GB, free: 45.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5287, allocations: 3.906 kB / 0.5126 GB, free: 45.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001846/0.5305, allocations: 256.6 kB / 0.5129 GB, free: 45.65 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003081/0.5336, allocations: 1.686 MB / 0.5145 GB, free: 44.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00169/0.5353, allocations: 0.4988 MB / 0.515 GB, free: 44.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/0.5354, allocations: 3.062 kB / 0.515 GB, free: 44.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000761/0.5361, allocations: 231.7 kB / 0.5152 GB, free: 44.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002586/0.5387, allocations: 300.6 kB / 0.5155 GB, free: 44.24 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01491/0.5537, allocations: 10.31 MB / 0.5256 GB, free: 35.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/0.5549, allocations: 0.9441 MB / 0.5265 GB, free: 35.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001965/0.5569, allocations: 258.7 kB / 0.5268 GB, free: 35.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006384/0.5575, allocations: 236.4 kB / 0.527 GB, free: 34.94 MB / 382.1 MB Notification: Performance of SimCode: time 2.184e-06/0.5576, allocations: 0 / 0.527 GB, free: 34.94 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05356/0.6111, allocations: 20.52 MB / 0.547 GB, free: 19.86 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/0.6113, allocations: 283.1 kB / 0.5473 GB, free: 19.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.271/2.882, allocations: 3.516 kB / 0.5473 GB, free: 19.5 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat