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.Essotherm650.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.Essotherm650,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001757/0.001758, allocations: 122.2 kB / 17.77 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001917/0.001917, allocations: 202 kB / 18.72 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 227.4 MB / 247 MB, free: 10.4 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.2295/0.2295, allocations: 46.11 MB / 344.3 MB, free: 11.45 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.002261/0.002261, allocations: 79.88 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.384, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.03022/0.4143, allocations: 25.06 MB / 0.5551 GB, free: 8.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007163/0.4215, allocations: 4.375 MB / 0.5593 GB, free: 4.18 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008353/0.4224, allocations: 23.81 kB / 0.5594 GB, free: 4.156 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009789/0.4234, allocations: 306.1 kB / 0.5597 GB, free: 3.855 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004238/0.4277, allocations: 1.621 MB / 0.5612 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003497/0.4312, allocations: 1.381 MB / 0.5626 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003069/0.4343, allocations: 1.852 MB / 0.5644 GB, free: 15 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008057/0.4351, allocations: 493.2 kB / 0.5649 GB, free: 14.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006455/0.4416, allocations: 3.36 MB / 0.5682 GB, free: 11.15 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002497/0.4441, allocations: 1.434 MB / 0.5696 GB, free: 9.711 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002572/0.4444, allocations: 60 kB / 0.5696 GB, free: 9.652 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002926/0.4473, allocations: 1.318 MB / 0.5709 GB, free: 8.332 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003854/0.4477, allocations: 263.2 kB / 0.5712 GB, free: 8.074 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005982/0.4483, allocations: 402.2 kB / 0.5715 GB, free: 7.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002613/0.4509, allocations: 1.386 MB / 0.5729 GB, free: 6.289 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.451, allocations: 0 / 0.5729 GB, free: 6.289 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.451, allocations: 0 / 0.5729 GB, free: 6.289 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.451, allocations: 4 kB / 0.5729 GB, free: 6.285 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.002314/0.4533, allocations: 1.14 MB / 0.574 GB, free: 5.094 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.4534, allocations: 12.03 kB / 0.574 GB, free: 5.082 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001312/0.4535, allocations: 98.64 kB / 0.5741 GB, free: 4.977 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000992/0.4545, allocations: 148.4 kB / 0.5743 GB, free: 4.832 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008972/0.4554, allocations: 0.5486 MB / 0.5748 GB, free: 4.242 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.4555, allocations: 104.5 kB / 0.5749 GB, free: 4.129 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.081e-05/0.4556, allocations: 55.98 kB / 0.5749 GB, free: 4.074 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.4571, allocations: 0.8239 MB / 0.5757 GB, free: 3.168 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.4571, allocations: 7.891 kB / 0.5758 GB, free: 3.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.247e-05/0.4572, allocations: 27.98 kB / 0.5758 GB, free: 3.133 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.461e-05/0.4572, allocations: 48.97 kB / 0.5758 GB, free: 3.082 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.4584, allocations: 0.597 MB / 0.5764 GB, free: 2.484 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.005155/0.4636, allocations: 4.687 MB / 0.581 GB, free: 13.42 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006629/0.4643, allocations: 330.6 kB / 0.5813 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002389/0.4645, allocations: 144.8 kB / 0.5814 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003452/0.4649, allocations: 413.5 kB / 0.5818 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.4649, allocations: 42.56 kB / 0.5819 GB, free: 12.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 2.094e-06/0.4649, allocations: 0 / 0.5819 GB, free: 12.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.004062/0.469, allocations: 1.531 MB / 0.5834 GB, free: 10.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.732e-05/0.4691, allocations: 136.5 kB / 0.5835 GB, free: 10.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008181/0.4699, allocations: 0.6564 MB / 0.5841 GB, free: 9.953 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.243e-05/0.47, allocations: 33.7 kB / 0.5842 GB, free: 9.914 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00032/0.4703, allocations: 403.6 kB / 0.5846 GB, free: 9.516 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.4704, allocations: 142.8 kB / 0.5847 GB, free: 9.375 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002111/0.4707, allocations: 150.5 kB / 0.5848 GB, free: 9.223 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.4709, allocations: 378.8 kB / 0.5852 GB, free: 8.844 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003588/0.4712, allocations: 197.9 kB / 0.5854 GB, free: 8.652 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005896/0.4718, allocations: 0.4987 MB / 0.5859 GB, free: 8.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009352/0.4728, allocations: 0.7171 MB / 0.5866 GB, free: 7.176 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/0.4728, allocations: 4 kB / 0.5866 GB, free: 7.172 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001641/0.4744, allocations: 0.8878 MB / 0.5874 GB, free: 6.273 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.4745, allocations: 12 kB / 0.5875 GB, free: 6.262 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.4745, allocations: 8 kB / 0.5875 GB, free: 6.254 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/0.4757, allocations: 285.8 kB / 0.5877 GB, free: 5.969 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003735/0.4761, allocations: 119.8 kB / 0.5879 GB, free: 5.852 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.4774, allocations: 1.4 MB / 0.5892 GB, free: 4.402 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004373/0.4778, allocations: 27.98 kB / 0.5892 GB, free: 4.375 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.676e-05/0.4779, allocations: 44 kB / 0.5893 GB, free: 4.332 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.0003593/0.4783, allocations: 244.5 kB / 0.5895 GB, free: 4.086 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.4784, allocations: 75.5 kB / 0.5896 GB, free: 4.012 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/0.48, allocations: 0.7164 MB / 0.5903 GB, free: 3.273 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.48, allocations: 7.938 kB / 0.5903 GB, free: 3.266 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.4801, allocations: 0 / 0.5903 GB, free: 3.266 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.4801, allocations: 3.938 kB / 0.5903 GB, free: 3.262 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001959/0.482, allocations: 1.216 MB / 0.5915 GB, free: 1.973 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.4821, allocations: 0 / 0.5915 GB, free: 1.973 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.4822, allocations: 35.98 kB / 0.5915 GB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008687/0.4831, allocations: 213.5 kB / 0.5917 GB, free: 1.723 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.4831, allocations: 8 kB / 0.5917 GB, free: 1.715 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/0.4843, allocations: 1.296 MB / 0.593 GB, free: 376 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.4843, allocations: 3.938 kB / 0.593 GB, free: 372 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.4856, allocations: 0.8197 MB / 0.5938 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002693/0.4859, allocations: 188.6 kB / 0.594 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.486, allocations: 8 kB / 0.594 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003539/0.4864, allocations: 15.98 kB / 0.594 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.915e-05/0.4865, allocations: 23.97 kB / 0.594 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-05/0.4865, allocations: 23.98 kB / 0.5941 GB, free: 15.23 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005527/0.4871, allocations: 451 kB / 0.5945 GB, free: 14.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4871, allocations: 0 / 0.5945 GB, free: 14.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008362/0.4879, allocations: 259.7 kB / 0.5947 GB, free: 14.55 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.002262/0.4902, allocations: 1.528 MB / 0.5962 GB, free: 12.98 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001145/0.4914, allocations: 0.528 MB / 0.5967 GB, free: 12.46 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.4914, allocations: 4.062 kB / 0.5967 GB, free: 12.45 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005096/0.4919, allocations: 219.7 kB / 0.597 GB, free: 12.24 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001513/0.4934, allocations: 338.1 kB / 0.5973 GB, free: 11.91 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008481/0.5019, allocations: 6.137 MB / 0.6033 GB, free: 5.414 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005947/0.5025, allocations: 0.9342 MB / 0.6042 GB, free: 4.449 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007379/0.5033, allocations: 261.7 kB / 0.6044 GB, free: 4.195 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003206/0.5036, allocations: 223.4 kB / 0.6046 GB, free: 3.98 MB / 462.1 MB Notification: Performance of SimCode: time 8.81e-07/0.5036, allocations: 0 / 0.6046 GB, free: 3.98 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05691/0.5605, allocations: 22.14 MB / 0.6263 GB, free: 14.17 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/14.42, allocations: 15.58 kB / 0.6263 GB, free: 14.16 MB / 494.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1)