Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_3_2_3_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.0009636/0.0009637, allocations: 97.41 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 168 kB / 16.57 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205.4 MB / 222.8 MB, free: 5.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3835/0.3835, allocations: 43.55 MB / 314.6 MB, free: 9.055 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005639/0.000564, allocations: 12 kB / 384 MB, free: 8.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1425, allocations: 58.85 MB / 442.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.2802/0.4227, allocations: 28.16 MB / 471 MB, free: 35.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00604/0.4288, allocations: 4.407 MB / 475.4 MB, free: 32.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.4301, allocations: 23.78 kB / 475.5 MB, free: 32.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000859/0.4309, allocations: 239.8 kB / 475.7 MB, free: 32.09 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004252/0.4352, allocations: 1.565 MB / 477.3 MB, free: 31.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003379/0.4386, allocations: 1.216 MB / 478.5 MB, free: 30.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002601/0.4412, allocations: 2.25 MB / 480.7 MB, free: 30.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006031/0.4418, allocations: 399.2 kB / 481.1 MB, free: 29.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005271/0.4471, allocations: 3.184 MB / 484.3 MB, free: 29.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002065/0.4492, allocations: 1.323 MB / 485.6 MB, free: 29.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.4493, allocations: 30.38 kB / 485.7 MB, free: 29.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002693/0.452, allocations: 1.285 MB / 486.9 MB, free: 28.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002997/0.4524, allocations: 246.3 kB / 487.2 MB, free: 28.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002731/0.4526, allocations: 160.9 kB / 487.3 MB, free: 28.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001587/0.4542, allocations: 1.057 MB / 488.4 MB, free: 28.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.4542, allocations: 0 / 488.4 MB, free: 28.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.4543, allocations: 0 / 488.4 MB, free: 28.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.4543, allocations: 0 / 488.4 MB, free: 28.37 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.00216/0.4564, allocations: 1.005 MB / 489.4 MB, free: 27.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/0.4565, allocations: 8.875 kB / 489.4 MB, free: 27.67 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001636/0.4567, allocations: 100.9 kB / 489.5 MB, free: 27.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000991/0.4577, allocations: 148.7 kB / 489.7 MB, free: 27.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.4587, allocations: 0.497 MB / 490.2 MB, free: 27.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/0.4588, allocations: 102.2 kB / 490.3 MB, free: 27.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.352e-05/0.4589, allocations: 45.48 kB / 490.3 MB, free: 27.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.4605, allocations: 0.8351 MB / 491.1 MB, free: 26.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/0.4605, allocations: 6.969 kB / 491.1 MB, free: 26.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.127e-05/0.4606, allocations: 26.17 kB / 491.2 MB, free: 26.6 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.92e-05/0.4607, allocations: 40.78 kB / 491.2 MB, free: 26.6 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.462, allocations: 0.5979 MB / 491.8 MB, free: 26.39 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.005333/0.4673, allocations: 4.902 MB / 496.7 MB, free: 22.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006944/0.468, allocations: 332.4 kB / 497 MB, free: 22.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002481/0.4683, allocations: 142.4 kB / 497.2 MB, free: 22 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004227/0.4687, allocations: 0.6077 MB / 497.8 MB, free: 21.33 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/0.4688, allocations: 39.53 kB / 497.8 MB, free: 21.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.925e-06/0.4688, allocations: 0 / 497.8 MB, free: 21.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.003967/0.4727, allocations: 1.533 MB / 499.4 MB, free: 20.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.4728, allocations: 133 kB / 499.5 MB, free: 20.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008917/0.4737, allocations: 0.6491 MB / 0.4884 GB, free: 20 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.892e-05/0.4738, allocations: 36.27 kB / 0.4884 GB, free: 19.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002519/0.474, allocations: 397.5 kB / 0.4888 GB, free: 19.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.543e-05/0.4741, allocations: 127.7 kB / 0.4889 GB, free: 19.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.4742, allocations: 15.53 kB / 0.489 GB, free: 19.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.4743, allocations: 379.8 kB / 0.4893 GB, free: 19.19 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003609/0.4746, allocations: 200.5 kB / 0.4895 GB, free: 19.13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005056/0.4752, allocations: 0.4954 MB / 0.49 GB, free: 18.67 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004733/0.4756, allocations: 291.9 kB / 0.4903 GB, free: 18.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.4757, allocations: 6.531 kB / 0.4903 GB, free: 18.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001424/0.4771, allocations: 0.8672 MB / 0.4911 GB, free: 18.17 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.4771, allocations: 8.938 kB / 0.4911 GB, free: 18.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.4771, allocations: 9.25 kB / 0.4911 GB, free: 18.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/0.4784, allocations: 295.4 kB / 0.4914 GB, free: 18.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003935/0.4788, allocations: 126.2 kB / 0.4915 GB, free: 18.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/0.4799, allocations: 1.404 MB / 0.4929 GB, free: 16.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005248/0.4804, allocations: 33.36 kB / 0.493 GB, free: 16.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.455e-05/0.4805, allocations: 48.42 kB / 0.493 GB, free: 16.86 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.0003489/0.4809, allocations: 245.8 kB / 0.4932 GB, free: 16.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.481, allocations: 70.84 kB / 0.4933 GB, free: 16.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001469/0.4825, allocations: 0.66 MB / 0.4939 GB, free: 16.35 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.4825, allocations: 7.203 kB / 0.4939 GB, free: 16.35 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.4825, allocations: 0 / 0.4939 GB, free: 16.35 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.4825, allocations: 0.9688 kB / 0.494 GB, free: 16.35 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002091/0.4846, allocations: 1.221 MB / 0.4951 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.4846, allocations: 1.562 kB / 0.4951 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.4848, allocations: 44.98 kB / 0.4952 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008462/0.4856, allocations: 205.4 kB / 0.4954 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-05/0.4857, allocations: 11.14 kB / 0.4954 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000798/0.4865, allocations: 1.304 MB / 0.4967 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.4865, allocations: 5.5 kB / 0.4967 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.4877, allocations: 0.81 MB / 0.4975 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002871/0.488, allocations: 205.4 kB / 0.4977 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.4882, allocations: 10.62 kB / 0.4977 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003808/0.4886, allocations: 24.62 kB / 0.4977 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.826e-05/0.4886, allocations: 28.55 kB / 0.4977 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.182e-05/0.4887, allocations: 26.59 kB / 0.4977 GB, free: 13.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005948/0.4893, allocations: 451.2 kB / 0.4982 GB, free: 13.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4893, allocations: 0 / 0.4982 GB, free: 13.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001273/0.4906, allocations: 294.9 kB / 0.4985 GB, free: 13.58 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.002622/0.4932, allocations: 1.592 MB / 0.5 GB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001225/0.4945, allocations: 0.5084 MB / 0.5005 GB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4945, allocations: 0 / 0.5005 GB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005535/0.495, allocations: 218.3 kB / 0.5007 GB, free: 12.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/0.4966, allocations: 314.3 kB / 0.501 GB, free: 12.24 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007193/0.5039, allocations: 4.171 MB / 0.5051 GB, free: 9.961 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004673/0.5043, allocations: 0.9328 MB / 0.506 GB, free: 9.234 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008671/0.5052, allocations: 202.6 kB / 0.5062 GB, free: 9.188 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003461/0.5056, allocations: 231.1 kB / 0.5064 GB, free: 9.027 MB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.5056, allocations: 0 / 0.5064 GB, free: 9.027 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05801/0.5636, allocations: 21.53 MB / 0.5274 GB, free: 8.773 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002721/0.5639, allocations: 282.1 kB / 0.5277 GB, free: 8.418 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.141/2.705, allocations: 0 / 0.5277 GB, free: 8.418 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat