Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_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.001379/0.001379, allocations: 94.97 kB / 16.93 MB, free: 5.984 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.001502/0.001502, allocations: 179.4 kB / 17.82 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.588/1.588, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.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.000551/0.000551, allocations: 16 kB / 280.9 MB, free: 3.625 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1127, allocations: 47.57 MB / 328.4 MB, free: 3.984 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.01708/0.1299, allocations: 14.2 MB / 342.6 MB, free: 5.734 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002378/0.1323, allocations: 1.636 MB / 344.3 MB, free: 4.098 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001979/0.1325, allocations: 3.938 kB / 344.3 MB, free: 4.094 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005619/0.1331, allocations: 135.3 kB / 344.4 MB, free: 3.961 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005247/0.1336, allocations: 207.4 kB / 344.6 MB, free: 3.758 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002466/0.1361, allocations: 0.8185 MB / 345.4 MB, free: 2.938 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007583/0.1369, allocations: 486.9 kB / 345.9 MB, free: 2.461 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003208/0.1372, allocations: 80.66 kB / 346 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004314/0.1416, allocations: 2.492 MB / 348.5 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000448/0.142, allocations: 167.3 kB / 348.6 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.458e-05/0.1421, allocations: 12 kB / 348.6 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006188/0.1427, allocations: 219.7 kB / 348.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.1428, allocations: 71.78 kB / 348.9 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.1429, allocations: 101.5 kB / 349 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005143/0.1435, allocations: 435.2 kB / 349.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.1435, allocations: 0 / 349.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1435, allocations: 0 / 349.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.1435, allocations: 0 / 349.4 MB, free: 14.89 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001037/0.1445, allocations: 0.5573 MB / 350 MB, free: 14.29 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.1446, allocations: 15.97 kB / 350 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.391e-05/0.1447, allocations: 58.55 kB / 350.1 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003925/0.1451, allocations: 47.61 kB / 350.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004248/0.1455, allocations: 294.3 kB / 350.4 MB, free: 13.83 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.1456, allocations: 20.52 kB / 350.4 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.116e-05/0.1456, allocations: 24 kB / 350.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005512/0.1462, allocations: 330.2 kB / 350.8 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.1462, allocations: 0 / 350.8 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.926e-05/0.1462, allocations: 12 kB / 350.8 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/0.1463, allocations: 8 kB / 350.8 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004195/0.1467, allocations: 189.5 kB / 351 MB, free: 13.22 MB / 302.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.002252/0.149, allocations: 2.115 MB / 353.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003701/0.1494, allocations: 190.5 kB / 353.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000201/0.1496, allocations: 247.5 kB / 353.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.1497, allocations: 42.52 kB / 353.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.683e-06/0.1497, allocations: 0 / 353.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=30): time 0.002619/0.1523, allocations: 1.008 MB / 354.6 MB, free: 9.258 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.1524, allocations: 59.41 kB / 354.6 MB, free: 9.188 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/0.1526, allocations: 266.5 kB / 354.9 MB, free: 8.922 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.1527, allocations: 41.64 kB / 354.9 MB, free: 8.875 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.1528, allocations: 184.1 kB / 355.1 MB, free: 8.691 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.402e-05/0.1529, allocations: 98.56 kB / 355.2 MB, free: 8.594 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-05/0.1529, allocations: 4 kB / 355.2 MB, free: 8.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1531, allocations: 342.8 kB / 355.5 MB, free: 8.246 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.1532, allocations: 84.7 kB / 355.6 MB, free: 8.164 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.1535, allocations: 166.8 kB / 355.8 MB, free: 7.969 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003079/0.1538, allocations: 112 kB / 355.9 MB, free: 7.859 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1538, allocations: 0 / 355.9 MB, free: 7.859 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005794/0.1544, allocations: 381.7 kB / 356.3 MB, free: 7.477 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1544, allocations: 11.94 kB / 356.3 MB, free: 7.465 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1544, allocations: 0 / 356.3 MB, free: 7.465 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004084/0.1548, allocations: 100.7 kB / 356.4 MB, free: 7.363 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/0.1551, allocations: 67.91 kB / 356.4 MB, free: 7.297 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000565/0.1556, allocations: 0.6616 MB / 357.1 MB, free: 6.609 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.1559, allocations: 12 kB / 357.1 MB, free: 6.598 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.485e-05/0.1559, allocations: 19.98 kB / 357.1 MB, free: 6.578 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0003294/0.1563, allocations: 153.7 kB / 357.3 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.244e-05/0.1563, allocations: 27.72 kB / 357.3 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000631/0.157, allocations: 373 kB / 357.7 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.157, allocations: 4 kB / 357.7 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/0.157, allocations: 3.953 kB / 357.7 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005538/0.1576, allocations: 0.5591 MB / 358.2 MB, free: 5.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.1588, allocations: 0.7394 MB / 359 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.1588, allocations: 4 kB / 359 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.159, allocations: 27.98 kB / 359 MB, free: 4.504 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004635/0.1594, allocations: 108.6 kB / 359.1 MB, free: 4.395 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.1595, allocations: 8 kB / 359.1 MB, free: 4.387 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005026/0.16, allocations: 0.6421 MB / 359.8 MB, free: 3.719 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.16, allocations: 0 / 359.8 MB, free: 3.719 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008491/0.1608, allocations: 0.4974 MB / 360.3 MB, free: 3.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.945e-05/0.1609, allocations: 108.8 kB / 360.4 MB, free: 3.055 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.996e-05/0.161, allocations: 8 kB / 360.4 MB, free: 3.047 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/0.1612, allocations: 19.88 kB / 360.4 MB, free: 3.027 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.1613, allocations: 15.97 kB / 360.4 MB, free: 3.012 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.071e-05/0.1613, allocations: 24.05 kB / 360.4 MB, free: 2.988 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002087/0.1615, allocations: 194 kB / 360.6 MB, free: 2.797 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1616, allocations: 0 / 360.6 MB, free: 2.797 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004824/0.162, allocations: 112 kB / 360.7 MB, free: 2.688 MB / 302.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 (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001471/0.1635, allocations: 1.219 MB / 362 MB, free: 1.426 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005293/0.1641, allocations: 232.5 kB / 362.2 MB, free: 1.199 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.1641, allocations: 4 kB / 362.2 MB, free: 1.195 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002711/0.1644, allocations: 127.6 kB / 362.3 MB, free: 1.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008707/0.1652, allocations: 164.4 kB / 362.5 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003639/0.1689, allocations: 3.313 MB / 365.8 MB, free: 13.51 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.1693, allocations: 0.7685 MB / 366.6 MB, free: 12.72 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002992/0.1696, allocations: 63.28 kB / 366.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.1697, allocations: 91.41 kB / 366.7 MB, free: 12.57 MB / 318.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1698, allocations: 0 / 366.7 MB, free: 12.57 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0261/0.1959, allocations: 9.255 MB / 376 MB, free: 3.305 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/0.1961, allocations: 237.3 kB / 376.2 MB, free: 3.059 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.968/2.164, allocations: 0 / 376.2 MB, free: 3.059 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat