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.0007442/0.0007444, allocations: 95.72 kB / 17 MB, free: 6.117 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.0008607/0.0008608, allocations: 182.3 kB / 17.89 MB, free: 5.695 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.409/1.409, allocations: 223.2 MB / 241.9 MB, free: 336 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2179/0.2179, allocations: 44.22 MB / 337.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003092/0.0003093, allocations: 11.98 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1205, allocations: 61.92 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.02695/0.1475, allocations: 23.48 MB / 495.1 MB, free: 6.055 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00862/0.1561, allocations: 4.207 MB / 499.3 MB, free: 1.836 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001334/0.1575, allocations: 27.75 kB / 499.4 MB, free: 1.809 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001274/0.1588, allocations: 242.5 kB / 499.6 MB, free: 1.57 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.005042/0.1639, allocations: 1.404 MB / 0.4893 GB, free: 168 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003347/0.1672, allocations: 1.087 MB / 0.4903 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00312/0.1704, allocations: 2.242 MB / 0.4925 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001078/0.1715, allocations: 401.2 kB / 0.4929 GB, free: 12.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006451/0.1779, allocations: 3.068 MB / 0.4959 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002644/0.1806, allocations: 1.313 MB / 0.4972 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003418/0.181, allocations: 35.98 kB / 0.4972 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003041/0.1841, allocations: 1.124 MB / 0.4983 GB, free: 6.891 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000485/0.1846, allocations: 243.3 kB / 0.4985 GB, free: 6.652 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004276/0.185, allocations: 169.3 kB / 0.4987 GB, free: 6.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001801/0.1868, allocations: 0.9781 MB / 0.4997 GB, free: 5.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1868, allocations: 0 / 0.4997 GB, free: 5.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1868, allocations: 0 / 0.4997 GB, free: 5.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.551e-05/0.1869, allocations: 0 / 0.4997 GB, free: 5.5 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.002519/0.1894, allocations: 0.9893 MB / 0.5006 GB, free: 4.461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.1895, allocations: 8.031 kB / 0.5006 GB, free: 4.453 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002278/0.1897, allocations: 98.52 kB / 0.5007 GB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.1908, allocations: 147.1 kB / 0.5009 GB, free: 4.203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009649/0.1917, allocations: 0.4888 MB / 0.5014 GB, free: 3.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.1919, allocations: 108.4 kB / 0.5015 GB, free: 3.555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.192, allocations: 48 kB / 0.5015 GB, free: 3.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.1935, allocations: 0.8277 MB / 0.5023 GB, free: 2.598 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/0.1935, allocations: 11.92 kB / 0.5023 GB, free: 2.586 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.924e-05/0.1936, allocations: 27.98 kB / 0.5023 GB, free: 2.559 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.027e-05/0.1937, allocations: 36.98 kB / 0.5024 GB, free: 2.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.1949, allocations: 0.6009 MB / 0.503 GB, free: 1.922 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.2765/0.4715, allocations: 4.681 MB / 0.5075 GB, free: 47.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008268/0.4723, allocations: 326.4 kB / 0.5079 GB, free: 47.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002563/0.4726, allocations: 142 kB / 0.508 GB, free: 47.92 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002478/0.4728, allocations: 418.6 kB / 0.5084 GB, free: 47.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.4729, allocations: 36.88 kB / 0.5084 GB, free: 47.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.745e-06/0.4729, allocations: 3.281 kB / 0.5084 GB, free: 47.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.004735/0.4776, allocations: 1.517 MB / 0.5099 GB, free: 46.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.4777, allocations: 137.2 kB / 0.51 GB, free: 46.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.4789, allocations: 0.6498 MB / 0.5107 GB, free: 46.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.301e-05/0.479, allocations: 35.3 kB / 0.5107 GB, free: 46.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000388/0.4794, allocations: 393 kB / 0.5111 GB, free: 46.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/0.4795, allocations: 131.5 kB / 0.5112 GB, free: 46.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.479e-05/0.4796, allocations: 15.44 kB / 0.5112 GB, free: 46.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.4798, allocations: 380.3 kB / 0.5116 GB, free: 45.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004164/0.4802, allocations: 198.4 kB / 0.5118 GB, free: 45.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006618/0.4809, allocations: 0.494 MB / 0.5123 GB, free: 45.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006091/0.4815, allocations: 295.2 kB / 0.5125 GB, free: 45.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.4815, allocations: 2.156 kB / 0.5125 GB, free: 45.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001743/0.4833, allocations: 0.8543 MB / 0.5134 GB, free: 44.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.136e-05/0.4833, allocations: 11.86 kB / 0.5134 GB, free: 44.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.522e-05/0.4834, allocations: 9.25 kB / 0.5134 GB, free: 44.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001535/0.4849, allocations: 283.2 kB / 0.5137 GB, free: 44.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004296/0.4853, allocations: 121.8 kB / 0.5138 GB, free: 44.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001279/0.4866, allocations: 1.403 MB / 0.5151 GB, free: 43.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006768/0.4873, allocations: 33.36 kB / 0.5152 GB, free: 43.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.933e-05/0.4874, allocations: 42.11 kB / 0.5152 GB, free: 43.66 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.0004511/0.4879, allocations: 253.8 kB / 0.5155 GB, free: 43.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.488, allocations: 70.67 kB / 0.5155 GB, free: 43.44 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001733/0.4898, allocations: 0.7152 MB / 0.5162 GB, free: 43.17 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.4898, allocations: 4.156 kB / 0.5162 GB, free: 43.17 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.4898, allocations: 0.6562 kB / 0.5162 GB, free: 43.17 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.4898, allocations: 2.781 kB / 0.5162 GB, free: 43.17 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002347/0.4922, allocations: 1.211 MB / 0.5174 GB, free: 42.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.4922, allocations: 1.031 kB / 0.5174 GB, free: 42.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/0.4924, allocations: 36.66 kB / 0.5175 GB, free: 42.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009535/0.4933, allocations: 204.8 kB / 0.5177 GB, free: 42.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.4934, allocations: 9.031 kB / 0.5177 GB, free: 42.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001142/0.4945, allocations: 1.3 MB / 0.5189 GB, free: 41.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.4945, allocations: 0 / 0.5189 GB, free: 41.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.4961, allocations: 0.8163 MB / 0.5197 GB, free: 40.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003771/0.4965, allocations: 197.7 kB / 0.5199 GB, free: 40.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.738e-05/0.4966, allocations: 8.297 kB / 0.5199 GB, free: 40.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003854/0.497, allocations: 26.59 kB / 0.5199 GB, free: 40.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.4971, allocations: 24.52 kB / 0.52 GB, free: 40.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.539e-05/0.4972, allocations: 21.42 kB / 0.52 GB, free: 40.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008473/0.498, allocations: 449.1 kB / 0.5204 GB, free: 40.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.498, allocations: 0.875 kB / 0.5204 GB, free: 40.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001278/0.4993, allocations: 258 kB / 0.5207 GB, free: 40.45 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.002336/0.5017, allocations: 1.52 MB / 0.5222 GB, free: 39.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001367/0.5031, allocations: 0.5016 MB / 0.5226 GB, free: 39.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.5031, allocations: 1.469 kB / 0.5226 GB, free: 39.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006118/0.5037, allocations: 225.7 kB / 0.5229 GB, free: 39.26 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.5053, allocations: 323.5 kB / 0.5232 GB, free: 39.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0073/0.5127, allocations: 4.141 MB / 0.5272 GB, free: 36.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004391/0.5131, allocations: 0.9334 MB / 0.5281 GB, free: 36.24 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000953/0.5141, allocations: 256.6 kB / 0.5284 GB, free: 36.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003087/0.5144, allocations: 228.5 kB / 0.5286 GB, free: 36.03 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.5144, allocations: 1.812 kB / 0.5286 GB, free: 36.03 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07568/0.5901, allocations: 20.53 MB / 0.5486 GB, free: 18.49 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/0.5903, allocations: 292.8 kB / 0.5489 GB, free: 18.13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.441/3.032, allocations: 11.11 kB / 0.5489 GB, free: 18.12 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