Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestBellJarLinearControl.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/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/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.TestBellJarLinearControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestBellJarLinearControl") translateModel(MEV.Test.TestBellJarLinearControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestBellJarLinearControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001631/0.001631, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.2/1.2, allocations: 205.1 MB / 223.2 MB, free: 12.11 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007602/0.007602, allocations: 1.939 MB / 272.5 MB, free: 10.05 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.001404/0.001404, allocations: 75.88 kB / 331.3 MB, free: 15.16 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1756, allocations: 47.11 MB / 378.4 MB, free: 53.14 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.003593/0.1792, allocations: 3.665 MB / 382.1 MB, free: 51.64 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.1803, allocations: 0.9008 MB / 383 MB, free: 51.36 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001604/0.1805, allocations: 7.625 kB / 383 MB, free: 51.36 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.1807, allocations: 67.73 kB / 383 MB, free: 51.36 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002298/0.1809, allocations: 146.4 kB / 383.2 MB, free: 51.33 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.1812, allocations: 131.3 kB / 383.3 MB, free: 51.3 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004201/0.1816, allocations: 0.5564 MB / 383.9 MB, free: 51.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000234/0.1819, allocations: 180 kB / 384 MB, free: 50.95 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.1821, allocations: 198.4 kB / 384.2 MB, free: 50.85 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.1823, allocations: 216.2 kB / 384.4 MB, free: 50.74 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.9e-05/0.1823, allocations: 46.16 kB / 384.5 MB, free: 50.74 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.1825, allocations: 55.61 kB / 384.5 MB, free: 50.74 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.635e-05/0.1825, allocations: 95.28 kB / 384.6 MB, free: 50.67 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.1827, allocations: 245.5 kB / 384.9 MB, free: 50.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004229/0.1831, allocations: 0.5031 MB / 385.4 MB, free: 50.3 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1832, allocations: 0 / 385.4 MB, free: 50.3 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1832, allocations: 2.656 kB / 385.4 MB, free: 50.3 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.293e-06/0.1832, allocations: 1.984 kB / 385.4 MB, free: 50.3 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001111/0.1843, allocations: 0.7657 MB / 386.2 MB, free: 49.7 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.1843, allocations: 14.31 kB / 386.2 MB, free: 49.69 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.181e-05/0.1844, allocations: 48.62 kB / 386.2 MB, free: 49.67 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.1848, allocations: 332.6 kB / 386.5 MB, free: 49.38 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.1848, allocations: 29.72 kB / 386.6 MB, free: 49.37 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.971e-05/0.1849, allocations: 46.7 kB / 386.6 MB, free: 49.35 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005671/0.1854, allocations: 337.7 kB / 386.9 MB, free: 49.2 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.1855, allocations: 2.672 kB / 386.9 MB, free: 49.2 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.137e-05/0.1855, allocations: 15.34 kB / 387 MB, free: 49.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.1855, allocations: 8.688 kB / 387 MB, free: 49.18 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005358/0.1861, allocations: 257.4 kB / 387.2 MB, free: 49.1 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.1876, allocations: 1.119 MB / 388.3 MB, free: 48.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005275/0.1882, allocations: 272 kB / 388.6 MB, free: 48.3 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002336/0.1884, allocations: 124.2 kB / 388.7 MB, free: 48.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.1885, allocations: 7.484 kB / 388.7 MB, free: 48.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003214/0.1888, allocations: 164.6 kB / 388.9 MB, free: 48.17 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.994e-06/0.1888, allocations: 0 / 388.9 MB, free: 48.17 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.002095/0.1909, allocations: 1.217 MB / 390.1 MB, free: 47.38 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.1909, allocations: 56.23 kB / 390.2 MB, free: 47.32 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002962/0.1912, allocations: 353.4 kB / 390.5 MB, free: 47.12 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.1913, allocations: 31.48 kB / 390.5 MB, free: 47.09 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.609e-05/0.1914, allocations: 213.1 kB / 390.8 MB, free: 46.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.228e-05/0.1914, allocations: 119 kB / 390.9 MB, free: 46.82 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.1916, allocations: 71.86 kB / 390.9 MB, free: 46.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.696e-05/0.1916, allocations: 345.5 kB / 391.3 MB, free: 46.45 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.1919, allocations: 116.1 kB / 391.4 MB, free: 46.4 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.1921, allocations: 165.2 kB / 391.6 MB, free: 46.31 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004613/0.1926, allocations: 296 kB / 391.8 MB, free: 46.14 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1926, allocations: 1.25 kB / 391.8 MB, free: 46.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006322/0.1932, allocations: 400.5 kB / 392.2 MB, free: 45.95 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.1933, allocations: 32.81 kB / 392.3 MB, free: 45.92 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1933, allocations: 1.188 kB / 392.3 MB, free: 45.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1933, allocations: 2.812 kB / 392.3 MB, free: 45.92 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003847/0.1937, allocations: 80.73 kB / 392.3 MB, free: 45.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.1937, allocations: 8.516 kB / 392.4 MB, free: 45.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.194, allocations: 23.67 kB / 392.4 MB, free: 45.9 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.194, allocations: 13.45 kB / 392.4 MB, free: 45.89 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003076/0.1943, allocations: 227.2 kB / 392.6 MB, free: 45.75 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000253/0.1946, allocations: 150.2 kB / 392.8 MB, free: 45.68 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004387/0.195, allocations: 287.2 kB / 393 MB, free: 45.52 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-06/0.195, allocations: 0 / 393 MB, free: 45.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0006149/0.1956, allocations: 388.9 kB / 393.4 MB, free: 45.33 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.1957, allocations: 41.41 kB / 393.5 MB, free: 45.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.1957, allocations: 3.469 kB / 393.5 MB, free: 45.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.757e-06/0.1957, allocations: 6.312 kB / 393.5 MB, free: 45.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003406/0.196, allocations: 81.52 kB / 393.5 MB, free: 45.28 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1961, allocations: 5.453 kB / 393.6 MB, free: 45.28 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.1963, allocations: 19.25 kB / 393.6 MB, free: 45.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.1963, allocations: 18.38 kB / 393.6 MB, free: 45.27 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (opening.count,$PRE.opening.count,opening.T_start,$PRE.opening.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * 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 7.866e-05/0.1964, allocations: 197.2 kB / 393.8 MB, free: 45.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.558e-05/0.1964, allocations: 37.52 kB / 393.8 MB, free: 45.05 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005923/0.197, allocations: 324.2 kB / 394.1 MB, free: 44.91 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1971, allocations: 4.594 kB / 394.1 MB, free: 44.91 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1971, allocations: 1.25 kB / 394.1 MB, free: 44.91 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.1971, allocations: 6.281 kB / 394.1 MB, free: 44.91 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.1982, allocations: 0.8765 MB / 395 MB, free: 44.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1982, allocations: 0 / 395 MB, free: 44.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003895/0.1986, allocations: 77.03 kB / 395.1 MB, free: 44.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1986, allocations: 1.719 kB / 395.1 MB, free: 44.34 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.1987, allocations: 13.78 kB / 395.1 MB, free: 44.33 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.1987, allocations: 2.375 kB / 395.1 MB, free: 44.33 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1987, allocations: 5.953 kB / 395.1 MB, free: 44.33 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007874/0.1995, allocations: 0.5591 MB / 395.7 MB, free: 44 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.1996, allocations: 150.7 kB / 395.8 MB, free: 43.86 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.312e-05/0.1997, allocations: 7.969 kB / 395.8 MB, free: 43.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.1999, allocations: 20.59 kB / 395.9 MB, free: 43.85 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.443e-05/0.2, allocations: 30.03 kB / 395.9 MB, free: 43.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.2, allocations: 15.62 kB / 395.9 MB, free: 43.84 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002086/0.2003, allocations: 243.2 kB / 396.1 MB, free: 43.71 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2003, allocations: 0 / 396.1 MB, free: 43.71 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004922/0.2008, allocations: 151.4 kB / 396.3 MB, free: 43.7 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (controller.firstOrder.y,bellJar.cylinder.M,bellJar.damper.s_rel,bellJar.damper.v_rel) * Number of discrete variables: 3 ($whenCondition1,opening.T_start,opening.count) * Number of discrete states: 1 (opening.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 0.0001022/0.2009, allocations: 108.8 kB / 396.4 MB, free: 43.59 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008667/0.2017, allocations: 0.5475 MB / 396.9 MB, free: 43.33 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2018, allocations: 0 / 396.9 MB, free: 43.33 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002775/0.202, allocations: 154.5 kB / 397.1 MB, free: 43.28 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004862/0.2025, allocations: 70.89 kB / 397.2 MB, free: 43.25 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.204, allocations: 0.9697 MB / 398.1 MB, free: 42.66 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.2042, allocations: 0.8122 MB / 398.9 MB, free: 41.96 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000182/0.2044, allocations: 47.39 kB / 399 MB, free: 41.95 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.369e-05/0.2045, allocations: 29.47 kB / 399 MB, free: 41.95 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2045, allocations: 1.125 kB / 399 MB, free: 41.95 MB / 318.1 MB Notification: Performance of Templates: time 0.007577/0.2121, allocations: 4.225 MB / 403.2 MB, free: 40.77 MB / 318.1 MB make -j1 -f MEV_MEV.Test.TestBellJarLinearControl.makefile (rm -f MEV_MEV.Test.TestBellJarLinearControl.pipe ; mkfifo MEV_MEV.Test.TestBellJarLinearControl.pipe ; head -c 1048576 < MEV_MEV.Test.TestBellJarLinearControl.pipe >> ../files/MEV_MEV.Test.TestBellJarLinearControl.sim & ./MEV_MEV.Test.TestBellJarLinearControl -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > MEV_MEV.Test.TestBellJarLinearControl.pipe 2>&1)