Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestBellJarOpenLoop.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.TestBellJarOpenLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestBellJarOpenLoop") translateModel(MEV.Test.TestBellJarOpenLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestBellJarOpenLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009414/0.0009415, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001016/0.001016, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01409/0.01409, allocations: 1.924 MB / 272.3 MB, free: 3.398 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.0005725/0.0005726, allocations: 16 kB / 330.9 MB, free: 33.34 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1275, allocations: 48.1 MB / 379 MB, free: 1.195 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarOpenLoop): time 0.0045/0.1321, allocations: 3.055 MB / 382 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002122/0.1343, allocations: 0.8118 MB / 382.9 MB, free: 13.3 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000242/0.1345, allocations: 8 kB / 382.9 MB, free: 13.29 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001958/0.1347, allocations: 47.59 kB / 382.9 MB, free: 13.25 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003962/0.1352, allocations: 138.8 kB / 383 MB, free: 13.11 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003667/0.1355, allocations: 51.89 kB / 383.1 MB, free: 13.06 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004707/0.136, allocations: 394.1 kB / 383.5 MB, free: 12.67 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000295/0.1363, allocations: 97.78 kB / 383.6 MB, free: 12.58 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.1365, allocations: 119.4 kB / 383.7 MB, free: 12.46 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002703/0.1368, allocations: 143.3 kB / 383.8 MB, free: 12.32 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.377e-05/0.1368, allocations: 16 kB / 383.8 MB, free: 12.31 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.721e-05/0.1369, allocations: 16 kB / 383.9 MB, free: 12.29 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.184e-05/0.137, allocations: 59.7 kB / 383.9 MB, free: 12.23 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.563e-05/0.1371, allocations: 93.52 kB / 384 MB, free: 12.14 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003228/0.1374, allocations: 283.3 kB / 384.3 MB, free: 11.86 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.728e-06/0.1374, allocations: 0 / 384.3 MB, free: 11.86 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.1374, allocations: 0 / 384.3 MB, free: 11.86 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.1374, allocations: 0 / 384.3 MB, free: 11.86 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001031/0.1385, allocations: 0.5766 MB / 384.9 MB, free: 11.23 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/0.1385, allocations: 8.031 kB / 384.9 MB, free: 11.23 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.105e-05/0.1386, allocations: 39.53 kB / 384.9 MB, free: 11.19 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/0.139, allocations: 281.4 kB / 385.2 MB, free: 10.87 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.56e-05/0.1391, allocations: 20.56 kB / 385.2 MB, free: 10.85 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.396e-05/0.1391, allocations: 28 kB / 385.2 MB, free: 10.82 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004652/0.1396, allocations: 240.9 kB / 385.5 MB, free: 10.58 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.1396, allocations: 0 / 385.5 MB, free: 10.58 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.402e-05/0.1397, allocations: 12 kB / 385.5 MB, free: 10.57 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.1397, allocations: 4 kB / 385.5 MB, free: 10.56 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003646/0.1401, allocations: 182.2 kB / 385.7 MB, free: 10.39 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/0.1417, allocations: 0.9186 MB / 386.6 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004124/0.1421, allocations: 194.6 kB / 386.8 MB, free: 9.211 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.1423, allocations: 80.81 kB / 386.9 MB, free: 9.129 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/0.1423, allocations: 4 kB / 386.9 MB, free: 9.125 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.1423, allocations: 34.56 kB / 386.9 MB, free: 9.082 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.613e-06/0.1423, allocations: 4 kB / 386.9 MB, free: 9.078 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.001869/0.1442, allocations: 0.981 MB / 387.9 MB, free: 8.008 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.1443, allocations: 51.41 kB / 387.9 MB, free: 7.945 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003054/0.1446, allocations: 295.2 kB / 388.2 MB, free: 7.645 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.1446, allocations: 29.7 kB / 388.2 MB, free: 7.609 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.1448, allocations: 180.3 kB / 388.4 MB, free: 7.43 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.576e-05/0.1449, allocations: 86.72 kB / 388.5 MB, free: 7.344 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.274e-05/0.1449, allocations: 8 kB / 388.5 MB, free: 7.336 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002274/0.1451, allocations: 338.8 kB / 388.8 MB, free: 6.996 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.1453, allocations: 67.97 kB / 388.9 MB, free: 6.93 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.1454, allocations: 124 kB / 389 MB, free: 6.793 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.1456, allocations: 99.95 kB / 389.1 MB, free: 6.695 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.1456, allocations: 0 / 389.1 MB, free: 6.695 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004151/0.146, allocations: 265.2 kB / 389.4 MB, free: 6.43 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.478e-05/0.1461, allocations: 124.5 kB / 389.5 MB, free: 6.289 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1462, allocations: 0 / 389.5 MB, free: 6.289 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.1462, allocations: 4 kB / 389.5 MB, free: 6.285 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.1464, allocations: 59.91 kB / 389.6 MB, free: 6.227 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.1465, allocations: 8 kB / 389.6 MB, free: 6.219 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.1466, allocations: 19.89 kB / 389.6 MB, free: 6.199 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.1466, allocations: 12 kB / 389.6 MB, free: 6.188 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.831e-06/0.1467, allocations: 4 kB / 389.6 MB, free: 6.184 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003594/0.147, allocations: 207.8 kB / 389.8 MB, free: 5.98 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.147, allocations: 4 kB / 389.8 MB, free: 5.977 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.996e-06/0.147, allocations: 4.125 kB / 389.8 MB, free: 5.973 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.1473, allocations: 63.91 kB / 389.9 MB, free: 5.91 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.1473, allocations: 0 / 389.9 MB, free: 5.91 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.1474, allocations: 15.94 kB / 389.9 MB, free: 5.895 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.1474, allocations: 12 kB / 389.9 MB, free: 5.883 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (35): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002341/0.1477, allocations: 229.5 kB / 390.1 MB, free: 5.648 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.953e-05/0.1477, allocations: 27.72 kB / 390.2 MB, free: 5.621 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004539/0.1482, allocations: 235.8 kB / 390.4 MB, free: 5.387 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1482, allocations: 4 kB / 390.4 MB, free: 5.383 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1482, allocations: 0 / 390.4 MB, free: 5.383 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.1482, allocations: 7.938 kB / 390.4 MB, free: 5.375 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009855/0.1492, allocations: 0.7226 MB / 391.1 MB, free: 4.586 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.1492, allocations: 7.891 kB / 391.1 MB, free: 4.578 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000274/0.1495, allocations: 63.91 kB / 391.2 MB, free: 4.516 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.1495, allocations: 0 / 391.2 MB, free: 4.516 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.1495, allocations: 11.94 kB / 391.2 MB, free: 4.504 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.1496, allocations: 4 kB / 391.2 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1496, allocations: 0 / 391.2 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006208/0.1502, allocations: 442.5 kB / 391.6 MB, free: 4.039 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.1504, allocations: 140.7 kB / 391.8 MB, free: 3.883 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.093e-05/0.1504, allocations: 4 kB / 391.8 MB, free: 3.879 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.1506, allocations: 15.98 kB / 391.8 MB, free: 3.863 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.1506, allocations: 15.98 kB / 391.8 MB, free: 3.848 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.1507, allocations: 8 kB / 391.8 MB, free: 3.84 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002051/0.1509, allocations: 202 kB / 392 MB, free: 3.641 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1509, allocations: 0 / 392 MB, free: 3.641 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000483/0.1514, allocations: 124 kB / 392.1 MB, free: 3.52 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (bellJar.cylinder.M,bellJar.damper.s_rel,bellJar.damper.v_rel) * 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 (26): * Single equations (assignments): 26 * 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.0001474/0.1515, allocations: 103.2 kB / 392.2 MB, free: 3.406 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005826/0.1521, allocations: 308.1 kB / 392.5 MB, free: 3.105 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.1521, allocations: 4.062 kB / 392.6 MB, free: 3.102 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.1523, allocations: 99.83 kB / 392.6 MB, free: 3.004 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005184/0.1528, allocations: 44.59 kB / 392.7 MB, free: 2.961 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.1547, allocations: 1.021 MB / 393.7 MB, free: 1.91 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000539/0.1553, allocations: 0.7758 MB / 394.5 MB, free: 1.109 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001599/0.1554, allocations: 42.23 kB / 394.5 MB, free: 1.07 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.1556, allocations: 23.44 kB / 394.6 MB, free: 1.047 MB / 286.1 MB Notification: Performance of SimCode: time 9.32e-07/0.1556, allocations: 0 / 394.6 MB, free: 1.047 MB / 286.1 MB Notification: Performance of Templates: time 0.007432/0.163, allocations: 2.669 MB / 397.2 MB, free: 14.38 MB / 302.1 MB make -j1 -f MEV_MEV.Test.TestBellJarOpenLoop.makefile Environment - environmentSimulation: (rm -f MEV_MEV.Test.TestBellJarOpenLoop.pipe ; mkfifo MEV_MEV.Test.TestBellJarOpenLoop.pipe ; head -c 1048576 < MEV_MEV.Test.TestBellJarOpenLoop.pipe >> ../files/MEV_MEV.Test.TestBellJarOpenLoop.sim & ./MEV_MEV.Test.TestBellJarOpenLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestBellJarOpenLoop.pipe 2>&1) Environment - environmentSimulation: