Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.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) 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(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001202/0.001202, allocations: 97.27 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001024/0.001024, allocations: 205.4 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002806/0.000281, allocations: 11.98 kB / 306.7 MB, free: 1.266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.142, allocations: 51.48 MB / 358.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.009802/0.1518, allocations: 3.573 MB / 361.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.1535, allocations: 0.5223 MB / 362.3 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.726e-05/0.1537, allocations: 0 / 362.3 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003242/0.154, allocations: 27.83 kB / 362.3 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002435/0.1565, allocations: 0.5065 MB / 362.8 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005032/0.157, allocations: 83.58 kB / 362.9 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003613/0.1574, allocations: 115.8 kB / 363 MB, free: 8.934 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.844e-05/0.1575, allocations: 4 kB / 363 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002281/0.1598, allocations: 0.6359 MB / 363.7 MB, free: 8.293 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.16, allocations: 43.84 kB / 363.7 MB, free: 8.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.186e-05/0.16, allocations: 4 kB / 363.7 MB, free: 8.246 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002988/0.163, allocations: 0.8934 MB / 364.6 MB, free: 7.352 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.642e-05/0.1631, allocations: 19.97 kB / 364.6 MB, free: 7.332 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.567e-05/0.1632, allocations: 37.64 kB / 364.6 MB, free: 7.289 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007389/0.164, allocations: 179.8 kB / 364.8 MB, free: 7.113 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.164, allocations: 0 / 364.8 MB, free: 7.113 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.164, allocations: 4 kB / 364.8 MB, free: 7.109 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.164, allocations: 0 / 364.8 MB, free: 7.109 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007547/0.1648, allocations: 403.7 kB / 365.2 MB, free: 6.668 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/0.1649, allocations: 8.031 kB / 365.2 MB, free: 6.66 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.228e-05/0.165, allocations: 42.55 kB / 365.3 MB, free: 6.609 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000844/0.1658, allocations: 39.88 kB / 365.3 MB, free: 6.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.1661, allocations: 194.8 kB / 365.5 MB, free: 6.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.1662, allocations: 11.95 kB / 365.5 MB, free: 6.328 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.845e-05/0.1663, allocations: 8 kB / 365.5 MB, free: 6.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004732/0.1668, allocations: 135.4 kB / 365.7 MB, free: 6.172 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1668, allocations: 0 / 365.7 MB, free: 6.172 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.841e-05/0.1668, allocations: 4 kB / 365.7 MB, free: 6.168 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.1669, allocations: 8 kB / 365.7 MB, free: 6.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002963/0.1672, allocations: 111.8 kB / 365.8 MB, free: 6.051 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.0007458/0.1679, allocations: 0.6645 MB / 366.4 MB, free: 5.312 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.1681, allocations: 90.48 kB / 366.5 MB, free: 5.215 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008319/0.1689, allocations: 0.8076 MB / 367.3 MB, free: 4.223 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.169, allocations: 34.52 kB / 367.4 MB, free: 4.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.169, allocations: 0 / 367.4 MB, free: 4.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002825/0.1693, allocations: 130 kB / 367.5 MB, free: 4.047 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.1693, allocations: 55.41 kB / 367.5 MB, free: 3.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.1694, allocations: 114 kB / 367.7 MB, free: 3.859 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.1695, allocations: 33.7 kB / 367.7 MB, free: 3.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.064e-05/0.1696, allocations: 99.89 kB / 367.8 MB, free: 3.719 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.54e-05/0.1696, allocations: 43.34 kB / 367.8 MB, free: 3.676 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.022e-05/0.1696, allocations: 8 kB / 367.8 MB, free: 3.668 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1698, allocations: 318.8 kB / 368.2 MB, free: 3.348 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.917e-05/0.1698, allocations: 28.36 kB / 368.2 MB, free: 3.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.194e-05/0.1699, allocations: 65.14 kB / 368.2 MB, free: 3.238 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.731e-05/0.17, allocations: 35.98 kB / 368.3 MB, free: 3.203 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.17, allocations: 0 / 368.3 MB, free: 3.203 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002159/0.1702, allocations: 137.3 kB / 368.4 MB, free: 3.066 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.1702, allocations: 18.64 kB / 368.4 MB, free: 3.051 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.1703, allocations: 3.953 kB / 368.4 MB, free: 3.047 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.1703, allocations: 4 kB / 368.4 MB, free: 3.043 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.1704, allocations: 31.92 kB / 368.5 MB, free: 3.012 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1704, allocations: 3.938 kB / 368.5 MB, free: 3.008 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.31e-05/0.1705, allocations: 15.84 kB / 368.5 MB, free: 2.992 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.1705, allocations: 8 kB / 368.5 MB, free: 2.984 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 18 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.336e-05/0.1706, allocations: 121.8 kB / 368.6 MB, free: 2.855 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.1707, allocations: 7.906 kB / 368.6 MB, free: 2.848 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003147/0.171, allocations: 150.2 kB / 368.8 MB, free: 2.691 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.171, allocations: 3.953 kB / 368.8 MB, free: 2.688 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.171, allocations: 0 / 368.8 MB, free: 2.688 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.171, allocations: 0 / 368.8 MB, free: 2.688 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006142/0.1716, allocations: 390.4 kB / 369.2 MB, free: 2.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1716, allocations: 4 kB / 369.2 MB, free: 2.246 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.344e-05/0.1717, allocations: 19.98 kB / 369.2 MB, free: 2.227 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.1717, allocations: 7.938 kB / 369.2 MB, free: 2.219 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.1717, allocations: 4 kB / 369.2 MB, free: 2.215 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.1718, allocations: 3.984 kB / 369.2 MB, free: 2.211 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1718, allocations: 0 / 369.2 MB, free: 2.211 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.172, allocations: 207.4 kB / 369.4 MB, free: 1.992 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.264e-05/0.172, allocations: 96.98 kB / 369.5 MB, free: 1.879 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.1721, allocations: 3.953 kB / 369.5 MB, free: 1.875 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.1722, allocations: 12 kB / 369.5 MB, free: 1.863 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.262e-05/0.1722, allocations: 7.984 kB / 369.5 MB, free: 1.855 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.1722, allocations: 4 kB / 369.5 MB, free: 1.852 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.465e-05/0.1723, allocations: 95.2 kB / 369.6 MB, free: 1.758 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1723, allocations: 0 / 369.6 MB, free: 1.758 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003598/0.1727, allocations: 63.94 kB / 369.7 MB, free: 1.695 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007012/0.1734, allocations: 0.8096 MB / 370.5 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002687/0.1736, allocations: 75.91 kB / 370.6 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.1737, allocations: 0 / 370.6 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.75e-05/0.1738, allocations: 39.92 kB / 370.6 MB, free: 0.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.1741, allocations: 48.22 kB / 370.6 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1883/0.3625, allocations: 1.406 MB / 372.1 MB, free: 19.06 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/0.3627, allocations: 0.7005 MB / 372.8 MB, free: 18.36 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000176/0.3629, allocations: 32.44 kB / 372.8 MB, free: 18.35 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.895e-05/0.363, allocations: 30.94 kB / 372.8 MB, free: 18.34 MB / 302.1 MB Notification: Performance of SimCode: time 7.41e-07/0.363, allocations: 3.828 kB / 372.8 MB, free: 18.34 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01475/0.3777, allocations: 3.561 MB / 376.4 MB, free: 18.07 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001993/0.378, allocations: 179.9 kB / 376.6 MB, free: 17.83 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.867/2.245, allocations: 0 / 376.6 MB, free: 17.83 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat does not exist to compare? outputFormat=mat