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.001224/0.001224, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001099/0.001099, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.15/1.15, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007887/0.007887, allocations: 1.932 MB / 272.4 MB, free: 10.14 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.001446/0.001446, allocations: 67.84 kB / 330.5 MB, free: 15.92 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07036/0.07181, allocations: 47.12 MB / 377.6 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.1147/0.1866, allocations: 3.667 MB / 381.3 MB, free: 51.29 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.188, allocations: 0.8985 MB / 382.2 MB, free: 51 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002542/0.1883, allocations: 5.25 kB / 382.2 MB, free: 51 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001805/0.1885, allocations: 68.73 kB / 382.3 MB, free: 51 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002955/0.1888, allocations: 145.7 kB / 382.4 MB, free: 50.98 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.1891, allocations: 129.1 kB / 382.5 MB, free: 50.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004929/0.1896, allocations: 0.5511 MB / 383.1 MB, free: 50.89 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002554/0.1899, allocations: 173.1 kB / 383.3 MB, free: 50.87 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002388/0.1901, allocations: 199.7 kB / 383.5 MB, free: 50.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002387/0.1904, allocations: 225.8 kB / 383.7 MB, free: 50.76 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.746e-05/0.1905, allocations: 45.81 kB / 383.7 MB, free: 50.76 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.1906, allocations: 53.72 kB / 383.8 MB, free: 50.76 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.065e-05/0.1907, allocations: 95.48 kB / 383.9 MB, free: 50.71 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.1909, allocations: 244 kB / 384.1 MB, free: 50.56 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004469/0.1913, allocations: 0.4943 MB / 384.6 MB, free: 50.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1913, allocations: 1.312 kB / 384.6 MB, free: 50.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1913, allocations: 0 / 384.6 MB, free: 50.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.1914, allocations: 0 / 384.6 MB, free: 50.34 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.0011/0.1925, allocations: 0.7649 MB / 385.4 MB, free: 49.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.894e-05/0.1925, allocations: 16.3 kB / 385.4 MB, free: 49.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.172e-05/0.1926, allocations: 49.06 kB / 385.4 MB, free: 49.71 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.1929, allocations: 333.2 kB / 385.8 MB, free: 49.41 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.1929, allocations: 28.44 kB / 385.8 MB, free: 49.4 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.421e-05/0.193, allocations: 45.55 kB / 385.8 MB, free: 49.38 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005366/0.1935, allocations: 331.5 kB / 386.1 MB, free: 49.24 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.1935, allocations: 1.828 kB / 386.1 MB, free: 49.24 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.176e-05/0.1936, allocations: 15.53 kB / 386.2 MB, free: 49.23 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.1936, allocations: 9.453 kB / 386.2 MB, free: 49.23 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005098/0.1941, allocations: 261.2 kB / 386.4 MB, free: 49.14 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001488/0.1956, allocations: 1.121 MB / 387.6 MB, free: 48.46 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005025/0.1961, allocations: 278.8 kB / 387.8 MB, free: 48.35 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/0.1963, allocations: 115.9 kB / 387.9 MB, free: 48.31 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.1964, allocations: 11.67 kB / 387.9 MB, free: 48.3 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003537/0.1967, allocations: 171.6 kB / 388.1 MB, free: 48.21 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.683e-06/0.1967, allocations: 0 / 388.1 MB, free: 48.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.001999/0.1988, allocations: 1.211 MB / 389.3 MB, free: 47.43 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.1988, allocations: 56.66 kB / 389.4 MB, free: 47.37 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/0.1991, allocations: 349.8 kB / 389.7 MB, free: 47.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.1991, allocations: 36.45 kB / 389.8 MB, free: 47.14 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.067e-05/0.1992, allocations: 215.9 kB / 390 MB, free: 46.96 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.758e-05/0.1993, allocations: 113.9 kB / 390.1 MB, free: 46.87 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.1994, allocations: 72.3 kB / 390.2 MB, free: 46.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.682e-05/0.1994, allocations: 346.5 kB / 390.5 MB, free: 46.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000241/0.1997, allocations: 114.7 kB / 390.6 MB, free: 46.45 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/0.1999, allocations: 167.3 kB / 390.8 MB, free: 46.36 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004497/0.2004, allocations: 294.3 kB / 391.1 MB, free: 46.2 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2004, allocations: 4 kB / 391.1 MB, free: 46.19 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006129/0.201, allocations: 396.7 kB / 391.4 MB, free: 46 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.2011, allocations: 33.64 kB / 391.5 MB, free: 45.97 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2011, allocations: 1.312 kB / 391.5 MB, free: 45.97 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.2011, allocations: 11.11 kB / 391.5 MB, free: 45.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000363/0.2015, allocations: 82.81 kB / 391.6 MB, free: 45.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.2015, allocations: 3.312 kB / 391.6 MB, free: 45.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.2017, allocations: 31.52 kB / 391.6 MB, free: 45.94 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.2017, allocations: 12.61 kB / 391.6 MB, free: 45.94 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002951/0.202, allocations: 227.4 kB / 391.8 MB, free: 45.8 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002365/0.2023, allocations: 149.5 kB / 392 MB, free: 45.72 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004311/0.2027, allocations: 288 kB / 392.3 MB, free: 45.56 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.332e-06/0.2027, allocations: 0 / 392.3 MB, free: 45.56 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0005735/0.2033, allocations: 384.4 kB / 392.6 MB, free: 45.38 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.2033, allocations: 38.75 kB / 392.7 MB, free: 45.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-06/0.2033, allocations: 6.312 kB / 392.7 MB, free: 45.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.935e-06/0.2033, allocations: 1.562 kB / 392.7 MB, free: 45.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003252/0.2037, allocations: 84.23 kB / 392.8 MB, free: 45.33 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.2037, allocations: 2.562 kB / 392.8 MB, free: 45.33 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.2039, allocations: 19.22 kB / 392.8 MB, free: 45.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.2039, allocations: 20.48 kB / 392.8 MB, free: 45.31 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.045e-05/0.204, allocations: 195.7 kB / 393 MB, free: 45.12 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.262e-05/0.2041, allocations: 34.33 kB / 393 MB, free: 45.11 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000575/0.2046, allocations: 328.6 kB / 393.4 MB, free: 44.96 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.2047, allocations: 3.938 kB / 393.4 MB, free: 44.96 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2047, allocations: 0 / 393.4 MB, free: 44.96 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.2047, allocations: 6.281 kB / 393.4 MB, free: 44.95 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.2057, allocations: 0.8782 MB / 394.2 MB, free: 44.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2057, allocations: 3.656 kB / 394.2 MB, free: 44.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003498/0.2061, allocations: 74.11 kB / 394.3 MB, free: 44.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2061, allocations: 1.875 kB / 394.3 MB, free: 44.38 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.2061, allocations: 14.78 kB / 394.3 MB, free: 44.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.2061, allocations: 2.531 kB / 394.3 MB, free: 44.38 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2061, allocations: 3.391 kB / 394.3 MB, free: 44.38 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007632/0.2069, allocations: 0.5632 MB / 394.9 MB, free: 44.04 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.207, allocations: 150.2 kB / 395.1 MB, free: 43.91 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.34e-05/0.2071, allocations: 8.328 kB / 395.1 MB, free: 43.9 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.2073, allocations: 18.56 kB / 395.1 MB, free: 43.9 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-05/0.2074, allocations: 28.09 kB / 395.1 MB, free: 43.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.2074, allocations: 13.05 kB / 395.1 MB, free: 43.89 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001889/0.2076, allocations: 247.1 kB / 395.4 MB, free: 43.76 MB / 318.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.2076, allocations: 0 / 395.4 MB, free: 43.76 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004525/0.2081, allocations: 155.5 kB / 395.5 MB, free: 43.74 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 9.316e-05/0.2082, allocations: 111.7 kB / 395.6 MB, free: 43.63 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008801/0.2091, allocations: 0.5635 MB / 396.2 MB, free: 43.36 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2091, allocations: 0 / 396.2 MB, free: 43.36 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002553/0.2093, allocations: 149.2 kB / 396.3 MB, free: 43.3 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000463/0.2098, allocations: 67.91 kB / 396.4 MB, free: 43.28 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.2112, allocations: 1.017 MB / 397.4 MB, free: 42.65 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.2114, allocations: 0.805 MB / 398.2 MB, free: 41.95 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.756e-05/0.2115, allocations: 35.09 kB / 398.3 MB, free: 41.94 MB / 318.1 MB Notification: Performance of SimCode: time 1.9e-07/0.2115, allocations: 1.531 kB / 398.3 MB, free: 41.94 MB / 318.1 MB Notification: Performance of Templates: time 0.005729/0.2173, allocations: 4.575 MB / 402.8 MB, free: 40.64 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 -lv LOG_STATS > MEV_MEV.Test.TestBellJarLinearControl.pipe 2>&1)