Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestCylinder.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.TestCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=166,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinder") translateModel(MEV.Test.TestCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=166,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 115 kB / 16.37 MB, free: 6.016 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.001721/0.001721, allocations: 193.2 kB / 17.31 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.056/2.056, allocations: 205.1 MB / 223.2 MB, free: 12.13 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01264/0.01264, allocations: 1.936 MB / 272.5 MB, free: 10.07 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.001509/0.001509, allocations: 71.89 kB / 331.3 MB, free: 15.18 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2902, allocations: 47.11 MB / 378.4 MB, free: 53.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinder): time 0.003251/0.2935, allocations: 2.37 MB / 380.8 MB, free: 52.29 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008585/0.2944, allocations: 0.5805 MB / 381.4 MB, free: 52.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.2945, allocations: 2.844 kB / 381.4 MB, free: 52.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001302/0.2947, allocations: 35.09 kB / 381.4 MB, free: 52.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.2948, allocations: 68.3 kB / 381.5 MB, free: 52.05 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001379/0.2949, allocations: 44.97 kB / 381.5 MB, free: 52.05 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.2952, allocations: 239.5 kB / 381.7 MB, free: 52.04 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.2954, allocations: 60.16 kB / 381.8 MB, free: 52.04 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.935e-05/0.2955, allocations: 84.62 kB / 381.9 MB, free: 52.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.2956, allocations: 90.22 kB / 382 MB, free: 52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.2e-05/0.2957, allocations: 19.78 kB / 382 MB, free: 52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.308e-05/0.2957, allocations: 14.22 kB / 382 MB, free: 52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.792e-05/0.2958, allocations: 35.86 kB / 382 MB, free: 51.99 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.446e-05/0.2959, allocations: 103.6 kB / 382.1 MB, free: 51.96 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.2961, allocations: 191.5 kB / 382.3 MB, free: 51.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2961, allocations: 0.75 kB / 382.3 MB, free: 51.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2961, allocations: 0 / 382.3 MB, free: 51.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.2961, allocations: 2.188 kB / 382.3 MB, free: 51.93 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006345/0.2968, allocations: 0.4949 MB / 382.8 MB, free: 51.51 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.2968, allocations: 13.3 kB / 382.8 MB, free: 51.51 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.194e-05/0.2969, allocations: 23.78 kB / 382.9 MB, free: 51.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.2971, allocations: 222.8 kB / 383.1 MB, free: 51.28 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.2972, allocations: 19.27 kB / 383.1 MB, free: 51.28 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.766e-05/0.2972, allocations: 18.22 kB / 383.1 MB, free: 51.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/0.2975, allocations: 153.7 kB / 383.3 MB, free: 51.24 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.2975, allocations: 0.5625 kB / 383.3 MB, free: 51.24 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.2975, allocations: 8.188 kB / 383.3 MB, free: 51.24 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.2976, allocations: 4 kB / 383.3 MB, free: 51.24 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002496/0.2978, allocations: 115.2 kB / 383.4 MB, free: 51.23 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008467/0.2987, allocations: 0.5504 MB / 383.9 MB, free: 50.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.2989, allocations: 104.2 kB / 384 MB, free: 50.79 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.299, allocations: 55.44 kB / 384.1 MB, free: 50.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.299, allocations: 5.766 kB / 384.1 MB, free: 50.76 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.299, allocations: 31.78 kB / 384.1 MB, free: 50.72 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.299, allocations: 1.25 kB / 384.1 MB, free: 50.72 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001599/0.3006, allocations: 0.6138 MB / 384.7 MB, free: 50.33 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.3007, allocations: 54.72 kB / 384.8 MB, free: 50.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.3009, allocations: 203.1 kB / 385 MB, free: 50.13 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.3009, allocations: 26.86 kB / 385 MB, free: 50.1 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.49e-05/0.3009, allocations: 126.7 kB / 385.1 MB, free: 49.99 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/0.301, allocations: 63.64 kB / 385.2 MB, free: 49.94 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-05/0.301, allocations: 36.25 kB / 385.2 MB, free: 49.91 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.428e-05/0.3011, allocations: 327.6 kB / 385.6 MB, free: 49.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.3012, allocations: 48.52 kB / 385.6 MB, free: 49.57 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.3013, allocations: 67.52 kB / 385.7 MB, free: 49.54 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.3016, allocations: 130.5 kB / 385.8 MB, free: 49.48 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3016, allocations: 0.7031 kB / 385.8 MB, free: 49.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002894/0.3019, allocations: 170 kB / 386 MB, free: 49.4 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.3019, allocations: 4.906 kB / 386 MB, free: 49.4 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3019, allocations: 2.203 kB / 386 MB, free: 49.4 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.3019, allocations: 5.281 kB / 386 MB, free: 49.4 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.3021, allocations: 45.33 kB / 386 MB, free: 49.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3021, allocations: 6.016 kB / 386 MB, free: 49.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.045e-05/0.3022, allocations: 6.484 kB / 386 MB, free: 49.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.3023, allocations: 9.844 kB / 386.1 MB, free: 49.39 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (20): * Single equations (assignments): 20 * 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 8.114e-05/0.3023, allocations: 127.5 kB / 386.2 MB, free: 49.26 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.3024, allocations: 24.34 kB / 386.2 MB, free: 49.25 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.366e-05/0.3024, allocations: 26.8 kB / 386.2 MB, free: 49.23 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.3025, allocations: 6.219 kB / 386.2 MB, free: 49.22 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.3025, allocations: 0 / 386.2 MB, free: 49.22 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.3025, allocations: 6.266 kB / 386.2 MB, free: 49.22 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007076/0.3032, allocations: 0.5847 MB / 386.8 MB, free: 48.76 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.3032, allocations: 2.344 kB / 386.8 MB, free: 48.76 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.3034, allocations: 44.23 kB / 386.9 MB, free: 48.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.3034, allocations: 5.188 kB / 386.9 MB, free: 48.75 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.3034, allocations: 3.312 kB / 386.9 MB, free: 48.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.3034, allocations: 4.031 kB / 386.9 MB, free: 48.75 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.3034, allocations: 3.5 kB / 386.9 MB, free: 48.75 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004368/0.3039, allocations: 377.6 kB / 387.3 MB, free: 48.48 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.215e-05/0.304, allocations: 112 kB / 387.4 MB, free: 48.37 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.304, allocations: 3.906 kB / 387.4 MB, free: 48.37 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.3042, allocations: 16.53 kB / 387.4 MB, free: 48.36 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.3042, allocations: 21.91 kB / 387.4 MB, free: 48.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.3043, allocations: 6.375 kB / 387.4 MB, free: 48.36 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000109/0.3044, allocations: 148.4 kB / 387.6 MB, free: 48.26 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3044, allocations: 5.594 kB / 387.6 MB, free: 48.25 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000278/0.3047, allocations: 39.09 kB / 387.6 MB, free: 48.25 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 1 (cylinder.y) * 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 (17): * Single equations (assignments): 17 * 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 8.306e-05/0.3047, allocations: 98.53 kB / 387.7 MB, free: 48.16 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003032/0.3051, allocations: 132.3 kB / 387.8 MB, free: 48.12 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3051, allocations: 0 / 387.8 MB, free: 48.12 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.3052, allocations: 71.17 kB / 387.9 MB, free: 48.11 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.3056, allocations: 27.75 kB / 387.9 MB, free: 48.1 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007746/0.3064, allocations: 0.5031 MB / 388.4 MB, free: 47.74 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001855/0.3066, allocations: 0.7324 MB / 389.2 MB, free: 47.05 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.363e-05/0.3066, allocations: 22.55 kB / 389.2 MB, free: 47.04 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.307e-05/0.3067, allocations: 15.78 kB / 389.2 MB, free: 47.04 MB / 318.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3067, allocations: 0 / 389.2 MB, free: 47.04 MB / 318.1 MB Notification: Performance of Templates: time 0.004671/0.3114, allocations: 1.59 MB / 390.8 MB, free: 46.95 MB / 318.1 MB make -j1 -f MEV_MEV.Test.TestCylinder.makefile (rm -f MEV_MEV.Test.TestCylinder.pipe ; mkfifo MEV_MEV.Test.TestCylinder.pipe ; head -c 1048576 < MEV_MEV.Test.TestCylinder.pipe >> ../files/MEV_MEV.Test.TestCylinder.sim & ./MEV_MEV.Test.TestCylinder -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > MEV_MEV.Test.TestCylinder.pipe 2>&1)