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.001081/0.001081, allocations: 101.7 kB / 16.35 MB, free: 6.289 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.00107/0.00107, allocations: 193.4 kB / 17.29 MB, free: 5.863 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.42/1.42, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01116/0.01116, allocations: 1.935 MB / 272.5 MB, free: 10.08 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.001424/0.001424, allocations: 75.88 kB / 331.3 MB, free: 15.19 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2948, allocations: 47.11 MB / 378.4 MB, free: 53.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinder): time 0.00371/0.2985, allocations: 2.37 MB / 380.8 MB, free: 52.94 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009325/0.2995, allocations: 0.5851 MB / 381.4 MB, free: 52.71 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.2996, allocations: 6.312 kB / 381.4 MB, free: 52.71 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.2997, allocations: 28.81 kB / 381.4 MB, free: 52.71 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.2999, allocations: 60.67 kB / 381.4 MB, free: 52.7 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.3001, allocations: 47.73 kB / 381.5 MB, free: 52.67 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003166/0.3004, allocations: 247.2 kB / 381.7 MB, free: 52.61 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.3006, allocations: 54.62 kB / 381.8 MB, free: 52.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.3007, allocations: 83.44 kB / 381.9 MB, free: 52.56 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.3009, allocations: 91.05 kB / 382 MB, free: 52.52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.674e-05/0.301, allocations: 16.62 kB / 382 MB, free: 52.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.686e-05/0.301, allocations: 16.06 kB / 382 MB, free: 52.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.148e-05/0.3011, allocations: 34.11 kB / 382 MB, free: 52.49 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.3012, allocations: 109.7 kB / 382.1 MB, free: 52.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.3014, allocations: 194.2 kB / 382.3 MB, free: 52.35 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3015, allocations: 1.594 kB / 382.3 MB, free: 52.35 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3015, allocations: 0 / 382.3 MB, free: 52.35 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.3015, allocations: 0 / 382.3 MB, free: 52.35 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.0007279/0.3022, allocations: 0.4936 MB / 382.8 MB, free: 51.91 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.3023, allocations: 12.55 kB / 382.8 MB, free: 51.9 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.744e-05/0.3023, allocations: 25.08 kB / 382.9 MB, free: 51.89 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.3026, allocations: 220.1 kB / 383.1 MB, free: 51.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.3026, allocations: 10.73 kB / 383.1 MB, free: 51.66 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/0.3027, allocations: 23.25 kB / 383.1 MB, free: 51.65 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003304/0.303, allocations: 152.9 kB / 383.2 MB, free: 51.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.303, allocations: 3.094 kB / 383.3 MB, free: 51.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.303, allocations: 6.219 kB / 383.3 MB, free: 51.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.3031, allocations: 6.906 kB / 383.3 MB, free: 51.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002684/0.3033, allocations: 115.7 kB / 383.4 MB, free: 51.54 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009401/0.3043, allocations: 0.5405 MB / 383.9 MB, free: 51.15 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002244/0.3045, allocations: 106.4 kB / 384 MB, free: 51.1 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.3047, allocations: 54.53 kB / 384.1 MB, free: 51.07 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.3047, allocations: 2.156 kB / 384.1 MB, free: 51.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.885e-05/0.3047, allocations: 39.09 kB / 384.1 MB, free: 51.03 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.3047, allocations: 0 / 384.1 MB, free: 51.03 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001756/0.3065, allocations: 0.6165 MB / 384.7 MB, free: 50.64 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.3065, allocations: 54.16 kB / 384.8 MB, free: 50.58 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.3068, allocations: 199.6 kB / 385 MB, free: 50.45 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.3068, allocations: 26.77 kB / 385 MB, free: 50.41 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.56e-05/0.3069, allocations: 131 kB / 385.1 MB, free: 50.3 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.434e-05/0.3069, allocations: 67.66 kB / 385.2 MB, free: 50.24 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.295e-05/0.307, allocations: 37.11 kB / 385.2 MB, free: 50.21 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.015e-05/0.3071, allocations: 327.6 kB / 385.6 MB, free: 49.89 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.3072, allocations: 50.62 kB / 385.6 MB, free: 49.88 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.3074, allocations: 64.64 kB / 385.7 MB, free: 49.85 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.3076, allocations: 133.9 kB / 385.8 MB, free: 49.78 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3076, allocations: 0 / 385.8 MB, free: 49.78 MB / 318.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003382/0.308, allocations: 168.3 kB / 386 MB, free: 49.71 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.308, allocations: 5.5 kB / 386 MB, free: 49.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.308, allocations: 0.6094 kB / 386 MB, free: 49.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.3081, allocations: 6.062 kB / 386 MB, free: 49.7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.3083, allocations: 48.5 kB / 386 MB, free: 49.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.3083, allocations: 3.141 kB / 386 MB, free: 49.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.609e-05/0.3084, allocations: 6.047 kB / 386 MB, free: 49.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.3084, allocations: 7.625 kB / 386 MB, free: 49.69 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 0.0001159/0.3085, allocations: 129.5 kB / 386.2 MB, free: 49.57 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.723e-05/0.3086, allocations: 22.16 kB / 386.2 MB, free: 49.55 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.256e-05/0.3087, allocations: 25.08 kB / 386.2 MB, free: 49.54 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.3087, allocations: 6.406 kB / 386.2 MB, free: 49.53 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.3087, allocations: 4 kB / 386.2 MB, free: 49.53 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.3087, allocations: 2.469 kB / 386.2 MB, free: 49.53 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008256/0.3095, allocations: 0.5847 MB / 386.8 MB, free: 49.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.3096, allocations: 4.625 kB / 386.8 MB, free: 49.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.3098, allocations: 41.25 kB / 386.9 MB, free: 49.06 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.265e-06/0.3098, allocations: 4.109 kB / 386.9 MB, free: 49.06 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.3098, allocations: 4.156 kB / 386.9 MB, free: 49.06 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.3098, allocations: 5.516 kB / 386.9 MB, free: 49.06 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.3098, allocations: 2.125 kB / 386.9 MB, free: 49.06 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005211/0.3103, allocations: 386.8 kB / 387.2 MB, free: 48.78 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.317e-05/0.3104, allocations: 110.2 kB / 387.4 MB, free: 48.67 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.3105, allocations: 8.266 kB / 387.4 MB, free: 48.67 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.3106, allocations: 15.8 kB / 387.4 MB, free: 48.66 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.969e-05/0.3107, allocations: 23.67 kB / 387.4 MB, free: 48.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.3107, allocations: 5.562 kB / 387.4 MB, free: 48.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001249/0.3109, allocations: 151.8 kB / 387.6 MB, free: 48.55 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3109, allocations: 0 / 387.6 MB, free: 48.55 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002902/0.3112, allocations: 39.59 kB / 387.6 MB, free: 48.55 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 0.0001028/0.3113, allocations: 98.67 kB / 387.7 MB, free: 48.46 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000316/0.3116, allocations: 131 kB / 387.8 MB, free: 48.43 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3116, allocations: 0 / 387.8 MB, free: 48.43 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.3118, allocations: 72.64 kB / 387.9 MB, free: 48.41 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.3121, allocations: 30.09 kB / 387.9 MB, free: 48.4 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008357/0.313, allocations: 0.5019 MB / 388.4 MB, free: 48.04 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.3132, allocations: 0.7305 MB / 389.2 MB, free: 47.35 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.58e-05/0.3133, allocations: 17.41 kB / 389.2 MB, free: 47.34 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5e-05/0.3133, allocations: 16.97 kB / 389.2 MB, free: 47.34 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3133, allocations: 0 / 389.2 MB, free: 47.34 MB / 318.1 MB Notification: Performance of Templates: time 0.005205/0.3185, allocations: 1.59 MB / 390.8 MB, free: 47.25 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 cvode -lv LOG_STATS > MEV_MEV.Test.TestCylinder.pipe 2>&1)