Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestSupplyValve.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo) 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: translateModel(MEV.Test.TestSupplyValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestSupplyValve") translateModel(MEV.Test.TestSupplyValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestSupplyValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 98.67 kB / 16.18 MB, free: 6.348 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.00162/0.00162, allocations: 180.1 kB / 17.11 MB, free: 5.957 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.196/1.196, allocations: 205.1 MB / 223 MB, free: 12.35 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.007615/0.007615, allocations: 1.935 MB / 272.3 MB, free: 10.2 MB / 222.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.001236/0.001236, allocations: 67.91 kB / 330.4 MB, free: 40 kB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06616/0.0674, allocations: 47.12 MB / 377.5 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.1177/0.1851, allocations: 1.948 MB / 379.4 MB, free: 52.24 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006854/0.1858, allocations: 0.5747 MB / 380 MB, free: 52.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.235e-05/0.1859, allocations: 1.094 kB / 380 MB, free: 52.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.455e-05/0.1859, allocations: 19.27 kB / 380 MB, free: 52.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.1861, allocations: 42.89 kB / 380.1 MB, free: 52.01 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001665/0.1862, allocations: 38.44 kB / 380.1 MB, free: 52.01 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.1864, allocations: 138.5 kB / 380.2 MB, free: 52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.1865, allocations: 35.41 kB / 380.3 MB, free: 52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.9e-05/0.1866, allocations: 47.55 kB / 380.3 MB, free: 51.99 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.013e-05/0.1867, allocations: 55.16 kB / 380.4 MB, free: 51.97 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.1867, allocations: 8.156 kB / 380.4 MB, free: 51.97 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.911e-05/0.1867, allocations: 21.67 kB / 380.4 MB, free: 51.97 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.06e-05/0.1868, allocations: 22.3 kB / 380.4 MB, free: 51.97 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.721e-05/0.1868, allocations: 64.06 kB / 380.5 MB, free: 51.95 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.187, allocations: 109.1 kB / 380.6 MB, free: 51.92 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.187, allocations: 0 / 380.6 MB, free: 51.92 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.187, allocations: 0 / 380.6 MB, free: 51.92 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.187, allocations: 1.281 kB / 380.6 MB, free: 51.92 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004293/0.1874, allocations: 422.1 kB / 381 MB, free: 51.54 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.1875, allocations: 13.45 kB / 381 MB, free: 51.53 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.1875, allocations: 14.91 kB / 381 MB, free: 51.52 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.1877, allocations: 200 kB / 381.2 MB, free: 51.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.304e-06/0.1877, allocations: 6.875 kB / 381.2 MB, free: 51.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.1877, allocations: 4.812 kB / 381.2 MB, free: 51.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.1879, allocations: 91.95 kB / 381.3 MB, free: 51.28 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1879, allocations: 2.969 kB / 381.3 MB, free: 51.28 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.1879, allocations: 3.75 kB / 381.3 MB, free: 51.28 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1879, allocations: 2.188 kB / 381.3 MB, free: 51.28 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.188, allocations: 62.22 kB / 381.4 MB, free: 51.28 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004305/0.1885, allocations: 390.6 kB / 381.8 MB, free: 50.99 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000408/0.1889, allocations: 68.06 kB / 381.8 MB, free: 50.97 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.489e-05/0.189, allocations: 24.11 kB / 381.9 MB, free: 50.96 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.189, allocations: 4.5 kB / 381.9 MB, free: 50.96 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.003e-05/0.189, allocations: 31.12 kB / 381.9 MB, free: 50.92 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.189, allocations: 1.438 kB / 381.9 MB, free: 50.92 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002352/0.1893, allocations: 89.42 kB / 382 MB, free: 50.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.804e-05/0.1893, allocations: 58.88 kB / 382 MB, free: 50.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.1894, allocations: 182.5 kB / 382.2 MB, free: 50.72 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.834e-06/0.1894, allocations: 26.7 kB / 382.2 MB, free: 50.69 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.997e-05/0.1895, allocations: 113.6 kB / 382.4 MB, free: 50.59 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.021e-05/0.1895, allocations: 14.14 kB / 382.4 MB, free: 50.59 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.1895, allocations: 21.08 kB / 382.4 MB, free: 50.57 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.681e-05/0.1896, allocations: 319.2 kB / 382.7 MB, free: 50.26 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.114e-05/0.1896, allocations: 26.75 kB / 382.7 MB, free: 50.25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.053e-05/0.1897, allocations: 20.48 kB / 382.8 MB, free: 50.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.1898, allocations: 46.5 kB / 382.8 MB, free: 50.24 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1898, allocations: 0.5 kB / 382.8 MB, free: 50.24 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001538/0.19, allocations: 88.88 kB / 382.9 MB, free: 50.21 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.19, allocations: 6.656 kB / 382.9 MB, free: 50.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.19, allocations: 5.344 kB / 382.9 MB, free: 50.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.19, allocations: 0 / 382.9 MB, free: 50.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.588e-05/0.1901, allocations: 11.83 kB / 382.9 MB, free: 50.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.1901, allocations: 0.7031 kB / 382.9 MB, free: 50.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.552e-05/0.1902, allocations: 16.84 kB / 382.9 MB, free: 50.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.1902, allocations: 1.812 kB / 382.9 MB, free: 50.2 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.208e-05/0.1903, allocations: 106.5 kB / 383 MB, free: 50.11 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.219e-05/0.1903, allocations: 17.41 kB / 383 MB, free: 50.11 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.207e-05/0.1904, allocations: 40.09 kB / 383.1 MB, free: 50.11 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.92e-07/0.1904, allocations: 3.375 kB / 383.1 MB, free: 50.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001296/0.1906, allocations: 77.83 kB / 383.2 MB, free: 50.07 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.723e-06/0.1906, allocations: 4.156 kB / 383.2 MB, free: 50.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-06/0.1906, allocations: 9.375 kB / 383.2 MB, free: 50.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-06/0.1906, allocations: 4.75 kB / 383.2 MB, free: 50.06 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.662e-05/0.1907, allocations: 11.69 kB / 383.2 MB, free: 50.06 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-06/0.1907, allocations: 0 / 383.2 MB, free: 50.06 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.334e-05/0.1907, allocations: 8.797 kB / 383.2 MB, free: 50.06 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.1907, allocations: 1.312 kB / 383.2 MB, free: 50.06 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.038e-05/0.1908, allocations: 182.5 kB / 383.4 MB, free: 49.88 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.1908, allocations: 13.19 kB / 383.4 MB, free: 49.88 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001646/0.191, allocations: 91.02 kB / 383.5 MB, free: 49.83 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.191, allocations: 2.031 kB / 383.5 MB, free: 49.83 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.191, allocations: 0 / 383.5 MB, free: 49.83 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.191, allocations: 0.7031 kB / 383.5 MB, free: 49.83 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002893/0.1913, allocations: 350.2 kB / 383.8 MB, free: 49.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1913, allocations: 0 / 383.8 MB, free: 49.53 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.941e-05/0.1914, allocations: 8.422 kB / 383.8 MB, free: 49.53 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1914, allocations: 1.469 kB / 383.8 MB, free: 49.53 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.1914, allocations: 6.328 kB / 383.8 MB, free: 49.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1914, allocations: 0 / 383.8 MB, free: 49.52 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1914, allocations: 3.25 kB / 383.8 MB, free: 49.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.1916, allocations: 183.6 kB / 384 MB, free: 49.38 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.227e-05/0.1916, allocations: 92.72 kB / 384.1 MB, free: 49.28 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.1916, allocations: 4.688 kB / 384.1 MB, free: 49.28 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.617e-05/0.1917, allocations: 7.172 kB / 384.1 MB, free: 49.27 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.77e-05/0.1918, allocations: 3.141 kB / 384.1 MB, free: 49.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.1918, allocations: 3.391 kB / 384.1 MB, free: 49.27 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.617e-05/0.1919, allocations: 142 kB / 384.3 MB, free: 49.2 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1919, allocations: 0 / 384.3 MB, free: 49.2 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003119/0.1922, allocations: 38.59 kB / 384.3 MB, free: 49.19 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.428e-05/0.1923, allocations: 99.03 kB / 384.4 MB, free: 49.1 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001967/0.1925, allocations: 71.08 kB / 384.5 MB, free: 49.1 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1925, allocations: 1.219 kB / 384.5 MB, free: 49.1 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.995e-05/0.1925, allocations: 19.83 kB / 384.5 MB, free: 49.1 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.1928, allocations: 20.91 kB / 384.5 MB, free: 49.09 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003751/0.1932, allocations: 261.9 kB / 384.8 MB, free: 48.92 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.1933, allocations: 0.7051 MB / 385.5 MB, free: 48.22 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.69e-05/0.1934, allocations: 18.8 kB / 385.5 MB, free: 48.21 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.707e-05/0.1934, allocations: 12.8 kB / 385.5 MB, free: 48.2 MB / 318.1 MB Notification: Performance of SimCode: time 2e-07/0.1934, allocations: 2.438 kB / 385.5 MB, free: 48.2 MB / 318.1 MB Notification: Performance of Templates: time 0.003004/0.1964, allocations: 1.009 MB / 386.5 MB, free: 48.15 MB / 318.1 MB make -j1 -f MEV_MEV.Test.TestSupplyValve.makefile (rm -f MEV_MEV.Test.TestSupplyValve.pipe ; mkfifo MEV_MEV.Test.TestSupplyValve.pipe ; head -c 1048576 < MEV_MEV.Test.TestSupplyValve.pipe >> ../files/MEV_MEV.Test.TestSupplyValve.sim & ./MEV_MEV.Test.TestSupplyValve -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > MEV_MEV.Test.TestSupplyValve.pipe 2>&1)