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.0008648/0.0008647, allocations: 97.34 kB / 16.96 MB, free: 6.453 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.0009839/0.000984, allocations: 180.3 kB / 17.84 MB, free: 6.004 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.589/1.589, 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.0004619/0.000462, allocations: 12 kB / 280.9 MB, free: 3.629 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1053, allocations: 47.59 MB / 328.5 MB, free: 3.973 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.02696/0.1324, allocations: 22.54 MB / 351 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00357/0.136, allocations: 2.341 MB / 353.4 MB, free: 11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004214/0.1364, allocations: 7.938 kB / 353.4 MB, free: 11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005864/0.137, allocations: 115.3 kB / 353.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000994/0.138, allocations: 306.4 kB / 353.8 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00247/0.1405, allocations: 0.8186 MB / 354.6 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001555/0.1421, allocations: 1.121 MB / 355.7 MB, free: 8.637 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002031/0.1423, allocations: 76.62 kB / 355.8 MB, free: 8.566 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005622/0.1479, allocations: 2.812 MB / 358.6 MB, free: 5.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005728/0.1485, allocations: 278.9 kB / 358.9 MB, free: 5.477 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001213/0.1487, allocations: 12 kB / 358.9 MB, free: 5.465 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006956/0.1494, allocations: 215.6 kB / 359.1 MB, free: 5.254 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.1495, allocations: 71.77 kB / 359.2 MB, free: 5.184 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.1497, allocations: 97.52 kB / 359.3 MB, free: 5.082 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006447/0.1504, allocations: 446.9 kB / 359.7 MB, free: 4.645 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1504, allocations: 0 / 359.7 MB, free: 4.645 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1504, allocations: 4 kB / 359.7 MB, free: 4.641 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.605e-05/0.1504, allocations: 0 / 359.7 MB, free: 4.641 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.001081/0.1515, allocations: 0.5534 MB / 360.3 MB, free: 4.039 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.1516, allocations: 8.031 kB / 360.3 MB, free: 4.031 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001306/0.1517, allocations: 62.53 kB / 360.3 MB, free: 3.961 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004351/0.1521, allocations: 47.61 kB / 360.4 MB, free: 3.914 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004747/0.1526, allocations: 290.4 kB / 360.7 MB, free: 3.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.133e-05/0.1527, allocations: 32.45 kB / 360.7 MB, free: 3.559 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.569e-05/0.1527, allocations: 24 kB / 360.7 MB, free: 3.535 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000651/0.1534, allocations: 326.2 kB / 361 MB, free: 3.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.1534, allocations: 0 / 361 MB, free: 3.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.676e-05/0.1534, allocations: 12 kB / 361 MB, free: 3.168 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.1535, allocations: 8 kB / 361 MB, free: 3.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000328/0.1538, allocations: 193.5 kB / 361.2 MB, free: 2.969 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.002332/0.1561, allocations: 2.115 MB / 363.4 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003121/0.1565, allocations: 182.6 kB / 363.5 MB, free: 452 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.1566, allocations: 84.78 kB / 363.6 MB, free: 364 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001848/0.1568, allocations: 255.5 kB / 363.9 MB, free: 52 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.1568, allocations: 38.56 kB / 363.9 MB, free: 4 kB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.693e-06/0.1569, allocations: 0 / 363.9 MB, free: 4 kB / 302.1 MB Notification: Performance of matching and sorting (n=30): time 0.002634/0.1595, allocations: 1.019 MB / 364.9 MB, free: 14.91 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.1596, allocations: 51.41 kB / 365 MB, free: 14.84 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003878/0.1599, allocations: 274.4 kB / 365.2 MB, free: 14.57 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.45e-05/0.16, allocations: 29.7 kB / 365.3 MB, free: 14.53 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.1601, allocations: 188.1 kB / 365.5 MB, free: 14.35 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.902e-05/0.1602, allocations: 98.56 kB / 365.5 MB, free: 14.25 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.399e-05/0.1602, allocations: 4 kB / 365.6 MB, free: 14.25 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1604, allocations: 342.8 kB / 365.9 MB, free: 13.9 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.1605, allocations: 88.7 kB / 366 MB, free: 13.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.1608, allocations: 174.8 kB / 366.1 MB, free: 13.61 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.161, allocations: 104 kB / 366.2 MB, free: 13.51 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.161, allocations: 4 kB / 366.2 MB, free: 13.51 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005739/0.1615, allocations: 381.4 kB / 366.6 MB, free: 13.12 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.1616, allocations: 4 kB / 366.6 MB, free: 13.12 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.1616, allocations: 4 kB / 366.6 MB, free: 13.12 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004585/0.1621, allocations: 97.11 kB / 366.7 MB, free: 13.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.1623, allocations: 71.83 kB / 366.8 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005742/0.1629, allocations: 0.6499 MB / 367.4 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.1631, allocations: 19.98 kB / 367.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/0.1631, allocations: 20.06 kB / 367.5 MB, free: 12.23 MB / 318.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.0001611/0.1633, allocations: 153.7 kB / 367.6 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.975e-05/0.1634, allocations: 27.72 kB / 367.7 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007146/0.1641, allocations: 380.8 kB / 368 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.1641, allocations: 3.953 kB / 368 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1641, allocations: 0 / 368 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005109/0.1646, allocations: 0.5553 MB / 368.6 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.1657, allocations: 0.7431 MB / 369.3 MB, free: 10.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.1658, allocations: 0 / 369.3 MB, free: 10.19 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.1659, allocations: 35.97 kB / 369.4 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005411/0.1664, allocations: 108.7 kB / 369.5 MB, free: 10.04 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.477e-05/0.1665, allocations: 11.94 kB / 369.5 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005143/0.167, allocations: 0.6343 MB / 370.1 MB, free: 9.371 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.167, allocations: 4.062 kB / 370.1 MB, free: 9.367 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006949/0.1677, allocations: 477.5 kB / 370.6 MB, free: 8.875 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.1678, allocations: 108.8 kB / 370.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.008e-05/0.1679, allocations: 8 kB / 370.7 MB, free: 8.742 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.1681, allocations: 27.92 kB / 370.7 MB, free: 8.715 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.1682, allocations: 19.94 kB / 370.8 MB, free: 8.695 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/0.1682, allocations: 11.98 kB / 370.8 MB, free: 8.684 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002959/0.1685, allocations: 201.9 kB / 371 MB, free: 8.488 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1685, allocations: 0 / 371 MB, free: 8.488 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004376/0.169, allocations: 108 kB / 371.1 MB, free: 8.383 MB / 318.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.001103/0.1701, allocations: 1.054 MB / 372.1 MB, free: 7.293 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006039/0.1707, allocations: 239.7 kB / 372.4 MB, free: 7.059 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.1707, allocations: 4 kB / 372.4 MB, free: 7.055 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002608/0.171, allocations: 123.7 kB / 372.5 MB, free: 6.934 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009194/0.1719, allocations: 157.5 kB / 372.6 MB, free: 6.781 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002664/0.1746, allocations: 1.8 MB / 374.4 MB, free: 4.902 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000464/0.1751, allocations: 0.7686 MB / 375.2 MB, free: 4.109 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003159/0.1754, allocations: 71.2 kB / 375.3 MB, free: 4.039 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.1755, allocations: 91.41 kB / 375.4 MB, free: 3.949 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1755, allocations: 0 / 375.4 MB, free: 3.949 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2031/0.3787, allocations: 9.268 MB / 384.6 MB, free: 54.03 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001457/0.3789, allocations: 239.9 kB / 384.9 MB, free: 53.79 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.101/2.479, allocations: 0 / 384.9 MB, free: 53.79 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