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.001339/0.001339, allocations: 104.3 kB / 16.35 MB, free: 5.824 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.001509/0.001509, allocations: 193 kB / 17.29 MB, free: 5.48 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.325/1.325, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01051/0.01051, 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.001675/0.001675, allocations: 75.89 kB / 331.3 MB, free: 15.18 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2651, allocations: 47.11 MB / 378.4 MB, free: 53.1 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.004837/0.27, allocations: 3.674 MB / 382.1 MB, free: 51.62 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.2717, allocations: 0.9024 MB / 383 MB, free: 51.33 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002123/0.2719, allocations: 9.75 kB / 383 MB, free: 51.33 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002091/0.2721, allocations: 60.8 kB / 383 MB, free: 51.33 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.2725, allocations: 151.4 kB / 383.2 MB, free: 51.3 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004099/0.2729, allocations: 133.7 kB / 383.3 MB, free: 51.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005293/0.2734, allocations: 0.5508 MB / 383.9 MB, free: 50.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002903/0.2737, allocations: 177 kB / 384 MB, free: 50.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002463/0.274, allocations: 202 kB / 384.2 MB, free: 50.8 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002737/0.2743, allocations: 213 kB / 384.5 MB, free: 50.7 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.755e-05/0.2743, allocations: 50.09 kB / 384.5 MB, free: 50.7 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.2745, allocations: 55.36 kB / 384.6 MB, free: 50.69 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.921e-05/0.2746, allocations: 95.09 kB / 384.6 MB, free: 50.62 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00024/0.2748, allocations: 240.9 kB / 384.9 MB, free: 50.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005919/0.2754, allocations: 0.5092 MB / 385.4 MB, free: 50.25 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.2755, allocations: 2.969 kB / 385.4 MB, free: 50.25 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.093e-06/0.2755, allocations: 0 / 385.4 MB, free: 50.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.2755, allocations: 0 / 385.4 MB, free: 50.25 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.001295/0.2768, allocations: 0.7595 MB / 386.2 MB, free: 49.65 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.2768, allocations: 13.88 kB / 386.2 MB, free: 49.65 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.635e-05/0.2769, allocations: 49.25 kB / 386.2 MB, free: 49.62 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004541/0.2774, allocations: 336.8 kB / 386.5 MB, free: 49.34 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.688e-05/0.2774, allocations: 28.94 kB / 386.6 MB, free: 49.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.253e-05/0.2775, allocations: 48.73 kB / 386.6 MB, free: 49.3 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006185/0.2781, allocations: 333.4 kB / 386.9 MB, free: 49.15 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.2782, allocations: 1.156 kB / 386.9 MB, free: 49.15 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.354e-05/0.2782, allocations: 15.47 kB / 387 MB, free: 49.14 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.2782, allocations: 9.203 kB / 387 MB, free: 49.14 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005448/0.2788, allocations: 255.8 kB / 387.2 MB, free: 49.05 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.2806, allocations: 1.122 MB / 388.3 MB, free: 48.37 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005577/0.2811, allocations: 276.3 kB / 388.6 MB, free: 48.26 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002441/0.2814, allocations: 122.8 kB / 388.7 MB, free: 48.21 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.8e-05/0.2814, allocations: 3.609 kB / 388.7 MB, free: 48.21 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003465/0.2818, allocations: 169.5 kB / 388.9 MB, free: 48.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 2.224e-06/0.2818, allocations: 0 / 388.9 MB, free: 48.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.002259/0.2841, allocations: 1.212 MB / 390.1 MB, free: 47.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.2841, allocations: 61.09 kB / 390.2 MB, free: 47.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003643/0.2845, allocations: 349.5 kB / 390.5 MB, free: 47.08 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.2845, allocations: 32.45 kB / 390.5 MB, free: 47.05 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.2846, allocations: 212.5 kB / 390.8 MB, free: 46.87 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.087e-05/0.2847, allocations: 117.5 kB / 390.9 MB, free: 46.78 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.2848, allocations: 73.39 kB / 390.9 MB, free: 46.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.895e-05/0.2849, allocations: 345.4 kB / 391.3 MB, free: 46.4 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002563/0.2852, allocations: 118.6 kB / 391.4 MB, free: 46.36 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002632/0.2854, allocations: 161.8 kB / 391.6 MB, free: 46.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004835/0.2859, allocations: 289.1 kB / 391.8 MB, free: 46.11 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.2859, allocations: 3.5 kB / 391.8 MB, free: 46.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006683/0.2866, allocations: 403.2 kB / 392.2 MB, free: 45.91 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/0.2867, allocations: 38.38 kB / 392.3 MB, free: 45.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.2867, allocations: 0 / 392.3 MB, free: 45.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.2867, allocations: 3.125 kB / 392.3 MB, free: 45.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/0.2871, allocations: 87.83 kB / 392.4 MB, free: 45.87 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.2871, allocations: 2.875 kB / 392.4 MB, free: 45.87 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.2873, allocations: 22.77 kB / 392.4 MB, free: 45.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.861e-05/0.2874, allocations: 14.16 kB / 392.4 MB, free: 45.85 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003163/0.2877, allocations: 228.2 kB / 392.6 MB, free: 45.71 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002451/0.2879, allocations: 148.8 kB / 392.8 MB, free: 45.64 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004568/0.2884, allocations: 287.5 kB / 393 MB, free: 45.47 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.643e-06/0.2884, allocations: 0 / 393 MB, free: 45.47 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0006209/0.289, allocations: 392.4 kB / 393.4 MB, free: 45.28 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.2891, allocations: 34.16 kB / 393.5 MB, free: 45.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-06/0.2891, allocations: 1.312 kB / 393.5 MB, free: 45.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.488e-06/0.2891, allocations: 6.656 kB / 393.5 MB, free: 45.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003507/0.2895, allocations: 84.47 kB / 393.6 MB, free: 45.24 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.2895, allocations: 3.719 kB / 393.6 MB, free: 45.24 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/0.2897, allocations: 21.05 kB / 393.6 MB, free: 45.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.2897, allocations: 12.91 kB / 393.6 MB, free: 45.23 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 0.000111/0.2898, allocations: 203.5 kB / 393.8 MB, free: 45.03 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.906e-05/0.2899, allocations: 35.42 kB / 393.8 MB, free: 45.01 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006621/0.2906, allocations: 325 kB / 394.1 MB, free: 44.87 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.2906, allocations: 3.375 kB / 394.1 MB, free: 44.87 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.2906, allocations: 0.9375 kB / 394.1 MB, free: 44.87 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.2906, allocations: 6.188 kB / 394.1 MB, free: 44.86 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.2918, allocations: 0.8753 MB / 395 MB, free: 44.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2918, allocations: 1.188 kB / 395 MB, free: 44.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003666/0.2922, allocations: 74.84 kB / 395.1 MB, free: 44.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.2922, allocations: 2.906 kB / 395.1 MB, free: 44.3 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.2922, allocations: 10.06 kB / 395.1 MB, free: 44.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.461e-06/0.2922, allocations: 7.219 kB / 395.1 MB, free: 44.29 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.2922, allocations: 6.688 kB / 395.1 MB, free: 44.29 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008546/0.2931, allocations: 0.5622 MB / 395.7 MB, free: 43.95 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.2932, allocations: 146.9 kB / 395.8 MB, free: 43.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.335e-05/0.2933, allocations: 12.3 kB / 395.8 MB, free: 43.81 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.2935, allocations: 18.94 kB / 395.9 MB, free: 43.81 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.977e-05/0.2936, allocations: 31.3 kB / 395.9 MB, free: 43.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/0.2937, allocations: 12.86 kB / 395.9 MB, free: 43.8 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002294/0.2939, allocations: 243 kB / 396.1 MB, free: 43.67 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2939, allocations: 0 / 396.1 MB, free: 43.67 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005289/0.2944, allocations: 156.4 kB / 396.3 MB, free: 43.65 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.000138/0.2946, allocations: 106.5 kB / 396.4 MB, free: 43.55 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009399/0.2955, allocations: 0.5512 MB / 397 MB, free: 43.28 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2955, allocations: 384 / 397 MB, free: 43.28 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002847/0.2958, allocations: 148.1 kB / 397.1 MB, free: 43.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005125/0.2964, allocations: 69.5 kB / 397.2 MB, free: 43.21 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.298, allocations: 0.9748 MB / 398.1 MB, free: 42.62 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.2983, allocations: 0.812 MB / 398.9 MB, free: 41.91 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002068/0.2986, allocations: 46.91 kB / 399 MB, free: 41.91 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.725e-05/0.2986, allocations: 30.2 kB / 399 MB, free: 41.9 MB / 318.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2987, allocations: 1.281 kB / 399 MB, free: 41.9 MB / 318.1 MB Notification: Performance of Templates: time 0.00976/0.3084, allocations: 4.213 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 cvode -lv LOG_STATS > MEV_MEV.Test.TestBellJarLinearControl.pipe 2>&1)