Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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 trunk/package.mo): time 0.001666/0.001667, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00185/0.00185, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2284/0.2284, allocations: 46.12 MB / 344.3 MB, free: 11.46 MB / 286.1 MB 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.002205/0.002205, allocations: 75.88 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3848, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.0309/0.4157, allocations: 25.09 MB / 0.5551 GB, free: 8.578 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007061/0.4228, allocations: 4.375 MB / 0.5594 GB, free: 4.188 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001011/0.4239, allocations: 23.81 kB / 0.5594 GB, free: 4.164 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.425, allocations: 290.1 kB / 0.5597 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004611/0.4296, allocations: 1.579 MB / 0.5612 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003847/0.4335, allocations: 1.342 MB / 0.5625 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00309/0.4366, allocations: 1.852 MB / 0.5643 GB, free: 15.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008229/0.4374, allocations: 485.2 kB / 0.5648 GB, free: 14.63 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005728/0.4432, allocations: 3.032 MB / 0.5678 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002486/0.4457, allocations: 1.305 MB / 0.569 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002036/0.4459, allocations: 60 kB / 0.5691 GB, free: 10.22 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003118/0.449, allocations: 1.232 MB / 0.5703 GB, free: 8.992 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003527/0.4494, allocations: 271.2 kB / 0.5706 GB, free: 8.727 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005692/0.45, allocations: 402.2 kB / 0.5709 GB, free: 8.332 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002622/0.4526, allocations: 1.382 MB / 0.5723 GB, free: 6.945 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4526, allocations: 3.938 kB / 0.5723 GB, free: 6.941 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4526, allocations: 0 / 0.5723 GB, free: 6.941 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.4527, allocations: 0 / 0.5723 GB, free: 6.941 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002495/0.4552, allocations: 1.14 MB / 0.5734 GB, free: 5.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.4552, allocations: 12.03 kB / 0.5734 GB, free: 5.738 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001374/0.4554, allocations: 102.7 kB / 0.5735 GB, free: 5.629 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009897/0.4564, allocations: 144.4 kB / 0.5737 GB, free: 5.488 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000938/0.4573, allocations: 0.5486 MB / 0.5742 GB, free: 4.898 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/0.4574, allocations: 108.5 kB / 0.5743 GB, free: 4.781 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.452e-05/0.4575, allocations: 48 kB / 0.5743 GB, free: 4.734 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.4591, allocations: 0.8355 MB / 0.5752 GB, free: 3.816 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/0.4591, allocations: 11.88 kB / 0.5752 GB, free: 3.805 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.971e-05/0.4592, allocations: 24 kB / 0.5752 GB, free: 3.781 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.618e-05/0.4593, allocations: 36.98 kB / 0.5752 GB, free: 3.742 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.4605, allocations: 0.6048 MB / 0.5758 GB, free: 3.137 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.005435/0.4659, allocations: 4.695 MB / 0.5804 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007023/0.4666, allocations: 322.7 kB / 0.5807 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002542/0.4669, allocations: 140.8 kB / 0.5808 GB, free: 13.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003419/0.4673, allocations: 421.5 kB / 0.5812 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.4673, allocations: 38.56 kB / 0.5813 GB, free: 13.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 2.464e-06/0.4673, allocations: 0 / 0.5813 GB, free: 13.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.004224/0.4715, allocations: 1.543 MB / 0.5828 GB, free: 11.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.4717, allocations: 132.5 kB / 0.5829 GB, free: 11.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008324/0.4725, allocations: 0.6525 MB / 0.5836 GB, free: 10.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.589e-05/0.4726, allocations: 37.7 kB / 0.5836 GB, free: 10.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000359/0.4729, allocations: 399.6 kB / 0.584 GB, free: 10.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.4731, allocations: 138.8 kB / 0.5841 GB, free: 10.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002513/0.4733, allocations: 154.5 kB / 0.5843 GB, free: 9.871 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002546/0.4736, allocations: 378.8 kB / 0.5846 GB, free: 9.492 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003878/0.474, allocations: 201.9 kB / 0.5848 GB, free: 9.297 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007511/0.4748, allocations: 0.4988 MB / 0.5853 GB, free: 8.664 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.4759, allocations: 0.7094 MB / 0.586 GB, free: 7.828 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.4759, allocations: 0 / 0.586 GB, free: 7.828 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001761/0.4777, allocations: 0.895 MB / 0.5869 GB, free: 6.922 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.4777, allocations: 8 kB / 0.5869 GB, free: 6.914 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.4777, allocations: 12.88 kB / 0.5869 GB, free: 6.902 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/0.4791, allocations: 284.6 kB / 0.5872 GB, free: 6.621 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003858/0.4795, allocations: 127.8 kB / 0.5873 GB, free: 6.496 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001391/0.4809, allocations: 1.401 MB / 0.5886 GB, free: 5.043 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004688/0.4814, allocations: 24 kB / 0.5887 GB, free: 5.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.43e-05/0.4815, allocations: 44 kB / 0.5887 GB, free: 4.977 MB / 446.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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000379/0.4819, allocations: 245.7 kB / 0.5889 GB, free: 4.727 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.482, allocations: 79.45 kB / 0.589 GB, free: 4.648 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00164/0.4837, allocations: 0.7049 MB / 0.5897 GB, free: 3.922 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.4837, allocations: 4 kB / 0.5897 GB, free: 3.918 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4837, allocations: 0 / 0.5897 GB, free: 3.918 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.4837, allocations: 7.984 kB / 0.5897 GB, free: 3.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00205/0.4858, allocations: 1.212 MB / 0.5909 GB, free: 2.625 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.4858, allocations: 0 / 0.5909 GB, free: 2.625 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.4859, allocations: 43.91 kB / 0.5909 GB, free: 2.582 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008775/0.4868, allocations: 209.5 kB / 0.5911 GB, free: 2.371 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-05/0.4869, allocations: 11.98 kB / 0.5912 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001138/0.488, allocations: 1.296 MB / 0.5924 GB, free: 1.012 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.488, allocations: 7.969 kB / 0.5924 GB, free: 1.004 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/0.4894, allocations: 0.8082 MB / 0.5932 GB, free: 168 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000273/0.4897, allocations: 188.6 kB / 0.5934 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.285e-05/0.4898, allocations: 8 kB / 0.5934 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003586/0.4901, allocations: 15.98 kB / 0.5934 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.062e-05/0.4902, allocations: 27.91 kB / 0.5934 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.746e-05/0.4903, allocations: 20.05 kB / 0.5935 GB, free: 15.89 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005742/0.4909, allocations: 459 kB / 0.5939 GB, free: 15.45 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4909, allocations: 0 / 0.5939 GB, free: 15.45 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008829/0.4918, allocations: 259.7 kB / 0.5941 GB, free: 15.19 MB / 462.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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002559/0.4943, allocations: 1.524 MB / 0.5956 GB, free: 13.63 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001264/0.4956, allocations: 0.5233 MB / 0.5961 GB, free: 13.11 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.4956, allocations: 4 kB / 0.5962 GB, free: 13.11 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005217/0.4962, allocations: 215.7 kB / 0.5964 GB, free: 12.89 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/0.4977, allocations: 353.5 kB / 0.5967 GB, free: 12.55 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008807/0.5066, allocations: 6.148 MB / 0.6027 GB, free: 6.051 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006128/0.5072, allocations: 0.9264 MB / 0.6036 GB, free: 5.094 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007645/0.508, allocations: 255.5 kB / 0.6038 GB, free: 4.844 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003619/0.5084, allocations: 231.3 kB / 0.6041 GB, free: 4.621 MB / 462.1 MB Notification: Performance of SimCode: time 8.02e-07/0.5084, allocations: 0 / 0.6041 GB, free: 4.621 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05418/0.5625, allocations: 22.14 MB / 0.6257 GB, free: 14.81 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/14.29, allocations: 14.81 kB / 0.6257 GB, free: 14.8 MB / 494.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1)